- Add support for PureScript 0.12 (thanks @akheron)
- Upgrade all dependencies (thanks @akheron)
- Use Effect instead of Eff (thanks @akheron)
- Use Foreign.Object instead of StrMap (thanks @akheron)
- Use Effect.Ref instead of Control.Monad.ST (thanks @akheron)
- Drop SecureServerM, it's the same as ServerM now (thanks @akheron)
- Rename
serve'
toserveSecure
, addserve'
andserveSecure'
.
- Make ResponseM an
Aff
instead ofEff
- Add helpers and instances for working with headers (
Semigroup
instance,HTTPure.header
,HTTPure.empty
, etc) - Clean up patterns for response helpers so all helpers are consistent
- Add
HTTPure.fullPath
function - Extend
Lookup
typeclass -- make!!
returnMaybe
types and add!?
and!@
operators. - Add examples and guidelines for working with middlewares
- Add guides
- Major refactor for simpler APIs
- Lookup typeclass and
!!
operator - Support for inspecting and routing on path segments
- Support for inspecting and routing on query parameters
- Support HTTPS servers
- Support all HTTP response statuses
- Support all HTTP request methods
- Added in v0.1.0
- Get
- Post
- Put
- Delete
- New
- Head
- Connect
- Options
- Trace
- Patch
- Added in v0.1.0
- Support OK response
- Support Get, Post, Put, and Delete HTTP methods
- Support sending and reading headers and body