Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Releases: haskell-prettyprinter/prettyprinter

April 2026 multi-package release

28 Apr 14:06
55b16e1

Choose a tag to compare

This umbrella release covers the following package releases from this repository:

  • prettyprinter 1.7.2
  • prettyprinter-ansi-terminal 1.1.4
  • prettyprinter-compat-annotated-wl-pprint 1.1.1
  • prettyprinter-compat-ansi-wl-pprint 1.1.1
  • prettyprinter-compat-wl-pprint 1.0.2
  • prettyprinter-convert-ansi-wl-pprint 1.1.3

Highlights:

  • prettyprinter 1.7.2 introduces the new PrettyAnn type class, adds Pretty instances for 4-7 tuples, adds ann ~ Void => Pretty (Doc ann), removes the MINIMAL pragma from Pretty, and includes several documentation improvements.
  • prettyprinter-ansi-terminal 1.1.4 adds a text flag and fixes an inconsistency between renderLazy and renderIO.
  • This release series also includes MicroHs compatibility updates for some packages.

Selected changes:

  • Introduce PrettyAnn type class (#256)
  • Add Pretty instances for 4-7 tuples (#275)
  • Add instance ann ~ Void => Pretty (Doc ann) (#234)
  • Remove the MINIMAL pragma from Pretty (#219)
  • Add text flag to prettyprinter-ansi-terminal (#279)
  • Fix inconsistency between renderLazy and renderIO in prettyprinter-ansi-terminal (#261)
  • Drop support for GHC 7 (#278)
  • Remove compatibility code for GHC < 8 (#285)
  • Make supported packages compile with MicroHs (#270)

For package-specific details, see the changelogs in this repository and the individual package tags.

1.7.1

11 Sep 09:14
7f9af88

Choose a tag to compare

1.7.0

31 Jul 13:34
ab2c094

Choose a tag to compare

prettyprinter-convert-ansi-wl-pprint 1.1.1

31 Jul 13:39
ab2c094

Choose a tag to compare

prettyprinter-ansi-terminal 1.1.2

31 Jul 13:35
ab2c094

Choose a tag to compare

1.6.2

20 Jun 22:42
c52840b

Choose a tag to compare

  • Speed up rendering to lazy and strict Text.
  • Documentation improvements for group and flatAlt.
  • Internal refactoring of the layoutWadlerLeijen-based layouters.

1.6.1

10 Feb 18:37

Choose a tag to compare

  • Use an export list in Data.Text.Prettyprint.Doc.Internal.
  • Improve group for Union and FlatAlt.
  • Speed up removeTrailingWhitespace.
  • Improve generating spaces for indentation and spaces.
  • Simplify some Doc constants by defining them as Doc literals.
  • Enable -O2.
  • Various documentation fixes and improvements.

1.6.0

22 Jan 17:09
83d7471

Choose a tag to compare

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
    grouped documents.
  • Add debugging helpers in Data.Text.Prettyprint.Doc.Internal.Debug
  • Documentation improvements and fixes

1.5.1

05 Nov 09:15

Choose a tag to compare

  • Removing trailing whitespace sometimes restored necessary whitespace in the
    wrong spot

1.5.0

05 Nov 09:15

Choose a tag to compare

  • Fix inconsistent formatting within align and wide sub-docs on narrow layouts
Morty Proxy This is a proxified and sanitized view of the page, visit original site.