Update @koa/router 14.0.0 → 15.2.0 (major)#630
Merged
Conversation
canova
approved these changes
Jan 19, 2026
Member
canova
left a comment
There was a problem hiding this comment.
Checked the migration guide and it looks like we are not using anything that's affected. Also CI is green, so let's merge.
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.
Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ @koa/router (14.0.0 → 15.2.0) · Repo · Changelog
Release Notes
15.2.0
15.1.2
15.1.1
15.1.0
15.0.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 20 commits:
v15.2.0feat: add new utility that help to valdiate route params and/or migrate from previous versions to v14+v15.1.2chore: add build stage for all test runner scriptfix: fix #216 issuev15.1.1chore: make the logic simplerbump depsfix: Make types compatible with Koa Middlewarev15.1.0fix all any types in the code + enhance the end user types (full type-safe) + fix some potential bugs + refine code structurefix: fix .use() middleware with no path params is a global matchfix: router constructor exports on cjschore: bump depschore(deps): bump jws from 3.2.2 to 3.2.3v15.0.0chore: add full migration guide to v15feat: re-writing in TS + fix all reported bugs + add all effective enhancments + rock to v15Revert "Fix: Ensure .use() middleware works when path or prefix contains para…" (#204)Fix: Ensure .use() middleware works when path or prefix contains parameters (#203)Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase.All Depfu comment commands