Skip to content

Conversation

@instanacd
Copy link
Contributor

@instanacd instanacd commented Dec 3, 2025

Changes in v15

  • Requires Node.js ≥ 20
  • Dual ESM + CommonJS exports (default + named types)
  • Migrated to TypeScript (src/router.ts) with compiled output in dist/

Migration guide: https://github.com/koajs/router/blob/master/FULL_MIGRATION_TO_V15%2B.md
https://github.com/koajs/router/releases/tag/v15.0.0

ref: https://jsw.ibm.com/browse/INSTA-67751

@instanacd instanacd requested a review from a team as a code owner December 3, 2025 18:08
@aryamohanan
Copy link
Contributor

There are couple of breaking changes https://github.com/koajs/router/blob/master/FULL_MIGRATION_TO_V15%2B.md

@aryamohanan aryamohanan force-pushed the currency-bot-major-koarouter-1500 branch from 453e1f8 to 116c758 Compare December 12, 2025 08:16
@aryamohanan aryamohanan changed the title [Currency Bot] Bumped @koa/router from 14.0.0 to 15.0.0 feat: added support for @koa/router v15 Dec 12, 2025
@aryamohanan aryamohanan force-pushed the currency-bot-major-koarouter-1500 branch from 116c758 to 70666f3 Compare December 15, 2025 04:58
@aryamohanan
Copy link
Contributor

created an issue here: koajs/router#212

@aryamohanan aryamohanan force-pushed the currency-bot-major-koarouter-1500 branch from fa1b28d to e65b9e9 Compare December 18, 2025 06:31
"@ibm/tekton-lint": "1.1.0",
"@koa/router": "14.0.0",
"@koa/router": "15.1.0",
"@koa/router-v14": "npm:@koa/router@14.0.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer running two different versions of the Koa router, as there are breaking and structural changes.

@aryamohanan aryamohanan requested a review from a team December 18, 2025 08:19
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants