Releases: pcapriotti/optparse-applicative
Releases · pcapriotti/optparse-applicative
optparse-applicative 0.11.0
- Added Alternative instances for
ChunkandReadM. - The
ReadMmonad is now aReaderTfor the argument being parsed. User
defined readers do not need to handle their argument explicitly, but can
always access it usingreaderAsk. - Argument builders now take a
ReadMparameter, just like options. - Fixed bugs
- #106 - argument should perhaps use
ReadM
- #106 - argument should perhaps use
optparse-applicative 0.10.0
- Parser execution and help text generation are now more modular, and allow for
greater customisation. - More consistent API for
optionandargumentbuilders: nowoptiontakes
a reader as argument, andnullOptionis deprecated in favour ofoption.
Thereadermodifier is gone. Quick migration guide:option(without areadermodifier) =>option autonullOption(without areadermodifier) =>option disabledoption/nullOption(with areader rmodifier) =>option r.
- Added convenience builder
strArgument, equivalent toargument str. - Removed functions deprecated from at least version 0.8.0.
- Switched test infrastructure to
tasty. - Fixed bugs
- #63 - Inconsistency between 'argument' and 'strOption' types
optparse-applicative 0.9.1.1
- Fixed bugs
- #97 - Version 0.9.1 fails test suite