fastify
5.12.8 · 2 Nov 2026MIT23.8M / weekRepositoryHomepagenpmAtom feed
Upgrading fastify From 5.7.4 to 5.8.0
1 release in betweenevery note read
Security
9 advisories still affect 5.8.0
- Fastify has a Body Schema Validation Bypass via Leading Space in Content-Type Headerhigh · GHSA-247c-9743-5963
- 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
Upgrading to 5.12.5 clears them.
Release by release
- New
First-class support for handler-level timeouts
- Fixed
Avoid mutating shared routerOptions across instances
- Fixed
types: Accept async route hooks in shorthand options
- Fixed
Remove format placeholder from FST_ERR_CTP_INVALID_MEDIA_TYPE message
- New
26 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.