fastify
5.12.8 · 2 Nov 2026MIT23.8M / weekRepositoryHomepagenpmAtom feed
Upgrading fastify From 4.17.0 to 4.18.0
1 release in betweenevery note read
- 1
- change to make
- 0
- advisories fixed
- 7
- new
- 4
- fixes
Before you upgrade
Tick each one off as you go- Breaking4.18.0
Security
9 advisories still affect 4.18.0
- fastify: request.protocol and request.host Spoofable via X-Forwarded-Proto/Host from Untrusted Connectionsmoderate · GHSA-444r-cwp2-x5xf
- 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
- Breaking
Remove double validation of onReady-hook
- New
Add mention to default error handler on reply send
- New
Add listeningOrigin fastify immutable instance property
- New
Support send typedarray objects
- Breaking
10 other lines we could not sort, mostly version bumps
- 4.18.0
Update GOVERNANCE.md
- 4.18.0
Maintain custom response schema
- 4.18.0
Updates to docs and types regarding the
resserializer - 4.18.0
Remove debug logging for URL rewrite
- 4.18.0
Hotfix dev dep
- 4.18.0
Rename types/tsconfig.json to types/tsconfig.eslint.json to avoid hoisting by vscode
- 4.18.0
Making Vercel Serverless docs easier to use
- 4.18.0
Body reader to use statusCode from stream error, if available
- 4.18.0
workflow(benchmark): update node version
- 4.18.0
Reset listening state for each secondary server
19 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.