From 32ebfe6f71f89d05c35df2ad811422ccf016c917 Mon Sep 17 00:00:00 2001 From: Huw Campbell Date: Thu, 18 Jun 2020 21:31:18 +1000 Subject: [PATCH] Update changelog for release Set version number --- CHANGELOG.md | 25 ++++++++++++++----------- README.md | 4 ++++ optparse-applicative.cabal | 2 +- 3 files changed, 19 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b6afa0aa..9ae320b9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,23 +1,22 @@ -## Unreleased +## Version 0.16.0.0 (14 Aug 2020) - Add `Options.Applicative.NonEmpty.some1` function, which parses options the same as `some1` from base, but doesn't cause duplicates in the usage texts. - Further improve help text generation in the presence - of optional values when nesting is involved. - - For example, a mutually exclusive, but optional set of - flags would have been shown as "([-a] | [-b])", while - now it will be the more clear "[-a | -b]". + of optional values when nesting is involved, and many and + some when displayed with a suffix. - Add "global" options to the usage texts for subcommands. - When using subcommands, a "global options" section will + When using subcommands, a "global options" section can now appear below the options and commands sections. - The builder `noGlobal` will suppress this for a single - option, while the entire section can be turned off using - `overFailure` to set `helpGlobals` to `mempty`. + Global options are *off* by default, to enable them, use + the `helpShowGlobals` modifier. + + The `noGlobal` builder will suppress a single option being + displayed in the global options list. Fixes issues: * \# 175 - List detailed subparser documentation with `--help` @@ -35,8 +34,12 @@ - Updated dependency bounds. -- Add support for GHC 8.10.1 (backported). +- Add builder for the all positional parser policy. +- Remove deprecated functions + * nullOption + * execParserMaybe + * customExecParserMaybe ## Version 0.15.1.0 (12 Sep 2019) diff --git a/README.md b/README.md index b7a7e546..415676cb 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,11 @@ # optparse-applicative [![Continuous Integration status][status-png]][status] +[![Hackage matrix][hackage-matrix-png]][hackage-matrix] [![Hackage page (downloads and API reference)][hackage-png]][hackage] [![Hackage-Deps][hackage-deps-png]][hackage-deps] + optparse-applicative is a haskell library for parsing options on the command line, and providing a powerful [applicative] interface for composing them. @@ -1011,6 +1013,8 @@ simplified implementation. [blog]: http://paolocapriotti.com/blog/2012/04/27/applicative-option-parser/ [hackage]: http://hackage.haskell.org/package/optparse-applicative [hackage-png]: http://img.shields.io/hackage/v/optparse-applicative.svg + [hackage-matrix]: https://matrix.hackage.haskell.org/package/optparse-applicative + [hackage-matrix-png]: https://matrix.hackage.haskell.org/api/v2/packages/optparse-applicative/badge [hackage-deps]: http://packdeps.haskellers.com/reverse/optparse-applicative [hackage-deps-png]: https://img.shields.io/hackage-deps/v/optparse-applicative.svg [monoid]: http://hackage.haskell.org/package/base/docs/Data-Monoid.html diff --git a/optparse-applicative.cabal b/optparse-applicative.cabal index 3055871c..5193fdd0 100644 --- a/optparse-applicative.cabal +++ b/optparse-applicative.cabal @@ -1,5 +1,5 @@ name: optparse-applicative -version: 0.15.1.0 +version: 0.16.0.0 synopsis: Utilities and combinators for parsing command line options description: optparse-applicative is a haskell library for parsing options