chore(deps): update dependency koa-body to v8 - #536
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
renovate
Bot
force-pushed
the
renovate/koa-body-8.x
branch
from
September 7, 2026 06:38
ff85ed2 to
c51224b
Compare
renovate
Bot
force-pushed
the
renovate/koa-body-8.x
branch
from
September 10, 2026 21:14
c51224b to
54a1843
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^4.1.0→^8.0.1Release Notes
koajs/koa-body (koa-body)
v8.0.1Compare Source
Patch Changes
6657991Thanks @TheDadi! - Update dependencies (zod,type-fest,@types/koa) and toolchain: CI now usespnpm/setupandchangesets/actionv2, Node 24.20.0, pnpm 12, TypeScript 7, Biome 2.5.v8.0.0Compare Source
Major Changes
f858724Thanks @TheDadi! - Drop support for Node.js 18 and 20, both of which are past end-of-life (Node 18 EOL April 2025, Node 20 EOL April 2026).The minimum supported version is now Node.js 22. CI is tested against Node 22 (Maintenance LTS), 24 (Active LTS), and 26 (Current).
If you are on Node 18 or 20, upgrade to Node 22+ before updating
koa-body. No source-level API changes accompany this bump — it reflects the supported runtime floor only.Minor Changes
9b3b5b6Thanks @TheDadi! - Add configurable body-type matchers:jsonTypes,urlencodedTypes,textTypes, andmultipartTypes.These options let callers customize which
Content-Typevalues are parsed as which body kind, without patching the middleware internals. Each accepts an array of types passed directly to Koa'sctx.is(...), so the standard mime patterns (e.g.urlencoded,multipart,text/*,application/vnd.custom+json) all work.Defaults preserve the previous behavior:
jsonTypes:application/json,application/json-patch+json,application/vnd.api+json,application/csp-report,application/reports+jsonurlencodedTypes:urlencodedtextTypes:text/*multipartTypes:multipartExample — parse a vendor JSON type and a custom multipart type:
v7.0.1Compare Source
Patch Changes
c060a9bThanks @TheDadi! - fix: use JsonValue from type-fest as body type fixes: #245v7.0.0Compare Source
Major Changes
#239
e59b8ceThanks @TheDadi! - chore: introduce@biomejs/biomeas linter and formatter instead ofprettierchore: introduce
@changesets/clito automate publish and changelogchore: introduce GitHub actions for publishing to npm
chore: introduce GitHub actions for preview publish using
pkg-pr-newchore: replace
mochawithnode:testchore: updated all dependencies to latest
chore: updated dev dependency
koa-routerto use@koa/routerinsteadchore: introduce
tshyand@arethetypeswrong/clito have esm and commonjs exports and verification that types and exports are compatible with different module resolutions (fixes: #233)chore: introduce
pnpmas package-managerrefactor: use
ctx.request.rawBodyinstead ofctx.request.body[symbolUnparsed]for unparsed body ifincludeUnparsedis setrefactor:
ctx.request.rawBodyis also set on content-typetext/*ifincludeUnparsedis setrefactor: if given method is not in
parsedMethodsdo not patch koa and node with empty object anymore (fixes: #238)refactor: changed type of
ctx.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 use
typescriptv6.0.1Compare Source
v6.0.0Compare Source
v5.0.0Compare Source
Mistakenly republished v4.2.0. See #207.
v4.2.0Compare Source
v4.1.3Compare Source
Reverted changes introduced in 4.1.2. Now 4.1.3 is effectively the same as 4.1.1.
v4.1.2Compare Source
Bad TypeScript definition file change (#173). Do not use this version.
v4.1.1Compare Source
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.