Skip to content

Commit 6247d4d

Browse files
authored
Merge pull request #1688 from haskell-servant/maksbotan/0.20
Prepare 0.20 release
2 parents 88408e4 + 9dfb62e commit 6247d4d

File tree

20 files changed

+74
-52
lines changed

20 files changed

+74
-52
lines changed

.github/workflows/master.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,15 @@ jobs:
7575
(cd servant-conduit && eval $DOCTEST)
7676
(cd servant-pipes && eval $DOCTEST)
7777
78+
- name: Save cache
79+
uses: actions/cache/save@v3
80+
if: always()
81+
with:
82+
path: |
83+
${{ steps.setup-haskell-cabal.outputs.cabal-store }}
84+
dist-newstyle
85+
key: ${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('cabal.project.freeze') }}
86+
7887
# stack:
7988
# name: stack / ghc ${{ matrix.ghc }}
8089
# runs-on: ubuntu-latest
@@ -130,7 +139,7 @@ jobs:
130139
cat cabal.project
131140
nix-shell ghcjs.nix --run "cabal v2-update && cabal v2-freeze"
132141
133-
- uses: actions/cache/save@v3
142+
- uses: actions/cache/restore@v3
134143
name: Cache ~/.cabal/store and dist-newstyle
135144
with:
136145
path: |
@@ -147,3 +156,12 @@ jobs:
147156
- name: Tests
148157
run: |
149158
nix-shell ghcjs.nix --run ".github/run-ghcjs-tests.sh"
159+
160+
- name: Save cache
161+
uses: actions/cache/save@v3
162+
if: always()
163+
with:
164+
path: |
165+
~/.cabal/store
166+
dist-newstyle
167+
key: ${{ runner.os }}-ghcjs8.6-${{ hashFiles('cabal.project.freeze') }}

cabal.project

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,3 +68,7 @@ if(impl(ghc >= 9.6.1))
6868

6969
package servant-server
7070
ghc-options: -fprint-redundant-promotion-ticks
71+
72+
allow-newer: servant-multipart:servant, servant-multipart:servant-server, servant-multipart-api:servant
73+
allow-newer: servant-pagination:servant, servant-pagination:servant-server
74+
allow-newer: servant-js:servant, servant-js:servant-foreign

doc/cookbook/managed-resource/managed-resource.cabal

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ executable cookbook-managed-resource
1515
build-depends: base == 4.*
1616
, text >= 1.2
1717
, aeson >= 1.2
18-
, servant
19-
, servant-client
20-
, servant-server
18+
, servant >= 0.20 && <0.21
19+
, servant-client >= 0.20 && <0.21
20+
, servant-server >= 0.20 && <0.21
2121
, warp >= 3.2
2222
, wai >= 3.2
2323
, http-types >= 0.12

doc/cookbook/using-free-client/using-free-client.cabal

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ executable cookbook-using-free-client
1414
main-is: UsingFreeClient.lhs
1515
build-depends: base >= 4.9 && <5
1616
, free
17-
, servant
18-
, servant-client
17+
, servant >= 0.20 && <0.21
18+
, servant-client >= 0.20 && <0.21
1919
, http-client
20-
, servant-client-core
20+
, servant-client-core >= 0.20 && <0.21
2121
, base-compat
22-
, servant-server
22+
, servant-server >= 0.20 && <0.21
2323
, warp >= 3.2
2424
default-language: Haskell2010
2525
ghc-options: -Wall -pgmL markdown-unlit

servant-auth/servant-auth-client/servant-auth-client.cabal

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ library
3535
, bytestring >= 0.10.6.0 && < 0.12
3636
, containers >= 0.5.6.2 && < 0.7
3737
, servant-auth == 0.4.*
38-
, servant >= 0.13 && < 0.20
39-
, servant-client-core >= 0.13 && < 0.20
38+
, servant >= 0.13 && < 0.21
39+
, servant-client-core >= 0.13 && < 0.21
4040

4141
exposed-modules:
4242
Servant.Auth.Client
@@ -69,7 +69,7 @@ test-suite spec
6969
, http-client >= 0.5.13.1 && < 0.8
7070
, http-types >= 0.12.2 && < 0.13
7171
, servant-auth-server >= 0.4.2.0 && < 0.5
72-
, servant-server >= 0.13 && < 0.20
72+
, servant-server >= 0.13 && < 0.21
7373
, time >= 1.5.0.1 && < 1.13
7474
, transformers >= 0.4.2.0 && < 0.7
7575
, wai >= 3.2.1.2 && < 3.3

servant-auth/servant-auth-docs/servant-auth-docs.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ library
3636
ghc-options: -Wall
3737
build-depends:
3838
base >= 4.10 && < 4.19
39-
, servant-docs >= 0.11.2 && < 0.13
40-
, servant >= 0.13 && < 0.20
39+
, servant-docs >= 0.13 && < 0.14
40+
, servant >= 0.13 && < 0.21
4141
, servant-auth == 0.4.*
4242
, lens >= 4.16.1 && <5.3
4343
exposed-modules:

servant-auth/servant-auth-server/servant-auth-server.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ library
4646
, memory >= 0.14.16 && < 0.19
4747
, monad-time >= 0.3.1.0 && < 0.4
4848
, mtl ^>= 2.2.2 || ^>= 2.3.1
49-
, servant >= 0.13 && < 0.20
49+
, servant >= 0.13 && < 0.21
5050
, servant-auth == 0.4.*
51-
, servant-server >= 0.13 && < 0.20
51+
, servant-server >= 0.13 && < 0.21
5252
, tagged >= 0.8.4 && < 0.9
5353
, text >= 1.2.3.0 && < 2.1
5454
, time >= 1.5.0.1 && < 1.13

servant-auth/servant-auth-swagger/servant-auth-swagger.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ library
3535
, text >= 1.2.3.0 && < 2.1
3636
, servant-swagger >= 1.1.5 && < 2
3737
, swagger2 >= 2.2.2 && < 3
38-
, servant >= 0.13 && < 0.20
38+
, servant >= 0.13 && < 0.21
3939
, servant-auth == 0.4.*
4040
, lens >= 4.16.1 && < 5.3
4141
exposed-modules:

servant-auth/servant-auth/servant-auth.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ library
3838
, aeson >= 1.3.1.1 && < 3
3939
, jose >= 0.10 && < 0.11
4040
, lens >= 4.16.1 && < 5.3
41-
, servant >= 0.15 && < 0.20
41+
, servant >= 0.15 && < 0.21
4242
, text >= 1.2.3.0 && < 2.1
4343
, unordered-containers >= 0.2.9.0 && < 0.3
4444
exposed-modules:

servant-client-core/servant-client-core.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 2.2
22
name: servant-client-core
3-
version: 0.19
3+
version: 0.20
44

55
synopsis: Core functionality and class for client function generation for servant APIs
66
category: Servant, Web
@@ -65,7 +65,7 @@ library
6565

6666
-- Servant dependencies
6767
build-depends:
68-
servant >= 0.19
68+
servant >= 0.20
6969

7070
-- Other dependencies: Lower bound around what is in the latest Stackage LTS.
7171
-- Here can be exceptions if we really need features from the newer versions.

0 commit comments

Comments
 (0)