All Versions
Latest Version
Avg Release Cycle
81 days
Latest Release
636 days ago

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)
  • 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-
    • โž• 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.
  • 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 and lconfig_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 to conf_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 meaning brittany -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