|
1 | | -## unreleased |
| 1 | +# Changelog |
| 2 | + |
| 3 | +Items marked with an asterisk (`*`) are changes that are likely to format |
| 4 | +existing code differently from the previous release when using the default |
| 5 | +profile. This started with version 0.26.0. |
| 6 | + |
| 7 | +## 0.26.0 (2023-07-18) |
2 | 8 |
|
3 | 9 | ### Removed |
4 | 10 |
|
|
8 | 14 |
|
9 | 15 | ### Bug fixes |
10 | 16 |
|
11 | | -- Fix crash due to `let f (type a) :> a M.u = ..` (#2399, @Julow) |
12 | | -- Fix crash due to `module T = (val (x : (module S)))` (#2370, @Julow) |
| 17 | +- Fix crash caused by `let f (type a) :> a M.u = ..` (#2399, @Julow) |
| 18 | +- Fix crash caused by `module T = (val (x : (module S)))` (#2370, @Julow) |
13 | 19 | - Fix invalid formatting of `then begin end` (#2369, @Julow) |
14 | 20 | - Protect match after `fun _ : _ ->` (#2352, @Julow) |
15 | 21 | - Fix invalid formatting of `(::)` (#2347, @Julow) |
16 | | -- Fix formatting of string literals in code blocks (#2338, #2349, @Julow) |
17 | | -- Improve formatting of module arguments (#2322, @Julow) |
18 | | -- Consistent indentation of `@@ let+ x = ...` (#2315, #2396, @Julow) |
19 | | -- Remove double parenthesis around tuple in a match (#2308, @Julow) |
20 | | -- Consistent indentation of `fun (type a) ->` that follow `fun x ->` (#2294, @Julow) |
21 | | -- Improve indentation of `~label:(fun` (#2271, #2291, #2293, #2298, #2398, @Julow) |
22 | | -- Fix non-stabilizing comments attached to private/virtual/mutable keywords (#2272, #2307, @gpetiot, @Julow) |
23 | | -- Fix formatting of comments in "disable" chunks (#2279, @gpetiot) |
| 22 | +- Fix indentation of module-expr extensions (#2323, @gpetiot) |
| 23 | +* Remove double parentheses around tuples in a match (#2308, @Julow) |
| 24 | +* Remove extra parentheses around module packs (#2305, @Julow, @gpetiot) |
24 | 25 | - Fix indentation of trailing double-semicolons (#2295, @gpetiot) |
25 | | -- Remove extra parentheses around module packs (#2305, @Julow, @gpetiot) |
26 | | -- Fix identation of module-expr extensions (#2323, @gpetiot) |
27 | | -- Don't print warnings related to odoc code-blocks when '--quiet' is set (#2336, @gpetiot) |
| 26 | +- Fix formatting of comments in "disable" chunks (#2279, @gpetiot) |
| 27 | +- Fix non-stabilizing comments attached to private/virtual/mutable keywords (#2272, #2307, @gpetiot, @Julow) |
28 | 28 |
|
29 | 29 | ### Changes |
30 | 30 |
|
31 | | -- Improve formatting of doc-comments (#2376, #2377, #2379, #2378, @Julow) |
32 | | -- Disable reporting of deprecated alerts while formatting code blocks (#2373, @Julow) |
33 | | -- Improve indentation of `as`-patterns (#2359, @Julow) |
34 | | -- Restore short form for first-class modules: `((module M) : (module S))` is formatted as `(module M : S)`) (#2280, #2300, @gpetiot, @Julow) |
35 | | -- Restore short form formatting of record field aliases (#2282, #2388, @gpetiot, @Julow) |
36 | | -- Tweaks the JaneStreet profile to be more consistent with ocp-indent (#2214, #2281, #2284, #2289, #2299, #2302, #2309, #2310, #2311, #2313, #2316, #2362, #2363, @gpetiot, @Julow) |
37 | | -- Improve formatting of class signatures (#2301, #2387, @gpetiot, @Julow) |
| 31 | +- Improve formatting of doc-comments (#2338, #2349, #2376, #2377, #2379, #2378, @Julow) |
| 32 | + Remove unnecessary escaping and preserve empty lines. |
| 33 | +* Indent `as`-patterns that have parentheses (#2359, @Julow) |
| 34 | +- Don't print warnings related to odoc code-blocks when '--quiet' is set (#2336, #2373, @gpetiot, @Julow) |
| 35 | +* Improve formatting of module arguments (#2322, @Julow) |
| 36 | +* Don't indent attributes after a let/val/external (#2317, @Julow) |
| 37 | +- Consistent indentation of `@@ let+ x = ...` (#2315, #2396, @Julow) |
| 38 | + It was formatted differently than `@@ let x = ...`. |
| 39 | +* Improve formatting of class expressions and signatures (#2301, #2328, #2387, @gpetiot, @Julow) |
| 40 | +* Consistent indentation of `fun (type a) ->` following `fun x ->` (#2294, @Julow) |
| 41 | +* Restore short-form formatting of record field aliases (#2282, #2388, @gpetiot, @Julow) |
| 42 | +* Restore short-form for first-class modules: `((module M) : (module S))` is formatted as `(module M : S)`) (#2280, #2300, @gpetiot, @Julow) |
| 43 | +* Improve indentation of `~label:(fun ...` (#2271, #2291, #2293, #2298, #2398, @Julow) |
| 44 | + The `fun` keyword is docked where possible and the arguments are indented to avoid confusion with the body. |
38 | 45 | - JaneStreet profile: treat comments as doc-comments (#2261, #2344, #2354, #2365, #2392, @gpetiot, @Julow) |
39 | | -- Don't indent attributes after a let/val/external (#2317, @Julow) |
40 | | -- Adjust indentation of class-expr function body (#2328, @gpetiot) |
| 46 | +- Tweaks the JaneStreet profile to be more consistent with ocp-indent (#2214, #2281, #2284, #2289, #2299, #2302, #2309, #2310, #2311, #2313, #2316, #2362, #2363, @gpetiot, @Julow) |
41 | 47 |
|
42 | 48 | ### New features |
43 | 49 |
|
|
0 commit comments