@koa/bodyparser
Version:
Koa body parsing middleware
182 lines (122 loc) • 6.74 kB
Markdown
5.1.2 / 2025-05-22
==================
**fixes**
* [[`031348a`](https://github.com/koajs/bodyparser/commit/031348a2d469dd288dc21cd10d8de280d9936f2c)] - fix: add check for closed requests (#162) (zbrydon)
5.1.1 / 2024-04-09
==================
**fixes**
* [[`f27be45`](https://github.com/koajs/bodyparser/commit/f27be45528d6885f08675ee1c650897e44d3dbfa)] - fix: Add koa as peerDeps and fix the encoding option propagation (#160) (3imed-jaberi)
5.1.0 / 2024-03-25
==================
**features**
* [[`9c18179`](http://github.com/koajs/bodyparser/commit/9c181798ef1467df9109ed54bbd4a612382a6490)] - feat: set name of middleware function to improve interop with monitoring tools (#159) (André Cruz <<andremiguelcruz@msn.com>>)
**others**
* [[`664cd7c`](http://github.com/koajs/bodyparser/commit/664cd7c413250d5e12eb5bb0fbf4e52d31ef24f5)] - docs: fix usage for @koa/bodyparser v5 (#154) (狼叔 <<i5ting@126.com>>)
* [[`1eb0532`](http://github.com/koajs/bodyparser/commit/1eb053267c9e092ada6c316489e20596edd819f4)] - chore: typo npm-url (fengmk2 <<fengmk2@gmail.com>>)
* [[`55783fc`](http://github.com/koajs/bodyparser/commit/55783fc0ce77c0235d74244efe4069e4f9ca5850)] - chore: add publishConfig access to public (fengmk2 <<fengmk2@gmail.com>>)
5.0.0 / 2023-06-25
==================
**features**
* [[`b89581a`](http://github.com/koajs/bodyparser/commit/b89581adc53257d8e4d949735402dc8e3c18a7e8)] - feat: Re-create the module with TypeScript (#152) (Imed Jaberi <<imed_jebari@hotmail.fr>>)
4.4.1 / 2023-06-22
==================
**fixes**
* [[`5a551b1`](http://github.com/koajs/bodyparser/commit/5a551b1de6f5e2200b8a838207b56ea1198bdb96)] - fix: compatible extra semicolon on content-type header (#153) (fengmk2 <<fengmk2@gmail.com>>)
4.4.0 / 2023-03-15
==================
**features**
* [[`a9a6476`](http://github.com/koajs/bodyparser/commit/a9a647641bb883746c9691e86b8f87739df4e374)] - feat: Support scim json format (#151) (ask me anything :) <<caryyu.tg@gmail.com>>)
**fixes**
* [[`4d931c6`](http://github.com/koajs/bodyparser/commit/4d931c634e9b59a843152f56d68b3ef2e1719675)] - fix: revert html parser, use text directly (dead-horse <<dead_horse@qq.com>>)
**others**
* [[`c02ec0c`](http://github.com/koajs/bodyparser/commit/c02ec0c062f92e1114b4196534669367eae14ccc)] - Update README.md (#149) (sgywzy <<44345776+sgywzy@users.noreply.github.com>>)
* [[`85b426f`](http://github.com/koajs/bodyparser/commit/85b426fea3d98481fd4acbafce0857189199426e)] - Recommend @koa/multer for multipart/form-data (#145) (Jim Fisher <<jameshfisher@gmail.com>>)
* [[`afecb1a`](http://github.com/koajs/bodyparser/commit/afecb1ab7303ebd36d1a50d6bfe5fc3125759e43)] - Update Repo + Add Html Parser (#134) (imed jaberi <<imed_jebari@hotmail.fr>>)
* [[`ecc6ebf`](http://github.com/koajs/bodyparser/commit/ecc6ebfad7179e0009501723e7b2227d25c9603d)] - docs: fix broken npmjs link (#132) (Joel Colucci <<joelcolucci@users.noreply.github.com>>)
* [[`336b287`](http://github.com/koajs/bodyparser/commit/336b2879dc7c0e048d79e28bf23d4b8fe2589376)] - Update README.md (haoxin <<haoxinst@gmail.com>>)
* [[`e02cb7d`](http://github.com/koajs/bodyparser/commit/e02cb7dd2c798a116ef12c776da30c710697dea5)] - Update README.md (#125) (thaiworldgame <<36978149+thaiworldgame@users.noreply.github.com>>)
4.3.0 / 2020-03-24
==================
**features**
* [[`705673d`](http://github.com/koajs/bodyparser/commit/705673d634818727dbdb25ee999560970bd268a2)] - feat: support xml (#131) (TZ | 天猪 <<atian25@qq.com>>)
**others**
* [[`6fd7e9c`](http://github.com/koajs/bodyparser/commit/6fd7e9c321684adc239d2afb270782c21d0b6231)] - docs: add multipart tips (dead-horse <<dead_horse@qq.com>>)
* [[`57c0022`](http://github.com/koajs/bodyparser/commit/57c00225d54b5b5dd1a7526478ad3eae8495222f)] - Fix typo in README.md (#112) (Adrian Pascu <<1521321+adipascu@users.noreply.github.com>>)
4.2.1 / 2018-05-21
==================
**others**
* [[`b270d5d`](http://github.com/koajs/bodyparser/commit/b270d5d138662f41dc63527505ea02dea0c1e7e8)] - deps: upgrade co-body (#104) (Haoliang Gao <<sakura9515@gmail.com>>)
* [[`d234345`](http://github.com/koajs/bodyparser/commit/d234345ffa2dadbab2ef0ce970fb8a58059e5f47)] - docs(readme): update opts encode -> encoding (#103) (Matthew Scragg <<scragg@gmail.com>>)
* [[`db193f5`](http://github.com/koajs/bodyparser/commit/db193f5d46860393521ad38f90a554968b2ba98a)] - chore:replace indexOf with includes (#90) (coderzzp <<coderzzp@gmail.com>>)
4.2.0 / 2017-03-21
==================
* feat: ctx.request.rawBody to get raw request body (#70)
4.1.0 / 2017-03-02
==================
* deps: upgrade co-body@5 (#64)
4.0.0 / 2017-02-27
==================
* refactor: use async function and support koa@2 (#62)
2.3.0 / 2016-11-14
==================
* feat: support dynamic disable body parser
2.2.0 / 2016-05-16
==================
* feat: support enableTypes and text (#44)
2.1.0 / 2016-05-10
==================
* deps: co-body@4
2.0.1 / 2015-08-12
==================
* chore: upgrade co-body@3.1.0
2.0.0 / 2015-05-07
==================
* deps: co-body@2, default to strict mode
1.6.0 / 2015-05-01
==================
* feat: support custom error handler
1.5.0 / 2015-04-04
==================
* Use an empty object instead of null, if no body is parsed
1.4.1 / 2015-03-10
==================
* bump co-body@1.1.0
1.4.0 / 2015-02-26
==================
* feat: custom json request detect
1.3.1 / 2015-01-27
==================
* fix: extend
1.3.0 / 2014-11-27
==================
* support extendTypes
* Merge pull request #8 from coderhaoxin/json-patch
* add support for json patch
1.2.0 / 2014-11-07
==================
* add example.js
* bump dependencies
* Merge pull request #7 from rudijs/develop
* Add support for JSON-API
1.1.0 / 2014-10-28
==================
* Merge pull request #6 from tunnckoCore/master
* resolve https://github.com/tunnckoCore/koa-better-body/issues/3#issuecomment-60458238
1.0.0 / 2014-04-23
==================
* update readme
* refactor
0.1.0 / 2014-03-06
==================
* Merge pull request #2 from fengmk2/remove-co
* Remove co deps and improve coverage to 100%
0.0.2 / 2014-02-26
==================
* Merge pull request #1 from fengmk2/jsonLimit
* add jsonLimit options to fix json and form body limit confuse
0.0.1 / 2014-02-18
==================
* update package name, merge middleware into module.exports
* complete readme
* complete bodyparser and bodyparser.middleware
* Initial commit