All Versions
10
Latest Version
Avg Release Cycle
41 days
Latest Release
1035 days ago
Changelog History
Changelog History
-
v1.7.0 Changes
July 31, 2020๐ฅ Breaking changes
- ๐จ Fix
layoutPretty
andlayoutSmart
so they don't produce trailing whitespace as a result of indenting empty lines.- Users of
removeTrailingWhitespace
should check whether it is still needed.
- Users of
- ๐จ Use
floor
instead ofround
to compute ribbon width. - ๐ Remove deprecated
Data.Text.Prettyprint.Doc.Render.ShowS
module. - โก๏ธ Add optimized implementation of
stimes
forDoc
. - ๐จ Generalize the type of
layoutCompact
to clarify that it doesn't preserve annotations. - ๐จ Add strictness annotations in
SimpleDocStream
andPageWidth
.
Non-breaking changes
- ๐จ Add shallower
Prettyprinter
module hierarchy exposing the same API.- The current plan for the existing
Data.Text.Prettyprint.Doc*
modules is: - Start deprecation in early 2021.
- Remove the modules after a deprecation period of at least one year.
- The current plan for the existing
- ๐ Fix build with GHC 7.4.
- ๐ Various documentation improvements.
- ๐จ Fix
-
v1.6.2 Changes
June 20, 2020- Speed up rendering to lazy and strict
Text
. - ๐ Documentation improvements for
group
andflatAlt
. - ๐จ Internal refactoring of the
layoutWadlerLeijen
-based layouters.
- Speed up rendering to lazy and strict
-
v1.6.1 Changes
February 10, 2020- ๐จ Use an export list in
Data.Text.Prettyprint.Doc.Internal
. - ๐ Improve
group
forUnion
andFlatAlt
. - ๐ Speed up
removeTrailingWhitespace
. - ๐ Improve generating spaces for indentation and
spaces
. - Simplify some
Doc
constants by defining them asDoc
literals. - Enable
-O2
. - ๐ Various documentation fixes and improvements.
- ๐จ Use an export list in
-
v1.6.0 Changes
January 22, 2020๐ฅ Breaking changes
- ๐ Fix
fuse
's handling of annotated documents:- Don't remove annotations on empty documents.
- Apply fusion within annotations.
- ๐ Fix layouting of hard linebreaks with
Unbounded
page widths.
Non-breaking changes
- Speed up
group
for documents containing linebreaks and previously
group
ed documents. - โ Add debugging helpers in
Data.Text.Prettyprint.Doc.Internal.Debug
- ๐ Documentation improvements and fixes
- ๐ Fix
-
v1.5.1 Changes
November 05, 2019- โช Removing trailing whitespace sometimes restored necessary whitespace in the
wrong spot
- โช Removing trailing whitespace sometimes restored necessary whitespace in the
-
v1.5.0 Changes
November 05, 2019- ๐ Fix inconsistent formatting within align and wide sub-docs on narrow layouts
-
v1.4.0 Changes
October 21, 2019- โ Add fixity declaration to
<+>
, matching<>
- ๐ Fix removal of trailing whitespace
- Keep very last newlines, Unix-style
- Do not trim leading whitespace
- โ Add fixity declaration to
-
v1.2.1.1
July 08, 2019 -
v1.1.2 Changes
July 31, 2020๐จ 1.1.2
- ๐จ Add shallower
Prettyprinter
module hierarchy exposing the same API.- The current plan for the existing
Data.Text.Prettyprint.Doc*
modules is: - Start deprecation in early 2021.
- Remove the modules after a deprecation period of at least one year.
- The current plan for the existing
- ๐จ Make
renderLazy
lazy, and speed it up. - ๐จ Add export list for Prettyprinter.Render.Terminal.Internal.
- โก๏ธ Optimize generating spaces for indentation.
- ๐จ Enable
-O2
. - ๐จ Extend GHC support to 7.6 and 7.4.
- ๐จ Add shallower
-
v1.1.1 Changes
July 31, 2020- ๐จ Add shallower
Prettyprinter
module hierarchy exposing the same API.- The current plan for the existing
Data.Text.Prettyprint.Doc*
modules is: - Start deprecation in early 2021.
- Remove the modules after a deprecation period of at least one year.
- The current plan for the existing
- ๐จ Add shallower