- [CHANGE] NO MORE
this.body = ''
for OPTIONS. - [UPDATE] koa-ovenware to v0.3.1.
- [UPDATE] update all dependencies.
- [FIX] koa-router 5.x problems.
- [UPDATE] update all dependencies
- [FIX] update koa-ovenware to v0.2.0 to fix the windows issues.
- [ENHANCE] use koa-router OPTIONS handler to set Allow value.
- [FIX] koa-router 4.x problems.
- [FIX] some stupid bugs.
- [ADD] add Access-Control headers for crossing domain automatically.
- [ENHANCE] new code structure (use koa-ovenware for auto loading).
- [ADD] prefix could be a RegExp.
- [FIX] default format setting will really available by default (when there's no Accept head).
- [FIX] some bugs.
- [FIX] custom HTTP code
- [FIX] del route -
DELETE
- [FIX] about koajs/koa#353
- [REMOVE] No longer support
ctx.body = ''
=> 204 No Content- use
ctx.body = null
instead
- use
- [REMOVE] API - this.statusMessage
- use
ctx.res.statusCode
andctx.res.statusMessage
(node native API) instead
- use
- [ADD] default prefixPattern = new RegExp(prefix), if prefix is string.
- [ADD] API - this.statusMessage
- [ADD] prefix for all routes
- [FIX] #1