Skip to content

Conversation

@lipskis
Copy link
Contributor

@lipskis lipskis commented Dec 19, 2025

Bump Koa instrumentation version

Koa v3 instrumentation requires @opentelemetry/instrumentation-koa
v0.54.0. Update package dependencies to ensure package works for both
Koa v2 and v3.

Remove Python package reference

Replace Python package reference with Node.js in SUPPORT.md.

Add @types/express as dev dependency

Starting from v0.42.0 of @opentelemetry/instrumentation-koa,
the @types/koa package is a dev
dependency and therefore no longer required automatically by our Node.js
package. The @types/koa package requires @types/cookies, which requires
@types/express. We rely on @types/express being there during the build.
This change in the instrumentation package breaks the build script.

Screenshot 2025-12-19 at 16 33 13

Add @types/express as a dev dependency.

Fixes #1262

Koa v3 instrumentation requires @opentelemetry/instrumentation-koa
v0.54.0. Update package dependencies to ensure package works for both
Koa v2 and v3.
Replace Python package reference with Node.js in SUPPORT.md.
@lipskis lipskis self-assigned this Dec 19, 2025
@lipskis lipskis added the chore A small task that takes a day or two at the most. label Dec 19, 2025
@lipskis lipskis changed the title Support koa v3 Support Koa v3 Dec 19, 2025
@backlog-helper
Copy link

backlog-helper bot commented Dec 19, 2025

✔️ All good!

New issue guide | Backlog management | Rules | Feedback

`@types/koa` package required `@types/cookies`, which required
`@types/express`. Starting from `v0.42.0` of
`@opentelemetry/instrumentation-koa` the `@types/koa` package is a dev
dependency and therefore no longer required automatically by our Node.js
package. This breaks the build script.

Add `@types/express` as a dev dependency.
@lipskis lipskis requested review from tombruijn and unflxw December 19, 2025 14:28
@unflxw
Copy link
Contributor

unflxw commented Dec 19, 2025

Remember to close #1237 and #1250 as well, if Dependabot doesn't do it automatically.

@tombruijn
Copy link
Member

Can you also add a Koa 3 test app to the test setups repo? https://github.com/appsignal/test-setups/tree/main/nodejs
A new one (copy past an old one to start if that's easier) so we have both koa 2 and koa 3 apps to test.

@backlog-helper
Copy link


This is a message from the daily scheduled checks.

New issue guide | Backlog management | Rules | Feedback

Add integration tests for Koa v3 with koa-router v15. Use `node:20`
image, since koa-router v15 requires Node.js >= 20.

Add `koa3-mysql` app to the build matrix.
@lipskis
Copy link
Contributor Author

lipskis commented Dec 30, 2025

I added a koa-3-mysql app in the test setups repo - appsignal/test-setups#348

@lipskis lipskis merged commit 83f3fef into main Jan 13, 2026
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore A small task that takes a day or two at the most.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update integrations to support Koa 3

3 participants