3.0.0-alpha.2
Pre-release
Pre-release
breaking changes
- Update
http-errors
tov2.0.0
#1486ctx.throw
now requires a format ofctx.throw(status, error, properties)
. See: https://www.npmjs.com/package/http-errors
- Remove
res.redirect('back')
, addback()
method toctx
#1115 - Replace node querystring with
URLSearchParams
#1828 - Remove obsolete
createAsyncCtxStorageMiddleware
#1817
features
- Add support for web WHATWG #1830
updates
fixes
- Fix
exports.defaults
inpackage.json
#1630 - Fix leaky handles in tests #1838
- Fix body null checks #1814
- Fix reformatting redirect URLs #1805 #1804
- Fix passing
ctx
in error handler #1758
migrations
- Migrate from
jest
to the native node test runner #1845