- Removed middleware
next
is no longer the third arugments to routes, this has been replaced withctx
- If you need middleware, just provide an array of functions to the router
- Enabled the ability to create an HTTPS server
- Passing in
opts.http.{key, ca, cert}
will now make an HTTPS server
- Passing in
- The built-in
HTTPServer
,Request
andResponse
objects are no longer modified- The
ctx
object now contains the keys previously placed intoreq
andres
- The result of
new TakeFive()
is a TakeFive object. The underlying node server instance may be accessed via.server
on the resulting object
- The
- Update deps from greenkeeper
- Fix a typo preventing
cors
options from being overridden
- Fix bug where zero-length bodies would attempt to be parsed
- Fix bug where we sent a pre-generated content-length header that caused issues with
.pipe(res)
- Add
Access-Control-Allow-Methods
to CORS options
- Make sure to always call
res.end
- First useable release. Added license & benchmarks