Releases: koajs/koa
Releases · koajs/koa
3.0.0-alpha.4
Breaking Changes:
- .req.origin now represents
req.headers.origin .body=<json>does not overwrite.type=if the type is already json- Removed special
ENOENTerror support - please check your file handling functions - .res.set - do not coerce headers to be strings
2.16.0
2.15.4
Full Changelog: 2.15.3...2.15.4
Fix: avoid redos on host and protocol getter, see GHSA-593f-38f6-jp5m
3.0.0-alpha.2
breaking changes
- Update
http-errorstov2.0.0#1486ctx.thrownow 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.defaultsinpackage.json#1630 - Fix leaky handles in tests #1838
- Fix body null checks #1814
- Fix reformatting redirect URLs #1805 #1804
- Fix passing
ctxin error handler #1758
migrations
- Migrate from
jestto the native node test runner #1845