Version 1.2.3 → 1.3.0 (#49)

This commit is contained in:
Gabriel Gonzalez 2018-02-23 08:41:25 -08:00 committed by GitHub
parent 900fa2b596
commit ade542d288
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 3 deletions

11
CHANGELOG.md Normal file
View File

@ -0,0 +1,11 @@
1.3.0
* BREAKING CHANGE: New `metavar` method for `ParseField` class
* This field simplifies customizing `ParseField` instances
* Now you usually only need to override `metavar` now or possibly also
`readField`, whereas the default behavior for `parseField` should work
more often
* This is only a breaking change for data types that use the default
implementation of `ParseField` but do not derive `Typeable`
* You can migrate existing code that doesn't compile by just explicitly
specifying what the `metavar` field should be

View File

@ -1,4 +1,4 @@
# optparse-generic v1.2.3
# optparse-generic v1.3.0
Use this library to auto-generate a command-line interface that parses a typed
value. This library uses Haskell's support for generic programming to

View File

@ -4,7 +4,7 @@
}:
mkDerivation {
pname = "optparse-generic";
version = "1.2.3";
version = "1.3.0";
src = ./.;
libraryHaskellDepends = [
base bytestring Only optparse-applicative semigroups

View File

@ -1,5 +1,5 @@
Name: optparse-generic
Version: 1.2.3
Version: 1.3.0
Cabal-Version: >=1.8.0.2
Build-Type: Simple
License: BSD3
@ -16,6 +16,7 @@ Description: This library auto-generates an @optparse-applicative@-compatible
See the documentation in "Options.Generic" for an example of how to use
this library
Category: System
Extra-Source-Files: CHANGELOG.md
Source-Repository head
Type: git
Location: https://github.com/Gabriel439/Haskell-Optparse-Generic-Library