Skip to content

Commit 458d968

Browse files
authored
compat-ansi-wp: Add changelog and prepare release (#269)
Also update the README with link to #246.
1 parent dec6595 commit 458d968

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# [1.1]
2+
3+
- [Change `renderPretty` to use `layoutPretty` instead of `layoutSmart`.](https://github.com/quchen/prettyprinter/pull/244)
4+
5+
[1.1]: https://github.com/quchen/prettyprinter/compare/compat-ansi-wl-pprint-1.0.2...compat-ansi-wl-pprint-1.1

prettyprinter-compat-ansi-wl-pprint/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ This package defines a compatibility layer between the old `ansi-wl-pprint`
55
package, and the new `prettyprinter`/`prettyprinter-ansi-terminal` ones.
66

77
This allows easily transitioning dependent packages from the old to the new
8-
package, by simply replacing `ansi-wl-pprint` with `prettyprinter-ansi-terminal`
8+
package, by simply replacing `ansi-wl-pprint` with
9+
`prettyprinter-compat-ansi-wl-pprint`
910
in the `.cabal` file. For adapting third party plugins that output
1011
`ansi-wl-pprint` data, use the proper converter from the
1112
`prettyprinter-convert-ansi-wl-pprint` module.
@@ -14,3 +15,6 @@ Note that this package is **only for transitional purposes**, and therefore
1415
deprecated and wholly undocumented. For new development, use the current version
1516
of `prettyprinter`, and the ANSI terminal backend provided in
1617
`prettyprinter-ansi-terminal`.
18+
19+
Also note that there are API differences that may require code changes:
20+
See https://github.com/quchen/prettyprinter/issues/246.

prettyprinter-compat-ansi-wl-pprint/prettyprinter-compat-ansi-wl-pprint.cabal

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
name: prettyprinter-compat-ansi-wl-pprint
2-
version: 1.0.2
2+
version: 1.1
33
cabal-version: >= 1.10
44
category: User Interfaces, Text
55
synopsis: Drop-in compatibility package to migrate from »ansi-wl-pprint« to »prettyprinter«.
66
description: See README.md
77
license: BSD2
88
license-file: LICENSE.md
99
extra-source-files: README.md
10+
, CHANGELOG.md
1011
author: David Luposchainsky
1112
maintainer: David Luposchainsky <dluposchainsky at google>
1213
bug-reports: http://github.com/quchen/prettyprinter/issues
@@ -28,7 +29,7 @@ library
2829
, OverloadedStrings
2930

3031
build-depends:
31-
base >= 4.5 && < 5 && < 5
32+
base >= 4.5 && < 5
3233
, text >= 1.2
3334
, prettyprinter >= 1.7.0
3435
, prettyprinter-ansi-terminal >= 1.1

0 commit comments

Comments
 (0)