Major Changes
-
#239
e59b8ceThanks @TheDadi! - chore: introduce@biomejs/biomeas linter and formatter instead ofprettier
chore: introduce@changesets/clito automate publish and changelog
chore: introduce GitHub actions for publishing to npm
chore: introduce GitHub actions for preview publish usingpkg-pr-new
chore: replacemochawithnode:test
chore: updated all dependencies to latest
chore: updated dev dependencykoa-routerto use@koa/routerinstead
chore: introducetshyand@arethetypeswrong/clito have esm and commonjs exports and verification that types and exports are compatible with different module resolutions (fixes: #233)
chore: introducepnpmas package-managerrefactor: use
ctx.request.rawBodyinstead ofctx.request.body[symbolUnparsed]for unparsed body ifincludeUnparsedis set
refactor:ctx.request.rawBodyis also set on content-typetext/*ifincludeUnparsedis set
refactor: if given method is not inparsedMethodsdo not patch koa and node with empty object anymore (fixes: #238)
refactor: changed type ofctx.req.bodyandctx.request.bodyfromanyto{ [key: string]: unknown } | stringfeat: allow to override formidable
onPartsee https://github.com/node-formidable/formidable#formonpart (fixes: #172)docs: updated README.md to reflect changes
docs: reworked examples to usetypescript