Skip to content

Releases: venables/koa-json-body

v5.3.0

04 Mar 19:41
Compare
Choose a tag to compare

New

  • Add fallback option to allow always setting ctx.request.body to {} upon JSON parsing failure, etc. The default is to leave ctx.request.body as undefined.

Updated

  • Updated test suite to ensure 100% coverage
  • Updated documentation to more clearly define available options and default behavior

v5.2.0

15 Jan 17:28
Compare
Choose a tag to compare

Removes peerDependencies from package.json

v5.1.0

15 Jan 16:34
Compare
Choose a tag to compare

Updates peerDependencies to use koa@next

v5.0.0

15 Jan 16:32
Compare
Choose a tag to compare

Updates for koa 2.x Promise-style middleware

v5.0.0-alpha.1

10 Nov 03:32
Compare
Choose a tag to compare
v5.0.0-alpha.1 Pre-release
Pre-release

Updates for koa 2.x Promise-style middleware

v4.0.0

14 Aug 20:33
Compare
Choose a tag to compare
  • Uses co-body 4.0.0. No breaking changes

v3.1.0

11 Aug 10:58
Compare
Choose a tag to compare

Breaking changes:

  • Removes assignment of this.body [https://github.com//pull/1]