Skip to content

Commit

Permalink
Bump version and add changelog.
Browse files Browse the repository at this point in the history
This also adds in the changelog for 0.17.1 which is not strictly
a parent of this commit, but it's close enough and will be release
in time order.
  • Loading branch information
HuwCampbell committed May 23, 2023
1 parent 856046e commit a67b20e
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 9 deletions.
30 changes: 22 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@
## Unreleased
## Version 0.18.0.0 (22 May 2023)

- Move to 'prettyprinter` library for pretty printing.

This is a potentially breaking change when one uses the '*Doc' family of functions
(like `headerDoc`) from `Options.Applicative`. However, as versions of
'ansi-wl-pprint > 1.0' export a compatible `Doc` type, this can be mitigated by
using a recent version.

One can also either import directly from `Options.Applicative.Help` or from the
`Prettyprinter` module of 'prettyprinter'.

- Allow commands to be disambiguated in a similar manner to flags when the
`disambiguate` modifier is used.

This is a potentially breaking change as the internal `CmdReader` constructor
has been adapted so it is able to be inspected to a greater degree to support
finding prefix matches.

## Version 0.17.1.0 (22 May 2023)

- Widen bounds for `ansi-wl-pprint`. This supports the use of `prettyprinter`
in a non-breaking way, as the `ansi-wl-pprint > 1.0` support the newer
Expand All @@ -10,15 +29,10 @@

- Add `simpleVersioner` utility for adding a '--version' option to a parser.

- Allow commands to be disambiguated in a similar manner to flags when the
`disambiguate` modifier is used.

This is a potentially breaking change as the internal `CmdReader` constructor
has been adapted so it is able to be inspected to a greater degree to support
finding submatches.

- Improve documentation.

- Drop support for GHC 7.0 and 7.2.

## Version 0.17.0.0 (1 Feb 2022)

- Make tabulation width configurable in usage texts.
Expand Down
2 changes: 1 addition & 1 deletion optparse-applicative.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: optparse-applicative
version: 0.17.0.0
version: 0.18.0.0
synopsis: Utilities and combinators for parsing command line options
description:
optparse-applicative is a haskell library for parsing options
Expand Down

0 comments on commit a67b20e

Please sign in to comment.