Skip to content

Commit 689186d

Browse files
authored
Merge pull request #499 from pcapriotti/topic/prepare-0.19
Bump version and update changelog
2 parents 7861d08 + d60762b commit 689186d

File tree

4 files changed

+29
-4
lines changed

4 files changed

+29
-4
lines changed

.github/workflows/haskell-ci.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ on:
1919
jobs:
2020
linux:
2121
name: Haskell-CI - Linux - ${{ matrix.compiler }}
22-
runs-on: ubuntu-20.04
22+
runs-on: ubuntu-latest
2323
timeout-minutes:
2424
60
2525
container:
@@ -28,6 +28,21 @@ jobs:
2828
strategy:
2929
matrix:
3030
include:
31+
- compiler: ghc-9.12.1
32+
compilerKind: ghc
33+
compilerVersion: 9.12.1
34+
setup-method: ghcup
35+
allow-failure: false
36+
- compiler: ghc-9.10.1
37+
compilerKind: ghc
38+
compilerVersion: 9.10.1
39+
setup-method: ghcup
40+
allow-failure: false
41+
- compiler: ghc-9.8.4
42+
compilerKind: ghc
43+
compilerVersion: 9.8.4
44+
setup-method: ghcup
45+
allow-failure: false
3146
- compiler: ghc-9.6.1
3247
compilerKind: ghc
3348
compilerVersion: 9.6.1

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
1-
## Version 0.19.0.0
1+
## Version 0.19.0.0 (31 March 2025)
2+
3+
- Add `briefHangPoint` modifier. This allows one to specify the command length
4+
after which the rendering will change from aligned with the end of the
5+
command name to being indented on the next line.
26

37
- Add `parserOptionGroup` for grouping Options together, similar to command
48
groups. Requires the breaking change of adding the `propGroup :: OptGroup`
59
field to `OptProperties`.
610

11+
712
## Version 0.18.1.0 (29 May 2023)
813

914
- Change pretty printer layout algorithm used.

optparse-applicative.cabal

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: optparse-applicative
2-
version: 0.18.1.0
2+
version: 0.19.0.0
33
synopsis: Utilities and combinators for parsing command line options
44
description:
55
optparse-applicative is a haskell library for parsing options
@@ -51,6 +51,9 @@ extra-source-files: CHANGELOG.md
5151
homepage: https://github.com/pcapriotti/optparse-applicative
5252
bug-reports: https://github.com/pcapriotti/optparse-applicative/issues
5353
tested-with:
54+
GHC==9.12.1
55+
GHC==9.10.1
56+
GHC==9.8.4
5457
GHC==9.6.1
5558
GHC==9.4.4
5659
GHC==9.2.7

src/Options/Applicative/Common.hs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,9 @@ searchArg prefs arg =
182182

183183
ArgReader rdr ->
184184
fmap pure . lift . lift $ runReadM (crReader rdr) arg
185-
_ -> mzero
185+
186+
_ ->
187+
mzero
186188

187189
where
188190
cmdMatches cs

0 commit comments

Comments
 (0)