Add #1076 entry
This commit is contained in:
parent
d9dc894ca6
commit
a5d3f44f2a
1 changed files with 15 additions and 4 deletions
|
@ -36,7 +36,7 @@
|
|||
- `Servant.Client.Streaming` is *used* by CPSised
|
||||
`withClientM :: ClientM a -> ClientEnv -> (Either ServantError a -> IO b) -> IO b`
|
||||
|
||||
If you need to access `Stream` endpoints use `Servant.Client.Streaming` with
|
||||
To access `Stream` endpoints use `Servant.Client.Streaming` with
|
||||
`withClientM`; otherwise you can continue using `Servant.Client` with `runClientM`.
|
||||
You can use both too, `ClientEnv` and `BaseUrl` types are same for both.
|
||||
|
||||
|
@ -44,6 +44,14 @@
|
|||
Requesting ordinary `Verb` endpoints (e.g. `Get`) will block until
|
||||
the whole response is received.
|
||||
|
||||
There is `Servant.Client.Streaming.runClientM` function, but it has
|
||||
restricted type. `NFData a` constraint prevents using it with
|
||||
`SourceT`, `Conduit` etc. response types.
|
||||
|
||||
```haskell
|
||||
runClientM :: NFData a => ClientM a -> ClientEnv -> IO (Either ServantError a)
|
||||
```
|
||||
|
||||
This change shouldn't affect you, if you don't use streaming endpoints.
|
||||
|
||||
- Drop support for GHC older than 8.0
|
||||
|
@ -62,6 +70,9 @@
|
|||
|
||||
### Other changes
|
||||
|
||||
- *servant-client-core* Add `NFData (GenResponse a)` and `NFData ServantError` instances.
|
||||
[#1076](https://github.com/haskell-servant/servant/pull/1076)
|
||||
|
||||
- *servant* Add `lookupResponseHeader :: ... => Headers headers r -> ResponseHeader h a`
|
||||
[#1064](https://github.com/haskell-servant/servant/pull/1064)
|
||||
|
||||
|
|
Loading…
Reference in a new issue