Commit Graph

162 Commits

Author SHA1 Message Date
amesgen
0bd85600f7
Allow text-2.1, bytestring-0.12, filepath 1.5 (#113) 2024-02-01 15:55:53 -08:00
Gabriella Gonzalez
b42f3cfc7c
Version 1.5.1 → 1.5.2 (#112) 2023-11-20 01:20:41 +01:00
Rodrigo Mesquita
c3cdbcd486
Support for field OsPath (#111)
Add an instance ParseField for the OsPath type from the Abstract File
Path Proposal implemented in filepath-1.4.100 in System.OsPath.

Using OsPath instead of String for Paths, instead of having the added
benefit of the AFFP, also displays `PATH` instead of `STRING`
2023-11-20 01:15:12 +01:00
Gabriella Gonzalez
eb020ddf87
Version 1.5.0 → 1.5.1 (#110) 2023-08-05 19:31:38 +02:00
Georgi Lyubenov
97a1826e7b
Add Eq to the "helper wrappers" (<?>), (<!>), (<#>) (#109) 2023-08-05 19:24:17 +02:00
Taylor Fausak
9a0f1be14f
Allow optparse-applicative 0.18 (#108) 2023-07-07 16:49:57 +02:00
Gabriella Gonzalez
99b3e2a39b
Version 1.4.9 → 1.5.0 (#107) 2023-05-05 16:45:48 +02:00
Gabriella Gonzalez
7fe97693ae
Drop support for system-filepath (#106)
Fixes https://github.com/Gabriella439/optparse-generic/issues/105
2023-05-05 16:36:28 +02:00
Gabriella Gonzalez
449bc40816
Fix metavars for some time types (#104)
… to exactly match the documentation
2023-01-11 14:48:52 -08:00
Gabriella Gonzalez
f06157f199
Fix warnings (#103) 2023-01-11 14:40:10 -08:00
Gabriella Gonzalez
de8424ed60
Add support for more Data.Time types (#102)
Specifically, this adds support for all `Time` types
that can be parsed using ISO8601
2023-01-11 12:57:31 -08:00
Gabriella Gonzalez
a6a0c1191a
Version 1.4.8 → 1.4.9 (#101) 2023-01-10 15:33:32 -08:00
Gabriella Gonzalez
9089c05e45
Derive Data for Unwrapped (#100)
This appears to be necessary for `Unwrapped` types to
derive `Data`.  In other words, if you try to do something
like:

```haskell
deriving stock instance Data (Foo Unwrapped)
```

… it will complain about a missing `Data` instance for `Unwrapped`
2023-01-10 15:23:50 -08:00
Gabriella Gonzalez
b95b9bb26d
Fix deadname 2022-09-04 16:37:06 -07:00
Gabriella Gonzalez
75706c5df1
Fix deadname 2022-09-04 16:35:59 -07:00
Gabriella Gonzalez
407481fa88
Fix deadname 2022-09-04 16:35:28 -07:00
Haisheng
b6d3f2c64c
Build executable for examples (#96)
- make sure examples still compile/run whenever code changes
2022-09-01 19:08:18 -07:00
Gabriella Gonzalez
2b715c8537
Version 1.4.7 → 1.4.8 (#99) 2022-09-01 19:04:51 -07:00
Gabriella Gonzalez
f96d1b69ea
Improve handling of NonEmpty (#98)
Fixes https://github.com/Gabriella439/Haskell-Optparse-Generic-Library/issues/97
2022-09-01 18:57:10 -07:00
Haisheng
6c4209d558
upgrade stack to lts-19.18 (ghc-9.0.2) (#95) 2022-08-14 17:14:05 -07:00
Gautier DI FOLCO
5a5a1f9d6c
Add getWithHelpWith (#94) 2022-04-21 08:28:58 -07:00
Simon Jakobi
556ce41b8b
Allow optparse-applicative 0.17 (#92)
https://hackage.haskell.org/package/optparse-applicative-0.17.0.0/changelog
2022-02-01 07:01:08 -08:00
Simon Jakobi
818daef4fe
Allow text-2.0 (#91)
https://hackage.haskell.org/package/text-2.0/changelog
2021-12-24 15:25:23 -08:00
Gabriella Gonzalez
de6098fa00
Version 1.4.6 → 1.4.7 (#90) 2021-11-08 20:39:39 -08:00
Sam Protas
fe0199326a
Derive data instances for exported types (#89) 2021-10-18 19:21:29 -07:00
Gabriella Gonzalez
dbc54db78f
Version 1.4.5 → 1.4.6 (#88) 2021-10-08 16:57:42 -07:00
Oleg Grenrus
e1123b93a7
Use readField in value in default parseField implementation (#87)
This allows defining ParseField instances for types without Read
by only defining `readField` (and `metavar` if needed).

We need transformers-compat to always have Except module
available. The dependency is the same as in optparse-applicative,
so it's "free".
2021-10-05 10:01:24 -07:00
Gabriella Gonzalez
861b894864
Version 1.4.4 → 1.4.5 (#85) 2021-09-01 22:23:04 -07:00
Gabriella Gonzalez
5e9a24d043
Update workflows.yml (#86) 2021-09-01 22:22:52 -07:00
Daniel Winograd-Cort
9270f184e5
Add showDefault (#83) 2021-08-30 11:18:50 -07:00
Daniel Winograd-Cort
a8f66ee199
Add ability to set ShortName at Type (#84) 2021-08-30 09:29:21 -07:00
Simon Jakobi
b571738af4
Allow transformers 0.6 (#82) 2021-08-12 22:38:29 -07:00
Gabriel Gonzalez
4cfaaf5931
Delete .travis.yml 2021-07-16 20:43:46 -07:00
George Thomas
e5248d2d05
Bump time bounds (#80)
https://hackage.haskell.org/package/time-1.12/changelog
2021-07-07 12:03:20 -07:00
Gabriel Gonzalez
42f4521d62
Add GitHub CI (#81) 2021-07-07 12:02:46 -07:00
Simon Jakobi
065cc7666d
Allow bytestring 0.11 (#78)
http://hackage.haskell.org/package/bytestring-0.11.0.0/changelog
2021-02-02 16:43:21 -08:00
Gabriel Gonzalez
04248cf842
Version 1.4.3 → 1.4.4 (#77) 2020-09-30 22:06:12 -07:00
dacto
94ac675ed5
readIntegralBounded: use metavar in error message (#76) 2020-09-30 20:49:52 -07:00
Gabriel Gonzalez
0907d78e1f
Version 1.4.2 → 1.4.3 (#74) 2020-08-14 22:15:53 -07:00
Gabriel Gonzalez
20ecc0a9be
Build against optparse-applicative-0.16.0.0 (#73)
Related to https://github.com/commercialhaskell/stackage/issues/5597
2020-08-14 22:05:25 -07:00
dacto
fd96b4d82b
Export readIntegralBounded (#72) 2020-08-14 14:18:58 -07:00
Gabriel Gonzalez
d2db1883a5
Version 1.4.1 → 1.4.2 (#71) 2020-07-31 10:19:03 -07:00
Gabriel Gonzalez
0702c62112
Export unwrap (#70)
Fixes https://github.com/Gabriel439/Haskell-Optparse-Generic-Library/issues/69
2020-07-06 08:53:22 -07:00
Felix Yan
579274bc03
Depend on semigroups only on GHC < 8.0 (#68)
They are not needed on newer GHC.
2020-06-30 08:29:23 -07:00
Gabriel Gonzalez
a61c1205fa
Version 1.4.0 → 1.4.1 (#67) 2020-06-29 18:12:09 -07:00
Mitsutoshi Aoe
322d651fbf
Fix a broken haddock comment block (#64) 2020-06-16 08:20:55 -07:00
Gabriel Gonzalez
200987a998
Fix cabal version bound (#63) 2020-06-14 11:40:53 -07:00
Gabriel Gonzalez
b07ac85017
Version 1.3.1 → 1.4.0 (#62) 2020-06-14 11:33:30 -07:00
Eitan Chatav
c965405afa
Add support for default values (#61) 2020-06-12 15:47:22 -07:00
Gabriel Gonzalez
7b272cebb9
Version 1.3.0 → 1.3.1 (#59) 2020-01-09 08:42:51 -08:00