All Versions
10
Latest Version
Avg Release Cycle
41 days
Latest Release
1750 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