Changelog for servant-server-0.6.1
0.6
- Query parameters that can't be parsed result in a
400(was404).
0.5
- Add
Configmachinery (https://github.com/haskell-servant/servant/pull/327). This is a breaking change, as the signatures of bothroute,serveand the typeclassHasServernow take an additional parameter. - Support for the
HttpVersion,IsSecure,RemoteHostandVaultcombinators - Drop
EitherTin favor ofExceptT - Use
http-api-datainstead ofServant.Common.Text - Remove matrix params.
- Remove
RouteMismatch. - Redefined constructors of
RouteResult. - Added
Delayedand related functions (addMethodCheck,addAcceptCheck,addBodyCheck,runDelayed) - Added support for Basic Authentication
- Add generalized authentication support via the
AuthServerDatatype family andAuthHandlerhandler
0.4.1
- Bump attoparsec upper bound to < 0.14
- Bump wai-app-static upper bound to < 3.2
- Bump either upper bound to < 4.5
0.4
Deletenow is likeGet,Post,Put, andPatchand returns a response body- Add a
RouteMismatchconstructor for arbitrary HTTP response codes (https://github.com/haskell-servant/servant-server/pull/22) - Add support for the
Patchcombinator - Support for
Accept/Content-typeheaders and for the content-type aware combinators in servant-0.4 - Export
toApplicationfromServant.Server(https://github.com/haskell-servant/servant-server/pull/29) - Support other Monads than just
EitherT (Int, String) IO(https://github.com/haskell-servant/servant-server/pull/21) - Make methods return status code 204 if they return () (https://github.com/haskell-servant/servant-server/issues/28)
- Add server support for response headers
- Use
ServantErrinstead of(Int,String)inEitherThandlers - Add
errXXXfunctions for HTTP errors with sensible default reason strings - Add
enterfunction for applying natural transformations to handlers
0.2.4
- Added support for matrix parameters, see e.g. http://www.w3.org/DesignIssues/MatrixURIs.html
- Add support for serializing based on Accept header (https://github.com/haskell-servant/servant-server/issues/9)
- Ignore trailing slashes (https://github.com/haskell-servant/servant-server/issues/5)
0.2.3
- Fix consuming request body issue (https://github.com/haskell-servant/servant/issues/3)
- Make code sample in Servant.Server complete