fastify
5.12.8 · 2 Nov 2026MIT23.8M / weekRepositoryHomepagenpmAtom feed
Upgrading fastify From 4.10.2 to 4.11.0
1 release in betweenevery note read
- 1
- change to make
- 0
- advisories fixed
- 1
- new
- 3
- fixes
Before you upgrade
Tick each one off as you go- Deprecated4.11.0
Security
9 advisories still affect 4.11.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
- Deprecated
lib: Deprecate the default route and improve its documentation
- New
Precompute isEssence for RegExp of content-type-parser method compareRegExpContentType
- Fixed
Use generic for Logger to register plugins when using a custom logger
- Fixed
Make res.statusCode optional
- Fixed
re-thrown error crash
- Deprecated
3 other lines we could not sort, mostly version bumps
- 4.11.0
Incorrect example in default text parser docs
- 4.11.0
Move @Ethan-Arrowood to Past Collaborator section
- 4.11.0
Improve
setErrorHandlerexample
11 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.