|
1 | 1 | # CHANGELOG |
2 | 2 |
|
| 3 | +- 0.12.0.0 (2020-10-02) |
| 4 | + * Use ghc-lib-parser rather than haskell-src-exts |
| 5 | + |
| 6 | + This patch swaps out the parsing library from `haskell-src-exts` to |
| 7 | + `ghc-lib-parser`, which gives us better compatibility with GHC. |
| 8 | + |
| 9 | + Because almost every module heavily used the Haskell AST provided by |
| 10 | + `haskell-src-exts`, this was a huge effort and it would not have been |
| 11 | + possible without Felix Mulder doing an initial port, GSoC student |
| 12 | + Beatrice Vergani porting several other steps, and Łukasz Gołębiewski and |
| 13 | + Paweł Szulc who helped me finish up things in the home stretch. |
| 14 | + |
| 15 | + I've generally tried to keep styling 100% compatible with what was there |
| 16 | + before, but some issues may have unintentionally slipped in so please |
| 17 | + report those. |
| 18 | + |
| 19 | + This introduces one new import styling contributed by Felix: when |
| 20 | + wrapping import lists over multiple lines, you can repeat the module |
| 21 | + name, e.g.: |
| 22 | + |
| 23 | + import Control.Monad.Except as X (ExceptT (..), MonadError (..)) |
| 24 | + import Control.Monad.Except as X (runExceptT, withExceptT) |
| 25 | + |
| 26 | + This is activated by using `import_align: repeat`. |
| 27 | + |
| 28 | + Secondly, a new Step was added, `module_header`, which formats the |
| 29 | + export list of a module, including the trailing `where` clause. Details |
| 30 | + for this new step can be found in the `data/stylish-haskell.yaml`. |
| 31 | + |
| 32 | + * Remove `semigroup` dependency for GHC >= 8.0 |
| 33 | + * Bump `strict` upper bound to 0.4 |
| 34 | + * Bump `Cabal` upper bound to 3.3 for test suite |
| 35 | + |
3 | 36 | - 0.11.0.3 (2020-08-02) |
4 | 37 | * Set default-language to Haskell2010 |
5 | 38 |
|
|
0 commit comments