[haskell-http-client] fixes for GHC 9 (#10400)

- update stack/deps to LTS 18.10 for ghc-8.10.7
- fixes for GHC 9
- update samples
This commit is contained in:
Jon Schoning
2021-09-14 16:15:58 -05:00
committed by GitHub
parent 9479d35081
commit df877a8cf9
80 changed files with 33681 additions and 6498 deletions

View File

@@ -1,10 +1,8 @@
cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.31.1.
-- This file has been generated from package.yaml by hpack version 0.34.4.
--
-- see: https://github.com/sol/hpack
--
-- hash: 683b4f8e9235d6d2d003d7984f2a2a973c96adb8f3f0687e39d730fbf2e8b221
name: openapi-petstore-app
version: 0.1.0.0
@@ -32,11 +30,11 @@ executable openapi-petstore-app
, case-insensitive
, containers >=0.5.0.0 && <0.8
, http-api-data >=0.3.4 && <0.5
, http-client >=0.5 && <0.7
, http-client >=0.5 && <0.8
, http-client-tls
, http-media >=0.4 && <0.9
, http-media >=0.4
, http-types >=0.8 && <0.13
, microlens >=0.4.3 && <0.5
, microlens >=0.4.3
, mtl >=2.2.1
, openapi-petstore
, text >=0.11 && <1.3

View File

@@ -22,16 +22,16 @@ dependencies:
- aeson >=1.0 && <2.0
- bytestring >=0.10.0 && <0.11
- http-types >=0.8 && <0.13
- http-client >=0.5 && <0.6
- http-client >=0.5 && <0.8
- http-client-tls
- http-api-data >= 0.3.4 && <0.5
- http-media >= 0.4 && < 0.8
- http-media >= 0.4
- text >=0.11 && <1.3
- time (>=1.5 && <1.9) || (>=1.10 && <2.0)
- time
- vector >=0.10.9 && <0.13
- case-insensitive
- openapi-petstore
- microlens >= 0.4.3 && <0.5
- microlens >= 0.4.3
executables:
openapi-petstore-app:
main: Main.hs

View File

@@ -1,2 +1,2 @@
resolver: lts-14.27
resolver: lts-18.10
extra-deps: [ '..' ]

View File

@@ -6,7 +6,7 @@
packages: []
snapshots:
- completed:
size: 524996
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/14/27.yaml
sha256: 7ea31a280c56bf36ff591a7397cc384d0dff622e7f9e4225b47d8980f019a0f0
original: lts-14.27
size: 587546
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/18/10.yaml
sha256: 88b4f81e162ba3adc230a9fcccc4d19ac116377656bab56c7382ca88598b257a
original: lts-18.10