summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJasper Van der Jeugt <m@jaspervdj.be>2020-10-02 13:27:37 +0200
committerJasper Van der Jeugt <m@jaspervdj.be>2020-10-02 13:27:37 +0200
commita5bc07f7121244880e161153fea8d546788202a2 (patch)
tree662b2b427032b761cd787d848f90972db4ab805c
parent250e7091edd93ce5a476706ddd968ef3ec1ef336 (diff)
downloadstylish-haskell-a5bc07f7121244880e161153fea8d546788202a2.tar.gz
Bump version to 0.12.0.0v0.12.0.0
-rw-r--r--CHANGELOG33
-rw-r--r--stylish-haskell.cabal2
2 files changed, 34 insertions, 1 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 56faa64..2981385 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,5 +1,38 @@
# CHANGELOG
+- 0.12.0.0 (2020-10-02)
+ * Use ghc-lib-parser rather than haskell-src-exts
+
+ This patch swaps out the parsing library from `haskell-src-exts` to
+ `ghc-lib-parser`, which gives us better compatibility with GHC.
+
+ Because almost every module heavily used the Haskell AST provided by
+ `haskell-src-exts`, this was a huge effort and it would not have been
+ possible without Felix Mulder doing an initial port, GSoC student
+ Beatrice Vergani porting several other steps, and Łukasz Gołębiewski and
+ Paweł Szulc who helped me finish up things in the home stretch.
+
+ I've generally tried to keep styling 100% compatible with what was there
+ before, but some issues may have unintentionally slipped in so please
+ report those.
+
+ This introduces one new import styling contributed by Felix: when
+ wrapping import lists over multiple lines, you can repeat the module
+ name, e.g.:
+
+ import Control.Monad.Except as X (ExceptT (..), MonadError (..))
+ import Control.Monad.Except as X (runExceptT, withExceptT)
+
+ This is activated by using `import_align: repeat`.
+
+ Secondly, a new Step was added, `module_header`, which formats the
+ export list of a module, including the trailing `where` clause. Details
+ for this new step can be found in the `data/stylish-haskell.yaml`.
+
+ * Remove `semigroup` dependency for GHC >= 8.0
+ * Bump `strict` upper bound to 0.4
+ * Bump `Cabal` upper bound to 3.3 for test suite
+
- 0.11.0.3 (2020-08-02)
* Set default-language to Haskell2010
diff --git a/stylish-haskell.cabal b/stylish-haskell.cabal
index cb1f6a1..ebce872 100644
--- a/stylish-haskell.cabal
+++ b/stylish-haskell.cabal
@@ -1,5 +1,5 @@
Name: stylish-haskell
-Version: 0.11.0.3
+Version: 0.12.0.0
Synopsis: Haskell code prettifier
Homepage: https://github.com/jaspervdj/stylish-haskell
License: BSD3