From 7c4fa9de2accb0a617a8a930df3655086eed147b Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Sun, 2 Aug 2020 14:26:21 +0200 Subject: Bump version to 0.11.0.1 --- CHANGELOG | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'CHANGELOG') diff --git a/CHANGELOG b/CHANGELOG index fe2cc55..fc88a93 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,9 @@ # CHANGELOG +- 0.11.0.1 + * Bump `aeson` upper bound to 1.6 + * Bump `Cabal` upper bound to 3.3 + - 0.11.0.0 (2020-02-24) * Disable record formatting by default * Allow more customization for record formatting (by Maxim Koltsov) -- cgit v1.2.3 From 1e2496d8c385db37de26f1bec36fc6bbb12d1885 Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Sun, 2 Aug 2020 14:27:13 +0200 Subject: Bump CHANGELOG --- CHANGELOG | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CHANGELOG') diff --git a/CHANGELOG b/CHANGELOG index fc88a93..bcfbd31 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,6 @@ # CHANGELOG -- 0.11.0.1 +- 0.11.0.1 (2020-08-02) * Bump `aeson` upper bound to 1.6 * Bump `Cabal` upper bound to 3.3 -- cgit v1.2.3 From 736b55605da51919bfea07028c077c1a426375ec Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Sun, 2 Aug 2020 14:29:50 +0200 Subject: Bump version to 0.11.0.2 --- CHANGELOG | 3 +++ stylish-haskell.cabal | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'CHANGELOG') diff --git a/CHANGELOG b/CHANGELOG index bcfbd31..79487a0 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,8 @@ # CHANGELOG +- 0.11.0.2 (2020-08-02) + * Bump `Cabal-version` to 1.10 + - 0.11.0.1 (2020-08-02) * Bump `aeson` upper bound to 1.6 * Bump `Cabal` upper bound to 3.3 diff --git a/stylish-haskell.cabal b/stylish-haskell.cabal index 07dfca7..4b88958 100644 --- a/stylish-haskell.cabal +++ b/stylish-haskell.cabal @@ -1,5 +1,5 @@ Name: stylish-haskell -Version: 0.11.0.1 +Version: 0.11.0.2 Synopsis: Haskell code prettifier Homepage: https://github.com/jaspervdj/stylish-haskell License: BSD3 -- cgit v1.2.3 From 771b82f3c4af465a2f2b675ca9a28d18d3a27c1b Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Sun, 2 Aug 2020 14:33:19 +0200 Subject: Bump version to 0.11.0.3 --- CHANGELOG | 3 +++ stylish-haskell.cabal | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'CHANGELOG') diff --git a/CHANGELOG b/CHANGELOG index 79487a0..56faa64 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,8 @@ # CHANGELOG +- 0.11.0.3 (2020-08-02) + * Set default-language to Haskell2010 + - 0.11.0.2 (2020-08-02) * Bump `Cabal-version` to 1.10 diff --git a/stylish-haskell.cabal b/stylish-haskell.cabal index fa779a0..4030547 100644 --- a/stylish-haskell.cabal +++ b/stylish-haskell.cabal @@ -1,5 +1,5 @@ Name: stylish-haskell -Version: 0.11.0.2 +Version: 0.11.0.3 Synopsis: Haskell code prettifier Homepage: https://github.com/jaspervdj/stylish-haskell License: BSD3 -- cgit v1.2.3 From a5bc07f7121244880e161153fea8d546788202a2 Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Fri, 2 Oct 2020 13:27:37 +0200 Subject: Bump version to 0.12.0.0 --- CHANGELOG | 33 +++++++++++++++++++++++++++++++++ stylish-haskell.cabal | 2 +- 2 files changed, 34 insertions(+), 1 deletion(-) (limited to 'CHANGELOG') 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 -- cgit v1.2.3 From 8d00bd6a7ecaddf626844dd59eddcb25ea768090 Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Mon, 5 Oct 2020 12:54:50 +0200 Subject: Bump version to 0.12.1.0 --- CHANGELOG | 4 ++++ stylish-haskell.cabal | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'CHANGELOG') diff --git a/CHANGELOG b/CHANGELOG index 2981385..602ce10 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,9 @@ # CHANGELOG +- 0.12.1.0 (2020-10-05) + * Bump Cabal-version to 2.4 (by Łukasz Gołębiewski) + * Fix "group" import sort with multi-line imports (by Maxim Koltsov) + - 0.12.0.0 (2020-10-02) * Use ghc-lib-parser rather than haskell-src-exts diff --git a/stylish-haskell.cabal b/stylish-haskell.cabal index 05b9634..9109c61 100644 --- a/stylish-haskell.cabal +++ b/stylish-haskell.cabal @@ -1,6 +1,6 @@ Cabal-version: 2.4 Name: stylish-haskell -Version: 0.12.0.0 +Version: 0.12.1.0 Synopsis: Haskell code prettifier Homepage: https://github.com/jaspervdj/stylish-haskell License: BSD-3-Clause -- cgit v1.2.3 From 84770e33bb6286c163c3b2b10fa98d264f6672b8 Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Thu, 8 Oct 2020 14:47:59 +0200 Subject: Bump version to 0.12.2.0 --- CHANGELOG | 8 ++++++++ stylish-haskell.cabal | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'CHANGELOG') diff --git a/CHANGELOG b/CHANGELOG index 602ce10..8561b5c 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,13 @@ # CHANGELOG +- 0.12.2.0 (2020-10-08) + * align: Add a new option for aligning only adjacent items (by 1Computer1) + * align: Add support for aligning MultiWayIf syntax (by 1Computer1) + * data: Fix some issues with record field padding + * module_header: Add separate_lists option + * imports: Respect separate_lists for (..) imports + * data: Make sorting deriving list optional (by Maxim Koltsov) + - 0.12.1.0 (2020-10-05) * Bump Cabal-version to 2.4 (by Łukasz Gołębiewski) * Fix "group" import sort with multi-line imports (by Maxim Koltsov) diff --git a/stylish-haskell.cabal b/stylish-haskell.cabal index 1ae914e..c0f8764 100644 --- a/stylish-haskell.cabal +++ b/stylish-haskell.cabal @@ -1,6 +1,6 @@ Cabal-version: 2.4 Name: stylish-haskell -Version: 0.12.1.0 +Version: 0.12.2.0 Synopsis: Haskell code prettifier Homepage: https://github.com/jaspervdj/stylish-haskell License: BSD-3-Clause -- cgit v1.2.3