servant/servant-server/CHANGELOG.md

57 lines
2.4 KiB
Markdown
Raw Normal View History

2016-03-27 11:05:59 +02:00
on master
---------
* Query parameters that can't be parsed result in a `400` (was `404`).
2016-03-19 13:26:13 +01:00
0.5
2016-03-27 11:05:59 +02:00
---
2016-01-18 22:34:56 +01:00
* Add `Config` machinery (https://github.com/haskell-servant/servant/pull/327).
2016-01-21 18:04:00 +01:00
This is a breaking change, as the signatures of both `route`, `serve` and the
typeclass `HasServer` now take an additional parameter.
* Support for the `HttpVersion`, `IsSecure`, `RemoteHost` and `Vault` combinators
2015-09-12 14:11:24 +02:00
* Drop `EitherT` in favor of `ExceptT`
2015-10-08 00:15:30 +02:00
* Use `http-api-data` instead of `Servant.Common.Text`
2015-10-13 21:46:52 +02:00
* Remove matrix params.
* Remove `RouteMismatch`.
* Redefined constructors of `RouteResult`.
* Added `Delayed` and related functions (`addMethodCheck`, `addAcceptCheck`, `addBodyCheck`, `runDelayed`)
* Added support for Basic Authentication
* Add generalized authentication support via the `AuthServerData` type family and `AuthHandler` handler
2015-05-27 15:21:53 +02:00
0.4.1
-----
* Bump attoparsec upper bound to < 0.14
* Bump wai-app-static upper bound to < 3.2
2015-05-29 14:29:32 +02:00
* Bump either upper bound to < 4.5
2015-05-27 15:21:53 +02:00
2015-05-09 02:28:05 +02:00
0.4
2015-03-04 01:53:40 +01:00
---
* `Delete` now is like `Get`, `Post`, `Put`, and `Patch` and returns a response body
2015-03-04 01:53:40 +01:00
* Add a `RouteMismatch` constructor for arbitrary HTTP response codes (https://github.com/haskell-servant/servant-server/pull/22)
* Add support for the `Patch` combinator
2015-05-09 02:28:05 +02:00
* Support for `Accept`/`Content-type` headers and for the content-type aware combinators in *servant-0.4*
2015-03-04 01:53:40 +01:00
* Export `toApplication` from `Servant.Server` (https://github.com/haskell-servant/servant-server/pull/29)
2015-03-10 23:07:24 +01:00
* Support other Monads than just `EitherT (Int, String) IO` (https://github.com/haskell-servant/servant-server/pull/21)
2015-03-12 18:37:08 +01:00
* Make methods return status code 204 if they return () (https://github.com/haskell-servant/servant-server/issues/28)
* Add server support for response headers
2015-05-04 17:04:11 +02:00
* Use `ServantErr` instead of `(Int,String)` in `EitherT` handlers
* Add `errXXX` functions for HTTP errors with sensible default reason strings
* Add `enter` function for applying natural transformations to handlers
2015-01-15 12:14:11 +01:00
2015-03-04 01:53:40 +01:00
0.2.4
-----
2015-01-15 12:14:11 +01:00
* Added support for matrix parameters, see e.g. http://www.w3.org/DesignIssues/MatrixURIs.html
2015-01-13 20:40:41 +01:00
* 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)
2015-01-15 12:14:11 +01:00
2015-01-04 16:21:25 +01:00
0.2.3
-----
* Fix consuming request body issue
(https://github.com/haskell-servant/servant/issues/3)
* Make code sample in Servant.Server complete