fastify
5.12.8 · 2 Nov 2026MIT23.8M / weekRepositoryHomepagenpmAtom feed
Upgrading fastify From 3.1.1 to 3.29.5
65 releases in betweenevery note read
Reading releases, release notes and advisories…
Before you upgrade
Tick each one off as you go- Breaking3.20.1
- Breaking3.19.2
- Deprecated3.29.1
- Deprecated3.6.0
- Deprecated3.2.0
Security
8 advisories still affect 3.29.5
- 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.
Fixes 1 advisory affecting 3.1.1
- Fastify: Incorrect Content-Type parsing can lead to CSRF attack moderate · GHSA-3fjj-p79j-c9hh
- 3.29.4
Fix for "Incorrect Content-Type parsing can lead to CSRF attack" and CVE-2022-41919
- 3.29.3
This release backport the fixes of github.com/fastify/fastify/security/advisories/… for the v3.x line.
Release by release
- Fixed
content-type parserRegExpList when plugin override
- Fixed
- Security
Fix for "Incorrect Content-Type parsing can lead to CSRF attack" and CVE-2022-41919
- Security
- Security
This release backport the fixes of github.com/fastify/fastify/security/advisories/… for the v3.x line.
- Security
- Fixed
Backport reused connection fix
- Fixed
- Deprecated
Child log level in bindings is deprecated
- Fixed
Handle aborted requests
- Deprecated
3.29.0nothing new or fixed in the note
- New
Add generic logger to route handler & FastifyRequest
- New
- Fixed
Fixed Node.js v18/master support
- Fixed
131 other lines we could not sort, mostly version bumps
- 3.29.5
(v3.x) Replace pem dependency
- 3.29.5
(v3.x) perf: only check for isEssence once in RegExp for content-type-parser
- 3.29.5
(v3.x) replace content-type with fast-content-type-parse
- 3.29.0
Update fastify-error dependency
- 3.28.0
(v3.x) Allow custom Context Config types for hooks'
requestproperties - 3.28.0
(v3.x) fix: handle invalid url
- 3.28.0
(v3.x) feat: reply trailers support
- 3.27.3
Drop @typescript-eslint/no-misused-promises
- 3.27.2
Update Server docs
- 3.27.2
Update middleware docs link
204 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.