summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xCHANGELOG.md10
-rw-r--r--servant-client.cabal17
-rw-r--r--src/Servant/Client/Internal/HttpClient/Streaming.hs2
3 files changed, 19 insertions, 10 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 362ba56..5a056ad 100755
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,14 @@
[The latest version of this document is on GitHub.](https://github.com/haskell-servant/servant/blob/master/servant-client/CHANGELOG.md)
[Changelog for `servant` package contains significant entries for all core packages.](https://github.com/haskell-servant/servant/blob/master/servant/CHANGELOG.md)
+0.18
+----
+
+### Significant changes
+
+- Support for ghc8.8 (#1318, #1326, #1327)
+
+
0.17
----
@@ -198,7 +206,7 @@
- *servant-client-core* Add `hoistClient` to `HasClient`.
Just like `hoistServer` allows us to change the monad in which request handlers
- of a web application live in, we also have `hoistClient` for changing the monad
+ of a web application live, we also have `hoistClient` for changing the monad
in which *client functions* live.
Read [tutorial section for more information](https://docs.servant.dev/en/release-0.14/tutorial/Client.html#changing-the-monad-the-client-functions-live-in).
([#936](https://github.com/haskell-servant/servant/pull/936))
diff --git a/servant-client.cabal b/servant-client.cabal
index bdbecc0..bd5fb45 100644
--- a/servant-client.cabal
+++ b/servant-client.cabal
@@ -1,6 +1,6 @@
cabal-version: >=1.10
name: servant-client
-version: 0.17
+version: 0.18
synopsis: Automatic derivation of querying functions for servant
category: Servant, Web
@@ -25,7 +25,8 @@ tested-with:
|| ==8.2.2
|| ==8.4.4
|| ==8.6.5
- || ==8.8.2
+ || ==8.8.3
+ || ==8.10.1
extra-source-files:
CHANGELOG.md
@@ -45,7 +46,7 @@ library
-- Bundled with GHC: Lower bound to not force re-installs
-- text and mtl are bundled starting with GHC-8.4
build-depends:
- base >= 4.9 && < 4.14
+ base >= 4.9 && < 4.15
, bytestring >= 0.10.8.1 && < 0.11
, containers >= 0.5.7.1 && < 0.7
, deepseq >= 1.4.2.0 && < 1.5
@@ -62,8 +63,8 @@ library
-- Servant dependencies.
-- Strict dependency on `servant-client-core` as we re-export things.
build-depends:
- servant == 0.17.*
- , servant-client-core >= 0.17 && <0.17.1
+ servant == 0.18.*
+ , servant-client-core >= 0.18 && <0.18.1
-- Other dependencies: Lower bound around what is in the latest Stackage LTS.
-- Here can be exceptions if we really need features from the newer versions.
@@ -120,15 +121,15 @@ test-suite spec
, wai
, warp
- -- Additonal dependencies
+ -- Additional dependencies
build-depends:
entropy >= 0.4.1.3 && < 0.5
, hspec >= 2.6.0 && < 2.8
, HUnit >= 1.6.0.0 && < 1.7
, network >= 2.8.0.0 && < 3.2
, QuickCheck >= 2.12.6.1 && < 2.14
- , servant == 0.17.*
- , servant-server == 0.17.*
+ , servant == 0.18.*
+ , servant-server == 0.18.*
, tdigest >= 0.2 && < 0.3
build-tool-depends:
diff --git a/src/Servant/Client/Internal/HttpClient/Streaming.hs b/src/Servant/Client/Internal/HttpClient/Streaming.hs
index 2f5a1cb..2165863 100644
--- a/src/Servant/Client/Internal/HttpClient/Streaming.hs
+++ b/src/Servant/Client/Internal/HttpClient/Streaming.hs
@@ -130,7 +130,7 @@ withClientM cm env k =
-- streaming response types ('SourceT', 'Conduit', pipes 'Proxy' or 'Machine').
-- For those you have to use 'withClientM'.
--
--- /Note:/ we 'force' the result, so the likehood of accidentally leaking a
+-- /Note:/ we 'force' the result, so the likelihood of accidentally leaking a
-- connection is smaller. Use with care.
--
runClientM :: NFData a => ClientM a -> ClientEnv -> IO (Either ClientError a)