on 0.0.4.0 help sign in
ormolu/CHANGELOG.md
113 lines 4.6 kB history raw
1## Ormolu 0.0.4.0
3* When given several files to format, Ormolu does not stop on the first
4 failure, but tries to format all the files. [Issue
5 502](https://github.com/tweag/ormolu/issues/502).
7* Made rendering of pattern matches involving operators consistent with
8 other cases of rendering of operators. [Issue
9 500](https://github.com/tweag/ormolu/issues/500).
11* More compact rendering of type family injectivity constraints. [Issue
12 482](https://github.com/tweag/ormolu/issues/482).
14* Improved rendering of the keyword `where` in class, data, and type family
15 declarations. When headers of these declarations are multi-line `where` is
16 now put on its own line. [Issue
17 509](https://github.com/tweag/ormolu/issues/509).
19* Fixed the bug pertaining to rendering of arrow notation with multiline
20 expressions. [Issue 513](https://github.com/tweag/ormolu/issues/513).
22* Made rendering of data type definitions, value-level applications, and
23 application of types use the same style. Moreover, existential now doesn't
24 cause the data constructor be unconditionally rendered in multiline
25 layout. [Issue 427](https://github.com/tweag/ormolu/issues/427).
27* Records with a single data constructor are now formatted more compactly.
28 [Issue 425](https://github.com/tweag/ormolu/issues/425).
30* Switched to `ghc-lib-parser-8.10.1`.
32* Implemented support for the new language extensions `ImportQualifiedPost`
33 and `StandaloneKindSignatures`.
35## Ormolu 0.0.3.1
37* Fixed rendering of record updates with the record dot preprocessor syntax
38 [Issue 498](https://github.com/tweag/ormolu/issues/498).
40## Ormolu 0.0.3.0
42* Fixed an issue related to unnecessary use of curly braces. [Issue
43 473](https://github.com/tweag/ormolu/issues/473).
45* Fixed the issue with formatting multi-way if when it happens to be a
46 function applied to arguments [Issue
47 488](https://github.com/tweag/ormolu/issues/488). This changed the way
48 multi-line if is formatted in general.
50* Added support for record dot pre-processor when used via the plugin.
51 [Issue 486](https://github.com/tweag/ormolu/issues/486).
53* Stopped hanging record constructors and improved placing
54 potentially-hanging consturctions in the presence of comments. [Issue
55 447](https://github.com/tweag/ormolu/issues/447).
57* Fixed indentation in presence of type applications. [Issue
58 493](https://github.com/tweag/ormolu/issues/493).
60* Class and instance declarations now do not have a blank line after
61 `where`. Grouping of methods from the original input is also preserved
62 with some normalizations. [Issue
63 431](https://github.com/tweag/ormolu/issues/431).
65## Ormolu 0.0.2.0
67* Switched to `ghc-lib-parser` instead of depending on the `ghc` package
68 directly. This should allow us to use newest features of GHC while not
69 necessarily depending on the newest version of the compiler. In addition
70 to that Ormolu is now GHCJS-compatible.
72* Now unrecognized GHC options passed with `--ghc-opt` cause Ormolu to fail
73 (exit code 7).
75* Fixed formatting of result type in closed type families. See [issue
76 420](https://github.com/tweag/ormolu/issues/420).
78* Fixed a minor inconsistency between formatting of normal and foreign type
79 signatures. See [issue 408](https://github.com/tweag/ormolu/issues/408).
81* Fixed a bug when comment before module header with Haddock was moved
82 inside the export list. See [issue
83 430](https://github.com/tweag/ormolu/issues/430).
85* Empty `forall`s are now correctly preserved. See [issue
86 429](https://github.com/tweag/ormolu/issues/429).
88* Fixed [issue 446](https://github.com/tweag/ormolu/issues/446), which
89 involved braces and operators.
91* When there are comments between preceding Haddock (pipe-style) and its
92 corresponding declaration they are preserved like this in the output
93 instead of being shifted. To be clear, this is not a very good idea to
94 have comments in that position because the Haddock will end up not being
95 associated with the declarations. Issues
96 [440](https://github.com/tweag/ormolu/issues/440) and
97 [448](https://github.com/tweag/ormolu/issues/448).
99* Implemented correct handling of shebangs. [Issue
100 377](https://github.com/tweag/ormolu/issues/377).
102* Implemented correct handling of stack headers. [Issue
103 393](https://github.com/tweag/ormolu/issues/393).
105* Sorting language pragmas cannot not change meaning of the input program
106 anymore. [Issue 404](https://github.com/tweag/ormolu/issues/404).
108* Fixed formatting of applications where function is a complex expression.
109 [Issue 444](https://github.com/tweag/ormolu/issues/444).
111## Ormolu 0.0.1.0
113* Initial release.