git.iko.soy/typeable/servant
on servant-docs-0.11.5 help sign in
53 lines 2.1 kB history raw
1 [The latest version of this document is on GitHub.](https://github.com/haskell-servant/servant/blob/master/servant-http-streams/CHANGELOG.md)
2[Changelog for `servant` package contains significant entries for all core packages.](https://github.com/haskell-servant/servant/blob/master/servant/CHANGELOG.md)
40.17
5----
7### Significant changes
9- Add NoContentVerb [#1028](https://github.com/haskell-servant/servant/issues/1028) [#1219](https://github.com/haskell-servant/servant/pull/1219) [#1228](https://github.com/haskell-servant/servant/pull/1228)
11 The `NoContent` API endpoints should now use `NoContentVerb` combinator.
12 The API type changes are usually of the kind
14 ```diff
15 - :<|> PostNoContent '[JSON] NoContent
16 + :<|> PostNoContent
17 ```
19 i.e. one doesn't need to specify the content-type anymore. There is no content.
21- `Capture` can be `Lenient` [#1155](https://github.com/haskell-servant/servant/issues/1155) [#1156](https://github.com/haskell-servant/servant/pull/1156)
23 You can specify a lenient capture as
25 ```haskell
26 :<|> "capture-lenient" :> Capture' '[Lenient] "foo" Int :> GET
27 ```
29 which will make the capture always succeed. Handlers will be of the
30 type `Either String CapturedType`, where `Left err` represents
31 the possible parse failure.
33### Other changes
35- *servant-client* *servant-client-core* *servant-http-streams* Fix Verb with headers checking content type differently [#1200](https://github.com/haskell-servant/servant/issues/1200) [#1204](https://github.com/haskell-servant/servant/pull/1204)
37 For `Verb`s with response `Headers`, the implementation didn't check
38 for the content-type of the response. Now it does.
40- *servant-client* *servant-http-streams* `HasClient` instance for `Stream` with `Headers` [#1170](https://github.com/haskell-servant/servant/issues/1170) [#1197](https://github.com/haskell-servant/servant/pull/1197)
41- *servant-client* Redact the authorization header in Show and exceptions [#1238](https://github.com/haskell-servant/servant/pull/1238)
450.16.0.1
46--------
48- Allow `base-compat-0.11`
500.16
51----
53- Initial release