1.7.0
Breaking changes
- Fix
layoutPrettyandlayoutSmartso they don't produce trailing whitespace as a result of indenting empty lines.- Users of
removeTrailingWhitespaceshould check whether it is still needed.
- Users of
- Use
floorinstead ofroundto compute ribbon width. - Remove deprecated
Data.Text.Prettyprint.Doc.Render.ShowSmodule. - Add optimized implementation of
stimesforDoc. - Generalize the type of
layoutCompactto clarify that it doesn't preserve annotations. - Add strictness annotations in
SimpleDocStreamandPageWidth.
Non-breaking changes
- Add shallower
Prettyprintermodule 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.