optparse-applicative v0.14.0.0 Release Notes

Release Date: 2017-06-09 // almost 7 years ago
    • โฌ†๏ธ Upgrade str and related builders to be polymorphic over IsString. This allows Text and Bytestring to be used naturally with strOption and strArgument and friends.

    Note: This change may require additional type signatures in cases where the reader was necessary for type inference.

    • Export public API explicitly from Options.Applicative instead of re-exporting other modules.

    Note: Minor changes to exports were made in conjunction to this change. ParserHelp no longer requires an an extra import, and some internally used functions from Options.Applicative.Common are no longer exported from the main module.

    • โž• Add Zsh and Fish completions with rich descriptions for options and commands.

    Use "--zsh-completion-script" and "fish-completion-script" to generate scripts for these shells.

    • ๐Ÿ›  Fix bash completions with quoted sections, tilde expansions and completions after "--".

    • โž• Add suggestions to error message when a user mistypes a command or option.

    • โž• Add style builder, for styling option descriptions.

    • ๐Ÿ‘Œ Improve error message for options when a required argument is not supplied.

    • ๐Ÿ›  Fix #242 regarding flags with long options, where a flag given a long option could be interpreted incorrectly.

    • ๐Ÿ›  Fix noIntersperse to be more like its namesakes in other libraries. When on, options will be accepted until an argument is passed, after which all options will be treated as positional arguments.

    • โž• Add forwardOptions builder, which will allow unknown options and flags to be passed to an argument builder. This is useful to mixed parsing environments, or wrappers to other commands.

    • โž• Add Semigroup instances for Completer and Chunk.

    • Forwards compatibility with MonadFail proposal.

    • Doc