All Versions
23
Latest Version
Avg Release Cycle
81 days
Latest Release
636 days ago
Changelog History
Page 2
Changelog History
Page 2
-
v0.9.0.1 Changes
February 01, 2018- ๐ Support
TupleSections
(thanks to Matthew Piziak) - ๐ Bugfixes:
- Fix Shebang handling with stdin input (#92)
- Fix bug that effectively deleted strict/lazy matches (BangPatterns) (#116)
- Fix infix operator whitespace bug (#101, #114)
- Fix help command output and its layouting (#103)
- Fix crash when config dir does not exist yet (#115)
- Layouting changes:
- no space after opening non-tuple parenthesis even for multi-line case
- use spaces around infix operators (applies to sections and in pattern matches)
- Let-in is layouted more flexibly in fewer lines, if possible (thanks to Evan Borden)
- ๐ Support
-
v0.9.0.0 Changes
December 01, 2017- ๐ Change default global config path (use XDG spec) Existing config should still be respected, so this should not break compatibility
- ๐ Support per-project config
- ! Slight rework of the commandline interface:
- Support multiple inputs and outputs
- Support inplace-transformation for multiple files via
--write-mode=inplace
Implement
IndentPolicyLeft
- the indentation mode that never adds more than the base indentation for nested parts (no hanging indentation)(thanks to Evan Borden)
๐ Fix bug that manifested in bad output for (top-level) template haskell splices
๐ Extension support:
- RecordWildCards
- RecursiveDo (was only partially supported previously)
๐ Layouting Bugfixes:
- Properly reproduce parentheses around kind signatures
- Fix issue around promoted lists
(example good:
'[ 'True]
bad:'['True]
) - Trim text from exactprint used as workaround for unknown nodes (unsupported extension workaround)
Layouting changes
- Insert spaces around operator in sections
-
v0.8.0.3 Changes
September 01, 2017- ๐ Support for ghc-8.2.1
- ๐ Bugfixes:
- Fix quadratic performance issue
- Fix special "where" indentation with indentAmount /= 2
- Fix negative literals in patterns
- Support type applications
- Accept
-h
for--help
and improve help layouting (via butcher-1.1.0.2) - โ Add continuous integration via travis (cabal, cabal-new, stack) (brittle due compilation time limit)
- โฌ๏ธ Reduce compilation memory usage a bit
-
v0.8.0.2 Changes
August 01, 2017- โ Add library interface, to be used by
haskell-ide-engine
. - Publish to hackage.
- โ Add library interface, to be used by
-
v0.8.0.1 Changes
May 01, 2017- Document the high-level design of the program
- ๐ Improve layouting for many different cases, too many to list here. Brittany still does only reformat top-level type signatures and bindings.
- ๐ Publish all dependencies on hackage;
ghc-exactprint
adaptions got merged upstream as well. - โฌ๏ธ Reduce the aggressiveness of horizontal alignment; this is configurable
via the
lconfig_alignmentLimit
andlconfig_alignmentBreakOnMultiline
values (config file only for now). - (!) Breaking change to the config file format: The keys previously contained
underscore (e.g.
_econf_Werror
) but do not anymore (econf_Werror
). Add config version; also - Move config value
conf_errorHandling.econf_CPPMode
toconf_preprocessor.ppconf_CPPMode
. - Cope with unhandled syntactical constructs more gracefully by falling back
on the ghc-exactprint output; Brittany simply won't touch certain
subexpressions instead of aborting. This is further configurable via the
econf_omit_output_valid_check
config value. - Due to improvements to the
butcher
library: Accept--key=value
on commandline (only--key value
was supported previously). - ๐ Improve testsuite setup: The
tests.blt
file contains many different testcases that allow quick addition - feel free to report bugs directly by making PRs with additions to that file. - ๐ Release under the terms of the AGPLv3
-
v0.7.1.0 Changes
September 06, 2016- ๐ Support stack
- ๐ Fix --ghc-options handling
- โ Add commandline param to allow shortcut
brittany Foo.hs
meaningbrittany -i Foo.hs
-
v0.7.0.0 Changes
September 04, 2016- ๐ First official alpha release
- ๐ Fix commandline flag parsing
- Implement/Improve horizontal aligning
- ๐ Various minor fixes and layouting improvements
-
v0.6.0.0 Changes
August 12, 2016- โ Add check that output is syntactically valid
- (!) Change config format, breaking previous configs
- Various layouting additions/imporements
- ๐ Various minor fixes
-
v0.5.0.0 Changes
August 08, 2016- ๐ Support --ghc-options
- ๐ Support user and local config files: Local config file is not mandatory anymore.
-
v0.4.0.0 Changes
August 06, 2016- ๐ Make comment handling a bit more clever
- Various layouting additions/imporements