mirror of
https://github.com/Gabriella439/optparse-generic.git
synced 2024-11-22 21:48:54 +03:00
Version 1.2.3 → 1.3.0 (#49)
This commit is contained in:
parent
900fa2b596
commit
ade542d288
11
CHANGELOG.md
Normal file
11
CHANGELOG.md
Normal 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
|
@ -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
|
||||
|
@ -4,7 +4,7 @@
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "optparse-generic";
|
||||
version = "1.2.3";
|
||||
version = "1.3.0";
|
||||
src = ./.;
|
||||
libraryHaskellDepends = [
|
||||
base bytestring Only optparse-applicative semigroups
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user