git.iko.soy/typeable/servant
on master help sign in
Merge pull request #1224 from haskell-servant/forward-8.8

Forward 8.8

commit164f75711b143b38b6eb1ad1052e6d46ced45032 authorOleg Grenrus <oleg.grenrus@iki.fi> dateSun 29 Sep 2019, 14:15 (7 years ago) parent7f10f7ff089f8d
31 files changed+126−97
.travis.yml+45−27 cabal.project+15−20 doc/cookbook/basic-auth/basic-auth.cabal+1−1 doc/cookbook/basic-streaming/basic-streaming.cabal+2−2 doc/cookbook/curl-mock/curl-mock.cabal+1−1 doc/cookbook/db-postgres-pool/db-postgres-pool.cabal+1−1 doc/cookbook/db-sqlite-simple/db-sqlite-simple.cabal+1−1 doc/cookbook/file-upload/file-upload.cabal+1−1 doc/cookbook/generic/generic.cabal+1−1 doc/cookbook/hoist-server-with-context/hoist-server-with-context.cabal+1−1 doc/cookbook/https/https.cabal+1−1 doc/cookbook/jwt-and-basic-auth/jwt-and-basic-auth.cabal+1−1 doc/cookbook/pagination/pagination.cabal+2−2 doc/cookbook/sentry/sentry.cabal+1−1 doc/cookbook/structuring-apis/structuring-apis.cabal+1−1 doc/cookbook/testing/testing.cabal+1−1 doc/cookbook/using-custom-monad/using-custom-monad.cabal+1−1 doc/cookbook/using-free-client/using-free-client.cabal+1−1 doc/tutorial/tutorial.cabal+3−2 servant-client-core/servant-client-core.cabal+4−3 servant-client/servant-client.cabal+4−3 servant-conduit/servant-conduit.cabal+1 servant-docs/CHANGELOG.md+5 servant-docs/servant-docs.cabal+6−6 servant-docs/src/Servant/Docs/Internal.hs+9−8 servant-foreign/servant-foreign.cabal+4−3 servant-http-streams/servant-http-streams.cabal+4−3 servant-machines/servant-machines.cabal+1 servant-pipes/servant-pipes.cabal+1 servant-server/servant-server.cabal+3−2 servant/servant.cabal+3−2
.travis.yml+45−27
@@ -4,7 +4,7 @@
44#
55# For more information, see https://github.com/haskell-CI/haskell-ci
66#
7−# version: 0.5.20190908
7+# version: 0.5.20190916
88#
99language: c
1010dist: xenial
@@ -33,6 +33,8 @@ matrix:
3333 include:
3434 - compiler: ghcjs-8.4
3535 addons: {"apt":{"sources":["hvr-ghc"],"packages":["cabal-install-3.0"]}}
36+ - compiler: ghc-8.8.1
37+ addons: {"apt":{"sources":["hvr-ghc"],"packages":["ghc-8.8.1","cabal-install-3.0"]}}
3638 - compiler: ghc-8.6.5
3739 addons: {"apt":{"sources":["hvr-ghc"],"packages":["ghc-8.6.5","cabal-install-3.0"]}}
3840 - compiler: ghc-8.4.4
@@ -124,7 +126,7 @@ install:
124126 - cat $CABALHOME/config
125127 - rm -fv cabal.project cabal.project.local cabal.project.freeze
126128 - travis_retry ${CABAL} v2-update -v
127− - if $GHCJS ; then (cd /tmp && ${CABAL} v2-install -w ghc-8.4.4 cabal-plan | color_cabal_output) ; fi
129+ - if $GHCJS ; then (cd /tmp && ${CABAL} v2-install -w ghc-8.4.4 cabal-plan --constraint='cabal-plan ^>=0.6.0.0' --constraint='cabal-plan +exe' | color_cabal_output) ; fi
128130 - if $GHCJS ; then (cd /tmp && ${CABAL} v2-install -w ghc-8.4.4 hspec-discover | color_cabal_output) ; fi
129131 # Generate cabal.project
130132 - rm -rf cabal.project cabal.project.local cabal.project.freeze
@@ -132,7 +134,6 @@ install:
132134 - |
133135 echo "packages: servant" >> cabal.project
134136 if ! $GHCJS ; then echo "packages: servant-client" >> cabal.project ; fi
135− echo "packages: servant-jsaddle" >> cabal.project
136137 echo "packages: servant-client-core" >> cabal.project
137138 if ! $GHCJS ; then echo "packages: servant-http-streams" >> cabal.project ; fi
138139 if ! $GHCJS ; then echo "packages: servant-docs" >> cabal.project ; fi
@@ -142,14 +143,13 @@ install:
142143 if ! $GHCJS ; then echo "packages: servant-machines" >> cabal.project ; fi
143144 if ! $GHCJS ; then echo "packages: servant-conduit" >> cabal.project ; fi
144145 if ! $GHCJS ; then echo "packages: servant-pipes" >> cabal.project ; fi
146+ if $GHCJS || ! $GHCJS && [ $HCNUMVER -lt 80800 ] ; then echo "packages: servant-jsaddle" >> cabal.project ; fi
145147 if ! $GHCJS && [ $HCNUMVER -ge 80400 ] ; then echo "packages: doc/cookbook/basic-auth" >> cabal.project ; fi
146148 if ! $GHCJS && [ $HCNUMVER -ge 80400 ] ; then echo "packages: doc/cookbook/curl-mock" >> cabal.project ; fi
147149 if ! $GHCJS && [ $HCNUMVER -ge 80400 ] ; then echo "packages: doc/cookbook/basic-streaming" >> cabal.project ; fi
148150 if ! $GHCJS && [ $HCNUMVER -ge 80400 ] ; then echo "packages: doc/cookbook/db-postgres-pool" >> cabal.project ; fi
149− if ! $GHCJS && [ $HCNUMVER -ge 80400 ] ; then echo "packages: doc/cookbook/db-sqlite-simple" >> cabal.project ; fi
150151 if ! $GHCJS && [ $HCNUMVER -ge 80400 ] ; then echo "packages: doc/cookbook/file-upload" >> cabal.project ; fi
151152 if ! $GHCJS && [ $HCNUMVER -ge 80400 ] ; then echo "packages: doc/cookbook/generic" >> cabal.project ; fi
152− if ! $GHCJS && [ $HCNUMVER -ge 80400 ] ; then echo "packages: doc/cookbook/https" >> cabal.project ; fi
153153 if ! $GHCJS && [ $HCNUMVER -ge 80400 ] ; then echo "packages: doc/cookbook/pagination" >> cabal.project ; fi
154154 if ! $GHCJS && [ $HCNUMVER -ge 80400 ] ; then echo "packages: doc/cookbook/testing" >> cabal.project ; fi
155155 if ! $GHCJS && [ $HCNUMVER -ge 80400 ] ; then echo "packages: doc/cookbook/structuring-apis" >> cabal.project ; fi
@@ -158,24 +158,21 @@ install:
158158 - |
159159 echo "constraints: foundation >=0.0.14" >> cabal.project
160160 echo "constraints: memory <0.14.12 || >0.14.12" >> cabal.project
161− echo "allow-newer: servant-quickcheck:servant" >> cabal.project
162− echo "allow-newer: servant-quickcheck:servant-client" >> cabal.project
163− echo "allow-newer: servant-quickcheck:servant-server" >> cabal.project
164− echo "allow-newer: servant-quickcheck:hspec" >> cabal.project
165− echo "allow-newer: servant-quickcheck:http-client" >> cabal.project
161+ echo "constraints: sqlite-simple < 0" >> cabal.project
162+ echo "allow-newer: aeson-pretty-0.8.7:base-compat" >> cabal.project
166163 echo "allow-newer: vault-0.3.1.2:hashable" >> cabal.project
167164 echo "allow-newer: psqueues-0.2.7.1:hashable" >> cabal.project
168165 echo "allow-newer: sqlite-simple-0.4.16.0:semigroups" >> cabal.project
169166 echo "allow-newer: direct-sqlite-2.3.24:semigroups" >> cabal.project
170167 echo "allow-newer: io-streams-1.5.1.0:network" >> cabal.project
168+ echo "allow-newer: io-streams-1.5.1.0:primitive" >> cabal.project
171169 echo "allow-newer: openssl-streams-1.2.2.0:network" >> cabal.project
172170 echo "optimization: False" >> cabal.project
173− - "for pkg in $($HCPKG list --simple-output); do echo $pkg | sed 's/-[^-]*$//' | (grep -vE -- '^(cookbook-basic-auth|cookbook-basic-streaming|cookbook-curl-mock|cookbook-db-postgres-pool|cookbook-db-sqlite-simple|cookbook-file-upload|cookbook-generic|cookbook-https|cookbook-pagination|cookbook-structuring-apis|cookbook-testing|cookbook-using-custom-monad|cookbook-using-free-client|servant|servant-client|servant-client-core|servant-conduit|servant-docs|servant-foreign|servant-http-streams|servant-jsaddle|servant-machines|servant-pipes|servant-server|tutorial)$' || true) | sed 's/^/constraints: /' | sed 's/$/ installed/' >> cabal.project.local; done"
171+ - "for pkg in $($HCPKG list --simple-output); do echo $pkg | sed 's/-[^-]*$//' | (grep -vE -- '^(cookbook-basic-auth|cookbook-basic-streaming|cookbook-curl-mock|cookbook-db-postgres-pool|cookbook-file-upload|cookbook-generic|cookbook-pagination|cookbook-structuring-apis|cookbook-testing|cookbook-using-custom-monad|cookbook-using-free-client|servant|servant-client|servant-client-core|servant-conduit|servant-docs|servant-foreign|servant-http-streams|servant-jsaddle|servant-machines|servant-pipes|servant-server|tutorial)$' || true) | sed 's/^/constraints: /' | sed 's/$/ installed/' >> cabal.project.local; done"
174172 - cat cabal.project || true
175173 - cat cabal.project.local || true
176174 - if [ -f "servant/configure.ac" ]; then (cd "servant" && autoreconf -i); fi
177175 - if [ -f "servant-client/configure.ac" ]; then (cd "servant-client" && autoreconf -i); fi
178− - if [ -f "servant-jsaddle/configure.ac" ]; then (cd "servant-jsaddle" && autoreconf -i); fi
179176 - if [ -f "servant-client-core/configure.ac" ]; then (cd "servant-client-core" && autoreconf -i); fi
180177 - if [ -f "servant-http-streams/configure.ac" ]; then (cd "servant-http-streams" && autoreconf -i); fi
181178 - if [ -f "servant-docs/configure.ac" ]; then (cd "servant-docs" && autoreconf -i); fi
@@ -185,14 +182,13 @@ install:
185182 - if [ -f "servant-machines/configure.ac" ]; then (cd "servant-machines" && autoreconf -i); fi
186183 - if [ -f "servant-conduit/configure.ac" ]; then (cd "servant-conduit" && autoreconf -i); fi
187184 - if [ -f "servant-pipes/configure.ac" ]; then (cd "servant-pipes" && autoreconf -i); fi
185+ - if [ -f "servant-jsaddle/configure.ac" ]; then (cd "servant-jsaddle" && autoreconf -i); fi
188186 - if [ -f "doc/cookbook/basic-auth/configure.ac" ]; then (cd "doc/cookbook/basic-auth" && autoreconf -i); fi
189187 - if [ -f "doc/cookbook/curl-mock/configure.ac" ]; then (cd "doc/cookbook/curl-mock" && autoreconf -i); fi
190188 - if [ -f "doc/cookbook/basic-streaming/configure.ac" ]; then (cd "doc/cookbook/basic-streaming" && autoreconf -i); fi
191189 - if [ -f "doc/cookbook/db-postgres-pool/configure.ac" ]; then (cd "doc/cookbook/db-postgres-pool" && autoreconf -i); fi
192− - if [ -f "doc/cookbook/db-sqlite-simple/configure.ac" ]; then (cd "doc/cookbook/db-sqlite-simple" && autoreconf -i); fi
193190 - if [ -f "doc/cookbook/file-upload/configure.ac" ]; then (cd "doc/cookbook/file-upload" && autoreconf -i); fi
194191 - if [ -f "doc/cookbook/generic/configure.ac" ]; then (cd "doc/cookbook/generic" && autoreconf -i); fi
195− - if [ -f "doc/cookbook/https/configure.ac" ]; then (cd "doc/cookbook/https" && autoreconf -i); fi
196192 - if [ -f "doc/cookbook/pagination/configure.ac" ]; then (cd "doc/cookbook/pagination" && autoreconf -i); fi
197193 - if [ -f "doc/cookbook/testing/configure.ac" ]; then (cd "doc/cookbook/testing" && autoreconf -i); fi
198194 - if [ -f "doc/cookbook/structuring-apis/configure.ac" ]; then (cd "doc/cookbook/structuring-apis" && autoreconf -i); fi
@@ -215,7 +211,6 @@ script:
215211 - find . -maxdepth 1 -type f -name '*.tar.gz' -exec rm '{}' \;
216212 - PKGDIR_servant="$(find . -maxdepth 1 -type d -regex '.*/servant-[0-9.]*')"
217213 - PKGDIR_servant_client="$(find . -maxdepth 1 -type d -regex '.*/servant-client-[0-9.]*')"
218− - PKGDIR_servant_jsaddle="$(find . -maxdepth 1 -type d -regex '.*/servant-jsaddle-[0-9.]*')"
219214 - PKGDIR_servant_client_core="$(find . -maxdepth 1 -type d -regex '.*/servant-client-core-[0-9.]*')"
220215 - PKGDIR_servant_http_streams="$(find . -maxdepth 1 -type d -regex '.*/servant-http-streams-[0-9.]*')"
221216 - PKGDIR_servant_docs="$(find . -maxdepth 1 -type d -regex '.*/servant-docs-[0-9.]*')"
@@ -225,14 +220,13 @@ script:
225220 - PKGDIR_servant_machines="$(find . -maxdepth 1 -type d -regex '.*/servant-machines-[0-9.]*')"
226221 - PKGDIR_servant_conduit="$(find . -maxdepth 1 -type d -regex '.*/servant-conduit-[0-9.]*')"
227222 - PKGDIR_servant_pipes="$(find . -maxdepth 1 -type d -regex '.*/servant-pipes-[0-9.]*')"
223+ - PKGDIR_servant_jsaddle="$(find . -maxdepth 1 -type d -regex '.*/servant-jsaddle-[0-9.]*')"
228224 - PKGDIR_cookbook_basic_auth="$(find . -maxdepth 1 -type d -regex '.*/cookbook-basic-auth-[0-9.]*')"
229225 - PKGDIR_cookbook_curl_mock="$(find . -maxdepth 1 -type d -regex '.*/cookbook-curl-mock-[0-9.]*')"
230226 - PKGDIR_cookbook_basic_streaming="$(find . -maxdepth 1 -type d -regex '.*/cookbook-basic-streaming-[0-9.]*')"
231227 - PKGDIR_cookbook_db_postgres_pool="$(find . -maxdepth 1 -type d -regex '.*/cookbook-db-postgres-pool-[0-9.]*')"
232− - PKGDIR_cookbook_db_sqlite_simple="$(find . -maxdepth 1 -type d -regex '.*/cookbook-db-sqlite-simple-[0-9.]*')"
233228 - PKGDIR_cookbook_file_upload="$(find . -maxdepth 1 -type d -regex '.*/cookbook-file-upload-[0-9.]*')"
234229 - PKGDIR_cookbook_generic="$(find . -maxdepth 1 -type d -regex '.*/cookbook-generic-[0-9.]*')"
235− - PKGDIR_cookbook_https="$(find . -maxdepth 1 -type d -regex '.*/cookbook-https-[0-9.]*')"
236230 - PKGDIR_cookbook_pagination="$(find . -maxdepth 1 -type d -regex '.*/cookbook-pagination-[0-9.]*')"
237231 - PKGDIR_cookbook_testing="$(find . -maxdepth 1 -type d -regex '.*/cookbook-testing-[0-9.]*')"
238232 - PKGDIR_cookbook_structuring_apis="$(find . -maxdepth 1 -type d -regex '.*/cookbook-structuring-apis-[0-9.]*')"
@@ -244,7 +238,6 @@ script:
244238 - |
245239 echo "packages: ${PKGDIR_servant}" >> cabal.project
246240 if ! $GHCJS ; then echo "packages: ${PKGDIR_servant_client}" >> cabal.project ; fi
247− echo "packages: ${PKGDIR_servant_jsaddle}" >> cabal.project
248241 echo "packages: ${PKGDIR_servant_client_core}" >> cabal.project
249242 if ! $GHCJS ; then echo "packages: ${PKGDIR_servant_http_streams}" >> cabal.project ; fi
250243 if ! $GHCJS ; then echo "packages: ${PKGDIR_servant_docs}" >> cabal.project ; fi
@@ -254,14 +247,13 @@ script:
254247 if ! $GHCJS ; then echo "packages: ${PKGDIR_servant_machines}" >> cabal.project ; fi
255248 if ! $GHCJS ; then echo "packages: ${PKGDIR_servant_conduit}" >> cabal.project ; fi
256249 if ! $GHCJS ; then echo "packages: ${PKGDIR_servant_pipes}" >> cabal.project ; fi
250+ if $GHCJS || ! $GHCJS && [ $HCNUMVER -lt 80800 ] ; then echo "packages: ${PKGDIR_servant_jsaddle}" >> cabal.project ; fi
257251 if ! $GHCJS && [ $HCNUMVER -ge 80400 ] ; then echo "packages: ${PKGDIR_cookbook_basic_auth}" >> cabal.project ; fi
258252 if ! $GHCJS && [ $HCNUMVER -ge 80400 ] ; then echo "packages: ${PKGDIR_cookbook_curl_mock}" >> cabal.project ; fi
259253 if ! $GHCJS && [ $HCNUMVER -ge 80400 ] ; then echo "packages: ${PKGDIR_cookbook_basic_streaming}" >> cabal.project ; fi
260254 if ! $GHCJS && [ $HCNUMVER -ge 80400 ] ; then echo "packages: ${PKGDIR_cookbook_db_postgres_pool}" >> cabal.project ; fi
261− if ! $GHCJS && [ $HCNUMVER -ge 80400 ] ; then echo "packages: ${PKGDIR_cookbook_db_sqlite_simple}" >> cabal.project ; fi
262255 if ! $GHCJS && [ $HCNUMVER -ge 80400 ] ; then echo "packages: ${PKGDIR_cookbook_file_upload}" >> cabal.project ; fi
263256 if ! $GHCJS && [ $HCNUMVER -ge 80400 ] ; then echo "packages: ${PKGDIR_cookbook_generic}" >> cabal.project ; fi
264− if ! $GHCJS && [ $HCNUMVER -ge 80400 ] ; then echo "packages: ${PKGDIR_cookbook_https}" >> cabal.project ; fi
265257 if ! $GHCJS && [ $HCNUMVER -ge 80400 ] ; then echo "packages: ${PKGDIR_cookbook_pagination}" >> cabal.project ; fi
266258 if ! $GHCJS && [ $HCNUMVER -ge 80400 ] ; then echo "packages: ${PKGDIR_cookbook_testing}" >> cabal.project ; fi
267259 if ! $GHCJS && [ $HCNUMVER -ge 80400 ] ; then echo "packages: ${PKGDIR_cookbook_structuring_apis}" >> cabal.project ; fi
@@ -270,21 +262,47 @@ script:
270262 - |
271263 echo "constraints: foundation >=0.0.14" >> cabal.project
272264 echo "constraints: memory <0.14.12 || >0.14.12" >> cabal.project
273− echo "allow-newer: servant-quickcheck:servant" >> cabal.project
274− echo "allow-newer: servant-quickcheck:servant-client" >> cabal.project
275− echo "allow-newer: servant-quickcheck:servant-server" >> cabal.project
276− echo "allow-newer: servant-quickcheck:hspec" >> cabal.project
277− echo "allow-newer: servant-quickcheck:http-client" >> cabal.project
265+ echo "constraints: sqlite-simple < 0" >> cabal.project
266+ echo "allow-newer: aeson-pretty-0.8.7:base-compat" >> cabal.project
278267 echo "allow-newer: vault-0.3.1.2:hashable" >> cabal.project
279268 echo "allow-newer: psqueues-0.2.7.1:hashable" >> cabal.project
280269 echo "allow-newer: sqlite-simple-0.4.16.0:semigroups" >> cabal.project
281270 echo "allow-newer: direct-sqlite-2.3.24:semigroups" >> cabal.project
282271 echo "allow-newer: io-streams-1.5.1.0:network" >> cabal.project
272+ echo "allow-newer: io-streams-1.5.1.0:primitive" >> cabal.project
283273 echo "allow-newer: openssl-streams-1.2.2.0:network" >> cabal.project
284274 echo "optimization: False" >> cabal.project
285− - "for pkg in $($HCPKG list --simple-output); do echo $pkg | sed 's/-[^-]*$//' | (grep -vE -- '^(cookbook-basic-auth|cookbook-basic-streaming|cookbook-curl-mock|cookbook-db-postgres-pool|cookbook-db-sqlite-simple|cookbook-file-upload|cookbook-generic|cookbook-https|cookbook-pagination|cookbook-structuring-apis|cookbook-testing|cookbook-using-custom-monad|cookbook-using-free-client|servant|servant-client|servant-client-core|servant-conduit|servant-docs|servant-foreign|servant-http-streams|servant-jsaddle|servant-machines|servant-pipes|servant-server|tutorial)$' || true) | sed 's/^/constraints: /' | sed 's/$/ installed/' >> cabal.project.local; done"
275+ - "for pkg in $($HCPKG list --simple-output); do echo $pkg | sed 's/-[^-]*$//' | (grep -vE -- '^(cookbook-basic-auth|cookbook-basic-streaming|cookbook-curl-mock|cookbook-db-postgres-pool|cookbook-file-upload|cookbook-generic|cookbook-pagination|cookbook-structuring-apis|cookbook-testing|cookbook-using-custom-monad|cookbook-using-free-client|servant|servant-client|servant-client-core|servant-conduit|servant-docs|servant-foreign|servant-http-streams|servant-jsaddle|servant-machines|servant-pipes|servant-server|tutorial)$' || true) | sed 's/^/constraints: /' | sed 's/$/ installed/' >> cabal.project.local; done"
286276 - cat cabal.project || true
287277 - cat cabal.project.local || true
278+ - |
279+ pkgdir() {
280+ case $1 in
281+ servant) echo ${PKGDIR_servant} ;;
282+ servant-client) echo ${PKGDIR_servant_client} ;;
283+ servant-client-core) echo ${PKGDIR_servant_client_core} ;;
284+ servant-http-streams) echo ${PKGDIR_servant_http_streams} ;;
285+ servant-docs) echo ${PKGDIR_servant_docs} ;;
286+ servant-foreign) echo ${PKGDIR_servant_foreign} ;;
287+ servant-server) echo ${PKGDIR_servant_server} ;;
288+ tutorial) echo ${PKGDIR_tutorial} ;;
289+ servant-machines) echo ${PKGDIR_servant_machines} ;;
290+ servant-conduit) echo ${PKGDIR_servant_conduit} ;;
291+ servant-pipes) echo ${PKGDIR_servant_pipes} ;;
292+ servant-jsaddle) echo ${PKGDIR_servant_jsaddle} ;;
293+ cookbook-basic-auth) echo ${PKGDIR_cookbook_basic_auth} ;;
294+ cookbook-curl-mock) echo ${PKGDIR_cookbook_curl_mock} ;;
295+ cookbook-basic-streaming) echo ${PKGDIR_cookbook_basic_streaming} ;;
296+ cookbook-db-postgres-pool) echo ${PKGDIR_cookbook_db_postgres_pool} ;;
297+ cookbook-file-upload) echo ${PKGDIR_cookbook_file_upload} ;;
298+ cookbook-generic) echo ${PKGDIR_cookbook_generic} ;;
299+ cookbook-pagination) echo ${PKGDIR_cookbook_pagination} ;;
300+ cookbook-testing) echo ${PKGDIR_cookbook_testing} ;;
301+ cookbook-structuring-apis) echo ${PKGDIR_cookbook_structuring_apis} ;;
302+ cookbook-using-custom-monad) echo ${PKGDIR_cookbook_using_custom_monad} ;;
303+ cookbook-using-free-client) echo ${PKGDIR_cookbook_using_free_client} ;;
304+ esac
305+ }
288306 - echo -en 'travis_fold:end:unpack\\r'
289307 # Building with tests and benchmarks...
290308 - echo 'Building with tests and benchmarks...' && echo -en 'travis_fold:start:build-everything\\r'
@@ -293,7 +311,7 @@ script:
293311 - echo -en 'travis_fold:end:build-everything\\r'
294312 # Testing...
295313 - if ! $GHCJS ; then ${CABAL} v2-test $WITHCOMPILER ${TEST} ${BENCH} all | color_cabal_output ; fi
296− - if $GHCJS ; then for testexe in $(cabal-plan list-bins '*:test:*' | awk '{ print $2 }'); do echo $testexe; nodejs ${testexe}.jsexe/all.js; done ; fi
314+ - if $GHCJS ; then cabal-plan list-bins '*:test:*' | while read -r line; do testpkg=$(echo "$line" | perl -pe 's/:.*//'); testexe=$(echo "$line" | awk '{ print $2 }'); echo "testing $textexe in package $textpkg"; (cd "$(pkgdir $testpkg)" && nodejs "$testexe".jsexe/all.js); done ; fi
297315 # haddock...
298316 - echo 'haddock...' && echo -en 'travis_fold:start:haddock\\r'
299317 - if ! $GHCJS ; then ${CABAL} v2-haddock $WITHCOMPILER --with-haddock $HADDOCK ${TEST} ${BENCH} all | color_cabal_output ; fi
cabal.project+15−20
@@ -1,7 +1,6 @@
11packages:
22 servant/
33 servant-client/
4− servant-jsaddle/
54 servant-client-core/
65 servant-http-streams/
76 servant-docs/
@@ -9,21 +8,27 @@ packages:
98 servant-server/
109 doc/tutorial/
1110
11+-- servant streaming
12+packages:
1213 servant-machines/
1314 servant-conduit/
1415 servant-pipes/
1516
16− -- doc/cookbook/*/*.cabal
17+-- servant GHCJS
18+packages:
19+ servant-jsaddle/
1720
21+-- Cookbooks
22+packages:
1823 doc/cookbook/basic-auth
1924 doc/cookbook/curl-mock
2025 doc/cookbook/basic-streaming
2126 doc/cookbook/db-postgres-pool
22− doc/cookbook/db-sqlite-simple
27+-- doc/cookbook/db-sqlite-simple
2328 doc/cookbook/file-upload
2429 doc/cookbook/generic
2530 -- doc/cookbook/hoist-server-with-context
26− doc/cookbook/https
31+-- doc/cookbook/https
2732 -- doc/cookbook/jwt-and-basic-auth/
2833 doc/cookbook/pagination
2934 -- doc/cookbook/sentry
@@ -44,26 +49,16 @@ constraints:
4449 foundation >=0.0.14,
4550 memory <0.14.12 || >0.14.12
4651
47−allow-newer:
48−-- servant-pagination:servant, servant-pagination:servant-server,
49−-- servant-multipart:servant, servant-multipart:servant-server,
50−-- servant-auth-server:servant, servant-auth-server:servant-server,
51−-- servant-js:servant, servant-js:servant-foreign
52−
53−-- servant-quickcheck
54−allow-newer:
55− servant-quickcheck:servant, servant-quickcheck:servant-client, servant-quickcheck:servant-server,
56− servant-quickcheck:hspec,
57− servant-quickcheck:http-client
58−
59−-- constraints: semigroups ^>=0.19
60−-- constraints: hashable ^>=1.3
61−-- constraints: network ^>=3.1
62−-- constraints: machines ^>=0.7
52+allow-newer: aeson-pretty-0.8.7:base-compat
6353
6454allow-newer: vault-0.3.1.2:hashable
6555allow-newer: psqueues-0.2.7.1:hashable
6656allow-newer: sqlite-simple-0.4.16.0:semigroups
6757allow-newer: direct-sqlite-2.3.24:semigroups
6858allow-newer: io-streams-1.5.1.0:network
59+allow-newer: io-streams-1.5.1.0:primitive
6960allow-newer: openssl-streams-1.2.2.0:network
61+
62+-- MonadFail
63+-- https://github.com/nurpax/sqlite-simple/issues/74
64+constraints: sqlite-simple < 0
doc/cookbook/basic-auth/basic-auth.cabal+1−1
@@ -8,7 +8,7 @@ author: Servant Contributors
88maintainer: haskell-servant-maintainers@googlegroups.com
99build-type: Simple
1010cabal-version: >=1.10
11−tested-with: GHC==8.4.4, GHC==8.6.5
11+tested-with: GHC==8.4.4, GHC==8.6.5, GHC==8.8.1
1212
1313executable cookbook-basic-auth
1414 main-is: BasicAuth.lhs
doc/cookbook/basic-streaming/basic-streaming.cabal+2−2
@@ -8,7 +8,7 @@ author: Servant Contributors
88maintainer: haskell-servant-maintainers@googlegroups.com
99build-type: Simple
1010cabal-version: >=1.10
11−tested-with: GHC==8.4.4, GHC==8.6.5
11+tested-with: GHC==8.4.4, GHC==8.6.5, GHC==8.8.1
1212
1313executable cookbook-basic-streaming
1414 main-is: Streaming.lhs
@@ -17,7 +17,7 @@ executable cookbook-basic-streaming
1717 ghc-options: -Wall -pgmL markdown-unlit -threaded -rtsopts
1818
1919 hs-source-dirs: .
20− build-depends: base >= 4.8 && <4.13
20+ build-depends: base >= 4.8 && <5
2121 , aeson
2222 , bytestring
2323 , servant
doc/cookbook/curl-mock/curl-mock.cabal+1−1
@@ -8,7 +8,7 @@ author: Servant Contributors
88maintainer: haskell-servant-maintainers@googlegroups.com
99build-type: Simple
1010cabal-version: >=1.10
11−tested-with: GHC==8.4.4, GHC==8.6.5
11+tested-with: GHC==8.4.4, GHC==8.6.5, GHC==8.8.1
1212
1313executable cookbock-curl-mock
1414 main-is: CurlMock.lhs
doc/cookbook/db-postgres-pool/db-postgres-pool.cabal+1−1
@@ -8,7 +8,7 @@ author: Servant Contributors
88maintainer: haskell-servant-maintainers@googlegroups.com
99build-type: Simple
1010cabal-version: >=1.10
11−tested-with: GHC==8.4.4, GHC==8.6.5
11+tested-with: GHC==8.4.4, GHC==8.6.5, GHC==8.8.1
1212
1313executable cookbook-db-postgres-pool
1414 main-is: PostgresPool.lhs
doc/cookbook/db-sqlite-simple/db-sqlite-simple.cabal+1−1
@@ -8,7 +8,7 @@ author: Servant Contributors
88maintainer: haskell-servant-maintainers@googlegroups.com
99build-type: Simple
1010cabal-version: >=1.10
11−tested-with: GHC==8.4.4, GHC==8.6.5
11+tested-with: GHC==8.4.4, GHC==8.6.5, GHC==8.8.1
1212
1313executable cookbook-db-sqlite-simple
1414 main-is: DBConnection.lhs
doc/cookbook/file-upload/file-upload.cabal+1−1
@@ -8,7 +8,7 @@ author: Servant Contributors
88maintainer: haskell-servant-maintainers@googlegroups.com
99build-type: Simple
1010cabal-version: >=1.10
11−tested-with: GHC==8.4.4, GHC==8.6.5
11+tested-with: GHC==8.4.4, GHC==8.6.5, GHC==8.8.1
1212
1313executable cookbook-file-upload
1414 main-is: FileUpload.lhs
doc/cookbook/generic/generic.cabal+1−1
@@ -8,7 +8,7 @@ author: Servant Contributors
88maintainer: haskell-servant-maintainers@googlegroups.com
99build-type: Simple
1010cabal-version: >=1.10
11−tested-with: GHC==8.4.4, GHC==8.6.5
11+tested-with: GHC==8.4.4, GHC==8.6.5, GHC==8.8.1
1212
1313executable cookbook-using-custom-monad
1414 main-is: Generic.lhs
doc/cookbook/hoist-server-with-context/hoist-server-with-context.cabal+1−1
@@ -11,7 +11,7 @@ maintainer: haskell-servant-maintainers@googlegroups.com
1111category: Servant
1212build-type: Simple
1313cabal-version: >=1.10
14−tested-with: GHC==8.4.4, GHC==8.6.5
14+tested-with: GHC==8.4.4, GHC==8.6.5, GHC==8.8.1
1515
1616executable cookbook-hoist-server-with-context
1717 main-is: HoistServerWithContext.lhs
doc/cookbook/https/https.cabal+1−1
@@ -8,7 +8,7 @@ author: Servant Contributors
88maintainer: haskell-servant-maintainers@googlegroups.com
99build-type: Simple
1010cabal-version: >=1.10
11−tested-with: GHC==8.4.4, GHC==8.6.5
11+tested-with: GHC==8.4.4, GHC==8.6.5, GHC==8.8.1
1212
1313executable cookbook-https
1414 main-is: Https.lhs
doc/cookbook/jwt-and-basic-auth/jwt-and-basic-auth.cabal+1−1
@@ -11,7 +11,7 @@ maintainer: haskell-servant-maintainers@googlegroups.com
1111category: Servant
1212build-type: Simple
1313cabal-version: >=1.10
14−tested-with: GHC==8.4.4, GHC==8.6.5
14+tested-with: GHC==8.4.4, GHC==8.6.5, GHC==8.8.1
1515
1616executable cookbook-jwt-and-basic-auth
1717 main-is: JWTAndBasicAuth.lhs
doc/cookbook/pagination/pagination.cabal+2−2
@@ -8,14 +8,14 @@ author: Servant Contributors
88maintainer: haskell-servant-maintainers@googlegroups.com
99build-type: Simple
1010cabal-version: >=1.10
11−tested-with: GHC==8.4.4, GHC==8.6.5
11+tested-with: GHC==8.4.4, GHC==8.6.5, GHC==8.8.1
1212
1313executable cookbook-pagination
1414 main-is: Pagination.lhs
1515 build-tool-depends: markdown-unlit:markdown-unlit
1616 default-language: Haskell2010
1717 ghc-options: -Wall -pgmL markdown-unlit
18− build-depends: base >= 4.8 && <4.13
18+ build-depends: base >= 4.9 && <5
1919 , aeson
2020 , servant
2121 , servant-server
doc/cookbook/sentry/sentry.cabal+1−1
@@ -8,7 +8,7 @@ author: Servant Contributors
88maintainer: haskell-servant-maintainers@googlegroups.com
99build-type: Simple
1010cabal-version: >=1.10
11−tested-with: GHC==8.4.4, GHC==8.6.5
11+tested-with: GHC==8.4.4, GHC==8.6.5, GHC==8.8.1
1212
1313executable cookbook-sentry
1414 main-is: Sentry.lhs
doc/cookbook/structuring-apis/structuring-apis.cabal+1−1
@@ -8,7 +8,7 @@ author: Servant Contributors
88maintainer: haskell-servant-maintainers@googlegroups.com
99build-type: Simple
1010cabal-version: >=1.10
11−tested-with: GHC==8.4.4, GHC==8.6.5
11+tested-with: GHC==8.4.4, GHC==8.6.5, GHC==8.8.1
1212
1313executable cookbook-structuring-apis
1414 main-is: StructuringApis.lhs
doc/cookbook/testing/testing.cabal+1−1
@@ -10,7 +10,7 @@ maintainer: haskell-servant-maintainers@googlegroups.com
1010category: Servant
1111build-type: Simple
1212cabal-version: >=1.10
13−tested-with: GHC==8.4.4, GHC==8.6.5
13+tested-with: GHC==8.4.4, GHC==8.6.5, GHC==8.8.1
1414
1515executable cookbook-testing
1616 main-is: Testing.lhs
doc/cookbook/using-custom-monad/using-custom-monad.cabal+1−1
@@ -8,7 +8,7 @@ author: Servant Contributors
88maintainer: haskell-servant-maintainers@googlegroups.com
99build-type: Simple
1010cabal-version: >=1.10
11−tested-with: GHC==8.4.4, GHC==8.6.5
11+tested-with: GHC==8.4.4, GHC==8.6.5, GHC==8.8.1
1212
1313executable cookbook-using-custom-monad
1414 main-is: UsingCustomMonad.lhs
doc/cookbook/using-free-client/using-free-client.cabal+1−1
@@ -8,7 +8,7 @@ author: Servant Contributors
88maintainer: haskell-servant-maintainers@googlegroups.com
99build-type: Simple
1010cabal-version: >=1.10
11−tested-with: GHC==8.4.4, GHC==8.6.5
11+tested-with: GHC==8.4.4, GHC==8.6.5, GHC==8.8.1
1212
1313executable cookbook-using-free-client
1414 main-is: UsingFreeClient.lhs
doc/tutorial/tutorial.cabal+3−2
@@ -17,6 +17,7 @@ tested-with:
1717 GHC==8.2.2
1818 GHC==8.4.4
1919 GHC==8.6.5
20+ GHC==8.8.1
2021extra-source-files:
2122 static/index.html
2223 static/ui.js
@@ -34,7 +35,7 @@ library
3435 -- Packages `servant` depends on.
3536 -- We don't need to specify bounds here as this package is never released.
3637 build-depends:
37− base >= 4.7 && <4.13
38+ base >= 4.7 && <5
3839 , aeson
3940 , attoparsec
4041 , base-compat
@@ -69,7 +70,7 @@ library
6970 , lucid >= 2.9.11 && < 2.10
7071 , random >= 1.1 && < 1.2
7172 , servant-js >= 0.9 && < 0.10
72− , time >= 1.6.0.1 && < 1.9
73+ , time >= 1.6.0.1 && < 1.10
7374
7475 -- For legacy tools, we need to specify build-depends too
7576 build-depends: markdown-unlit >= 0.5.0 && <0.6
servant-client-core/servant-client-core.cabal+4−3
@@ -21,6 +21,7 @@ tested-with:
2121 || ==8.2.2
2222 || ==8.4.4
2323 || ==8.6.5
24+ || ==8.8.1
2425 , GHCJS == 8.4
2526
2627extra-source-files:
@@ -54,13 +55,13 @@ library
5455 --
5556 -- note: mtl lower bound is so low because of GHC-7.8
5657 build-depends:
57− base >= 4.9 && < 4.13
58+ base >= 4.9 && < 4.14
5859 , bytestring >= 0.10.8.1 && < 0.11
5960 , containers >= 0.5.7.1 && < 0.7
6061 , deepseq >= 1.4.2.0 && < 1.5
6162 , text >= 1.2.3.0 && < 1.3
6263 , transformers >= 0.5.2.0 && < 0.6
63− , template-haskell >= 2.11.1.0 && < 2.15
64+ , template-haskell >= 2.11.1.0 && < 2.16
6465
6566 if !impl(ghc >= 8.2)
6667 build-depends:
@@ -74,7 +75,7 @@ library
7475 -- Here can be exceptions if we really need features from the newer versions.
7576 build-depends:
7677 aeson >= 1.4.1.0 && < 1.5
77− , base-compat >= 0.10.5 && < 0.11
78+ , base-compat >= 0.10.5 && < 0.12
7879 , base64-bytestring >= 1.0.0.1 && < 1.1
7980 , exceptions >= 0.10.0 && < 0.11
8081 , free >= 5.1 && < 5.2
servant-client/servant-client.cabal+4−3
@@ -25,6 +25,7 @@ tested-with:
2525 || ==8.2.2
2626 || ==8.4.4
2727 || ==8.6.5
28+ || ==8.8.1
2829
2930extra-source-files:
3031 CHANGELOG.md
@@ -44,14 +45,14 @@ library
4445 -- Bundled with GHC: Lower bound to not force re-installs
4546 -- text and mtl are bundled starting with GHC-8.4
4647 build-depends:
47− base >= 4.9 && < 4.13
48+ base >= 4.9 && < 4.14
4849 , bytestring >= 0.10.8.1 && < 0.11
4950 , containers >= 0.5.7.1 && < 0.7
5051 , deepseq >= 1.4.2.0 && < 1.5
5152 , mtl >= 2.2.2 && < 2.3
5253 , stm >= 2.4.5.1 && < 2.6
5354 , text >= 1.2.3.0 && < 1.3
54− , time >= 1.6.0.1 && < 1.9
55+ , time >= 1.6.0.1 && < 1.10
5556 , transformers >= 0.5.2.0 && < 0.6
5657
5758 if !impl(ghc >= 8.2)
@@ -67,7 +68,7 @@ library
6768 -- Other dependencies: Lower bound around what is in the latest Stackage LTS.
6869 -- Here can be exceptions if we really need features from the newer versions.
6970 build-depends:
70− base-compat >= 0.10.5 && < 0.11
71+ base-compat >= 0.10.5 && < 0.12
7172 , http-client >= 0.5.13.1 && < 0.7
7273 , http-media >= 0.7.1.3 && < 0.9
7374 , http-types >= 0.12.2 && < 0.13
servant-conduit/servant-conduit.cabal+1
@@ -22,6 +22,7 @@ tested-with:
2222 || ==8.2.2
2323 || ==8.4.4
2424 || ==8.6.5
25+ || ==8.8.1
2526
2627extra-source-files:
2728 CHANGELOG.md
servant-docs/CHANGELOG.md+5
@@ -1,6 +1,11 @@
11[The latest version of this document is on GitHub.](https://github.com/haskell-servant/servant/blob/master/servant-docs/CHANGELOG.md)
22[Changelog for `servant` package contains significant entries for all core packages.](https://github.com/haskell-servant/servant/blob/master/servant/CHANGELOG.md)
33
4+0.11.4
5+------
6+
7+- Drop dependency on `control-monad-omega` in favor of `Data.Universe.Helpers` from `universe-base`.
8+
490.11.3
510------
611
servant-docs/servant-docs.cabal+6−6
@@ -1,7 +1,6 @@
11cabal-version: >=1.10
22name: servant-docs
3−version: 0.11.3
4−x-revision: 1
3+version: 0.11.4
54
65synopsis: generate API docs for your servant webservice
76category: Servant, Web
@@ -25,6 +24,7 @@ tested-with:
2524 || ==8.2.2
2625 || ==8.4.4
2726 || ==8.6.5
27+ || ==8.8.1
2828
2929extra-source-files:
3030 CHANGELOG.md
@@ -46,7 +46,7 @@ library
4646 --
4747 -- note: mtl lower bound is so low because of GHC-7.8
4848 build-depends:
49− base >= 4.9 && < 4.13
49+ base >= 4.9 && < 4.14
5050 , bytestring >= 0.10.8.1 && < 0.11
5151 , text >= 1.2.3.0 && < 1.3
5252
@@ -59,14 +59,14 @@ library
5959 build-depends:
6060 aeson >= 1.4.1.0 && < 1.5
6161 , aeson-pretty >= 0.8.5 && < 0.9
62− , base-compat >= 0.10.5 && < 0.11
62+ , base-compat >= 0.10.5 && < 0.12
6363 , case-insensitive >= 1.2.0.11 && < 1.3
64− , control-monad-omega >= 0.3.1 && < 0.4
6564 , hashable >= 1.2.7.0 && < 1.4
6665 , http-media >= 0.7.1.3 && < 0.9
6766 , http-types >= 0.12.2 && < 0.13
68− , lens >= 4.17 && < 4.18
67+ , lens >= 4.17 && < 4.19
6968 , string-conversions >= 0.4.0.1 && < 0.5
69+ , universe-base >= 1.1.1 && < 1.2
7070 , unordered-containers >= 0.2.9.0 && < 0.3
7171
7272 hs-source-dirs: src
servant-docs/src/Servant/Docs/Internal.hs+9−8
@@ -27,7 +27,6 @@ import Control.Arrow
2727import Control.Lens
2828 (makeLenses, mapped, over, traversed, view, (%~), (&), (.~),
2929 (<>~), (^.), (|>))
30−import qualified Control.Monad.Omega as Omega
3130import qualified Data.ByteString.Char8 as BSC
3231import Data.ByteString.Lazy.Char8
3332 (ByteString)
@@ -65,6 +64,8 @@ import Servant.API
6564import Servant.API.ContentTypes
6665import Servant.API.TypeLevel
6766
67+import qualified Data.Universe.Helpers as U
68+
6869import qualified Data.HashMap.Strict as HM
6970import qualified Data.Text as T
7071import qualified Network.HTTP.Media as M
@@ -479,22 +480,22 @@ samples = map ("",)
479480
480481-- | Default sample Generic-based inputs/outputs.
481482defaultSamples :: forall a. (Generic a, GToSample (Rep a)) => Proxy a -> [(Text, a)]
482−defaultSamples _ = Omega.runOmega $ second to <$> gtoSamples (Proxy :: Proxy (Rep a))
483+defaultSamples _ = second to <$> gtoSamples (Proxy :: Proxy (Rep a))
483484
484485-- | @'ToSample'@ for Generics.
485486--
486−-- The use of @'Omega'@ allows for more productive sample generation.
487+-- Note: we use combinators from "Universe.Data.Helpers" for more productive sample generation.
487488class GToSample t where
488− gtoSamples :: proxy t -> Omega.Omega (Text, t x)
489+ gtoSamples :: proxy t -> [(Text, t x)]
489490
490491instance GToSample U1 where
491− gtoSamples _ = Omega.each (singleSample U1)
492+ gtoSamples _ = singleSample U1
492493
493494instance GToSample V1 where
494495 gtoSamples _ = empty
495496
496497instance (GToSample p, GToSample q) => GToSample (p :*: q) where
497− gtoSamples _ = render <$> ps <*> qs
498+ gtoSamples _ = U.cartesianProduct render ps qs
498499 where
499500 ps = gtoSamples (Proxy :: Proxy p)
500501 qs = gtoSamples (Proxy :: Proxy q)
@@ -503,13 +504,13 @@ instance (GToSample p, GToSample q) => GToSample (p :*: q) where
503504 | otherwise = (ta <> ", " <> tb, a :*: b)
504505
505506instance (GToSample p, GToSample q) => GToSample (p :+: q) where
506− gtoSamples _ = lefts <|> rights
507+ gtoSamples _ = lefts U.+++ rights
507508 where
508509 lefts = second L1 <$> gtoSamples (Proxy :: Proxy p)
509510 rights = second R1 <$> gtoSamples (Proxy :: Proxy q)
510511
511512instance ToSample a => GToSample (K1 i a) where
512− gtoSamples _ = second K1 <$> Omega.each (toSamples (Proxy :: Proxy a))
513+ gtoSamples _ = second K1 <$> toSamples (Proxy :: Proxy a)
513514
514515instance (GToSample f) => GToSample (M1 i a f) where
515516 gtoSamples _ = second M1 <$> gtoSamples (Proxy :: Proxy f)
servant-foreign/servant-foreign.cabal+4−3
@@ -27,6 +27,7 @@ tested-with:
2727 || ==8.2.2
2828 || ==8.4.4
2929 || ==8.6.5
30+ || ==8.8.1
3031
3132extra-source-files:
3233 CHANGELOG.md
@@ -46,7 +47,7 @@ library
4647 --
4748 -- note: mtl lower bound is so low because of GHC-7.8
4849 build-depends:
49− base >= 4.9 && < 4.13
50+ base >= 4.9 && < 4.14
5051 , text >= 1.2.3.0 && < 1.3
5152
5253 -- Servant dependencies
@@ -56,8 +57,8 @@ library
5657 -- Other dependencies: Lower bound around what is in the latest Stackage LTS.
5758 -- Here can be exceptions if we really need features from the newer versions.
5859 build-depends:
59− base-compat >= 0.10.5 && < 0.11
60− , lens >= 4.17 && < 4.18
60+ base-compat >= 0.10.5 && < 0.12
61+ , lens >= 4.17 && < 4.19
6162 , http-types >= 0.12.2 && < 0.13
6263
6364 hs-source-dirs: src
servant-http-streams/servant-http-streams.cabal+4−3
@@ -25,6 +25,7 @@ tested-with:
2525 || ==8.2.2
2626 || ==8.4.4
2727 || ==8.6.5
28+ || ==8.8.1
2829
2930extra-source-files:
3031 CHANGELOG.md
@@ -42,13 +43,13 @@ library
4243 -- Bundled with GHC: Lower bound to not force re-installs
4344 -- text and mtl are bundled starting with GHC-8.4
4445 build-depends:
45− base >= 4.9 && < 4.13
46+ base >= 4.9 && < 4.14
4647 , bytestring >= 0.10.8.1 && < 0.11
4748 , containers >= 0.5.7.1 && < 0.7
4849 , deepseq >= 1.4.2.0 && < 1.5
4950 , mtl >= 2.2.2 && < 2.3
5051 , text >= 1.2.3.0 && < 1.3
51− , time >= 1.6.0.1 && < 1.9
52+ , time >= 1.6.0.1 && < 1.10
5253 , transformers >= 0.5.2.0 && < 0.6
5354
5455 if !impl(ghc >= 8.2)
@@ -64,7 +65,7 @@ library
6465 -- Other dependencies: Lower bound around what is in the latest Stackage LTS.
6566 -- Here can be exceptions if we really need features from the newer versions.
6667 build-depends:
67− base-compat >= 0.10.5 && < 0.11
68+ base-compat >= 0.10.5 && < 0.12
6869 , case-insensitive
6970 , http-streams >= 0.8.6.1 && < 0.9
7071 , http-media >= 0.7.1.3 && < 0.9
servant-machines/servant-machines.cabal+1
@@ -22,6 +22,7 @@ tested-with:
2222 || ==8.2.2
2323 || ==8.4.4
2424 || ==8.6.5
25+ || ==8.8.1
2526
2627extra-source-files:
2728 CHANGELOG.md
servant-pipes/servant-pipes.cabal+1
@@ -21,6 +21,7 @@ tested-with:
2121 || ==8.2.2
2222 || ==8.4.4
2323 || ==8.6.5
24+ || ==8.8.1
2425
2526extra-source-files:
2627 CHANGELOG.md
servant-server/servant-server.cabal+3−2
@@ -28,6 +28,7 @@ tested-with:
2828 || ==8.2.2
2929 || ==8.4.4
3030 || ==8.6.5
31+ || ==8.8.1
3132
3233extra-source-files:
3334 CHANGELOG.md
@@ -68,7 +69,7 @@ library
6869 -- Bundled with GHC: Lower bound to not force re-installs
6970 -- text and mtl are bundled starting with GHC-8.4
7071 build-depends:
71− base >= 4.9 && < 4.13
72+ base >= 4.9 && < 4.14
7273 , bytestring >= 0.10.8.1 && < 0.11
7374 , containers >= 0.5.7.1 && < 0.7
7475 , mtl >= 2.2.2 && < 2.3
@@ -85,7 +86,7 @@ library
8586 -- Other dependencies: Lower bound around what is in the latest Stackage LTS.
8687 -- Here can be exceptions if we really need features from the newer versions.
8788 build-depends:
88− base-compat >= 0.10.5 && < 0.11
89+ base-compat >= 0.10.5 && < 0.12
8990 , base64-bytestring >= 1.0.0.1 && < 1.1
9091 , exceptions >= 0.10.0 && < 0.11
9192 , http-media >= 0.7.1.3 && < 0.9
servant/servant.cabal+3−2
@@ -25,6 +25,7 @@ tested-with:
2525 || ==8.2.2
2626 || ==8.4.4
2727 || ==8.6.5
28+ || ==8.8.1
2829 , GHCJS == 8.4
2930
3031extra-source-files:
@@ -89,7 +90,7 @@ library
8990 --
9091 -- note: mtl lower bound is so low because of GHC-7.8
9192 build-depends:
92− base >= 4.9 && < 4.13
93+ base >= 4.9 && < 4.14
9394 , bytestring >= 0.10.8.1 && < 0.11
9495 , mtl >= 2.2.2 && < 2.3
9596 , transformers >= 0.5.2.0 && < 0.6
@@ -105,7 +106,7 @@ library
105106 -- Other dependencies: Lower bound around what is in the latest Stackage LTS.
106107 -- Here can be exceptions if we really need features from the newer versions.
107108 build-depends:
108− base-compat >= 0.10.5 && < 0.11
109+ base-compat >= 0.10.5 && < 0.12
109110 , aeson >= 1.4.1.0 && < 1.5
110111 , attoparsec >= 0.13.2.2 && < 0.14
111112 , bifunctors >= 5.5.3 && < 5.6