Merge pull request #1132 from haskell-servant/changelog-0.16

Add CHANGELOG for 0.16
This commit is contained in:
Oleg Grenrus 2019-02-20 12:31:04 +02:00 committed by GitHub
commit eb2c4b6e07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,12 +1,72 @@
[The latest version of this document is on GitHub.](https://github.com/haskell-servant/servant/blob/master/servant/CHANGELOG.md)
next
0.16
----
### Significant changes
- Rename `ServantError` to `ClientError`, `ServantErr` to `ServerError`
[#1131](https://github.com/haskell-servant/pull/1131)
- *servant-client-core* Rearrange modules. No more `Internal` modules, whole
API is versioned.
[#1130](https://github.com/haskell-servant/pull/1130)
- *servant-http-streams* New package
[#1117](https://github.com/haskell-servant/pull/1117)
- *servant-client-core* `RequestBody` is now
```haskell
= RequestBodyLBS LBS.ByteString
| RequestBodyBS BS.ByteString
| RequestBodySource (SourceIO LBS.ByteString)
```
i.e. no more replicates `http-client`s API.
[#1117](https://github.com/haskell-servant/pull/1117)
- *servant-client-core* Keep structured exceptions in `ConnectionError`
constructor of `ClientError`
[#1115](https://github.com/haskell-servant/pull/1115)
```diff
-| ConnectionError Text
+| ConnectionError SomeException
```
- *servant-client-core* Preserve failing request in `FailureResponse`
constructor of `ClientError`
[#1114](https://github.com/haskell-servant/pull/1114)
```diff
-FailureResponse Response
+-- | The server returned an error response including the
+-- failing request. 'requestPath' includes the 'BaseUrl' and the
+-- path of the request.
+FailureResponse (RequestF () (BaseUrl, BS.ByteString)) Response
```
- *servant-client* Fix (implement) `StreamBody`instance
[#1110](https://github.com/haskell-servant/pull/1110)
### Other changes
- *servant-client* Update CookieJar with intermediate request/responses (redirects)
[#1104](https://github.com/haskell-servant/servant/pull/1104)
- *servant-server* Reorder HTTP failure code priorities
[#1103](https://github.com/haskell-servant/servant/pull/1103)
- Allow `network-3.0`
[#1107](https://github.com/haskell-servant/pull/1107)
- Add `NFData NoContent` instance
[#1090](https://github.com/haskell-servant/pull/1090)
- Documentation updates
[#1127](https://github.com/haskell-servant/pull/1127)
[#1124](https://github.com/haskell-servant/pull/1124)
[#1098](https://github.com/haskell-servant/pull/1098)
- CI updates
[#1123](https://github.com/haskell-servant/pull/1123)
[#1121](https://github.com/haskell-servant/pull/1121)
[#1119](https://github.com/haskell-servant/pull/1119)
0.15
----
@ -185,7 +245,7 @@ next
0.14
----
### Signifacant changes
### Significant changes
- `Stream` takes a status code argument
@ -300,7 +360,7 @@ next
### Note
(VIM) Regular-expression to link PR numbers: `s/\v#(\d+)/[#\1](https:\/\/github.com\/haskell-servant\/servant/pull\/\1)/`
(VIM) Regular-expression to link PR numbers: `s/\v#(\d+)/[#\1](https:\/\/github.com\/haskell-servant\/servant\/pull\/\1)/`
0.13.0.1
--------