From 031df539b35c2cf67b1642fb1b6ad4739feb9e0a Mon Sep 17 00:00:00 2001 From: Lennart Spitzner Date: Tue, 1 May 2018 17:09:31 +0200 Subject: [PATCH] Prepare release (bump to 0.11.0.0, changelog) --- ChangeLog.md | 42 ++++++++++++++++++++++++++++++++++++++++++ brittany.cabal | 2 +- 2 files changed, 43 insertions(+), 1 deletion(-) diff --git a/ChangeLog.md b/ChangeLog.md index 253226b..9d6a73b 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,5 +1,47 @@ # Revision history for brittany +## 0.11.0.0 -- May 2018 + +* Support for ghc-8.4 +* Implement inline-config + e.g. "-- brittany --indent=4" + + respects the following comment forms as input: + + ~~~~ + source comment affected target + ====================================================== + "-- brittany CONFIG" whole module + "-- brittany-next-binding CONFIG" next binding + "-- brittany-disable-next-binding" next binding + "-- brittany @ myExampleFunc CONFIG" `myExampleFunc` + ~~~~ + + multiline-comments are supported too, although + the specification must still be a single line. E.g. + + > "{- brittany --columns 50 -}" + + CONFIG is either: + + 1) one or more flags in the form of what brittany accepts + on the commandline, e.g. "-- columns 50", or + 2) one or more specifications in the form of what brittany + accepts in its config files for the layouting config + (a one-line yaml document), e.g. "{ lconfig_cols: 50 }" +* Implement `--obfuscate` that replaces non-keyword identifiers with random + names +* Do not write files unless there are changes (don't update modtime) + (`--write-mode=inplace`) (#93) +* Bugfixes: + - Fix empty function constraints (`() => IO ()`) (#133) + - Fix overflowing columns caused by aligning with surrounding lines + for certain complex cases +* Layouting changes: + - On default settings, allow single-line module header + `module MyModule where` when no exports + - Fix one case of non-optimal layouting for if-then-else + ## 0.10.0.0 -- March 2018 * Implement module/exports/imports layouting (thanks to sniperrifle2004) diff --git a/brittany.cabal b/brittany.cabal index 38522cf..b1896ed 100644 --- a/brittany.cabal +++ b/brittany.cabal @@ -1,5 +1,5 @@ name: brittany -version: 0.10.0.0 +version: 0.11.0.0 synopsis: Haskell source code formatter description: { See .