git.iko.soy/typeable/servant
on v0.8 help sign in
86 lines 3.6 kB history raw
10.7.1
2------
4* Remove module `Servant.Server.Internal.Enter` (https://github.com/haskell-servant/servant/pull/478)
5* Support GHC 8.0
70.7
8---
10* The `Router` type has been changed. Static router tables should now
11 be properly shared between requests, drastically increasing the
12 number of situations where servers will be able to route requests
13 efficiently. Functions `layout` and `layoutWithContext` have been
14 added to visualize the router layout for debugging purposes. Test
15 cases for expected router layouts have been added.
16* If an endpoint is discovered to have a non-matching "accept header",
17 this is now a recoverable rather than a fatal failure, allowing
18 different endpoints for the same route, but with different content
19 types to be specified modularly.
20* Export `throwError` from module `Servant`
21* Add `Handler` type synonym
230.6.1
24-----
26* If servers use the `BasicAuth` combinator and receive requests with missing or
27 invalid credentials, the resulting error responses (401 and 403) could be
28 overwritten by subsequent alternative routes. Now `BasicAuth` uses `FailFatal`
29 and the error responses can't be overwritten anymore.
310.6
32---
34* Query parameters that can't be parsed result in a `400` (was `404`).
360.5
37---
39* Add `Config` machinery (https://github.com/haskell-servant/servant/pull/327).
40 This is a breaking change, as the signatures of both `route`, `serve` and the
41 typeclass `HasServer` now take an additional parameter.
42* Support for the `HttpVersion`, `IsSecure`, `RemoteHost` and `Vault` combinators
43* Drop `EitherT` in favor of `ExceptT`
44* Use `http-api-data` instead of `Servant.Common.Text`
45* Remove matrix params.
46* Remove `RouteMismatch`.
47* Redefined constructors of `RouteResult`.
48* Added `Delayed` and related functions (`addMethodCheck`, `addAcceptCheck`, `addBodyCheck`, `runDelayed`)
49* Added support for Basic Authentication
50* Add generalized authentication support via the `AuthServerData` type family and `AuthHandler` handler
520.4.1
53-----
54* Bump attoparsec upper bound to < 0.14
55* Bump wai-app-static upper bound to < 3.2
56* Bump either upper bound to < 4.5
580.4
59---
60* `Delete` now is like `Get`, `Post`, `Put`, and `Patch` and returns a response body
61* Add a `RouteMismatch` constructor for arbitrary HTTP response codes (https://github.com/haskell-servant/servant-server/pull/22)
62* Add support for the `Patch` combinator
63* Support for `Accept`/`Content-type` headers and for the content-type aware combinators in *servant-0.4*
64* Export `toApplication` from `Servant.Server` (https://github.com/haskell-servant/servant-server/pull/29)
65* Support other Monads than just `EitherT (Int, String) IO` (https://github.com/haskell-servant/servant-server/pull/21)
66* Make methods return status code 204 if they return () (https://github.com/haskell-servant/servant-server/issues/28)
67* Add server support for response headers
68* Use `ServantErr` instead of `(Int,String)` in `EitherT` handlers
69* Add `errXXX` functions for HTTP errors with sensible default reason strings
70* Add `enter` function for applying natural transformations to handlers
720.2.4
73-----
74* Added support for matrix parameters, see e.g. http://www.w3.org/DesignIssues/MatrixURIs.html
75* Add support for serializing based on Accept header
76 (https://github.com/haskell-servant/servant-server/issues/9)
77* Ignore trailing slashes
78 (https://github.com/haskell-servant/servant-server/issues/5)
810.2.3
82-----
84* Fix consuming request body issue
85 (https://github.com/haskell-servant/servant/issues/3)
86* Make code sample in Servant.Server complete