Skip to content

Commit a5bc07f

Browse files
committed
Bump version to 0.12.0.0
1 parent 250e709 commit a5bc07f

File tree

2 files changed

+34
-1
lines changed

2 files changed

+34
-1
lines changed

CHANGELOG

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,38 @@
11
# CHANGELOG
22

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+
336
- 0.11.0.3 (2020-08-02)
437
* Set default-language to Haskell2010
538

stylish-haskell.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Name: stylish-haskell
2-
Version: 0.11.0.3
2+
Version: 0.12.0.0
33
Synopsis: Haskell code prettifier
44
Homepage: https://github.com/jaspervdj/stylish-haskell
55
License: BSD3

0 commit comments

Comments
 (0)