fastify
5.12.8 · 2 Nov 2026MIT23.8M / weekRepositoryHomepagenpmAtom feed
Upgrading fastify From 5.8.5 to 5.9.0
1 release in betweenevery note read
Security
7 advisories still affect 5.9.0
- fastify vulnerable to X-Forwarded-* spoofing under trustProxy hop-countmoderate · GHSA-3m5p-2c4r-xxw2
- fastify vulnerable to Denial of Service via unhandled exception on HTTP/2 trailer responsesmoderate · GHSA-4mh8-r7rc-xpvc
- fastify vulnerable to request body replacement via an async validation result collisionhigh · GHSA-667r-xxjv-c9mm
Upgrading to 5.12.5 clears them.
Release by release
- New
Add request.mediaType
- New
Defer ContentType parsing in getSchemaSerializer until needed
- New
Cache parsed ContentType objects in ContentTypeParser
- New
Add typeof guard before toString.call in send and onSendEnd
- New
1 other line we could not sort, mostly version bumps
- 5.9.0
Bumped v5.9.0
44 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.