fastify
5.12.8 · 2 Nov 2026MIT23.8M / weekRepositoryHomepagenpmAtom feed
Upgrading fastify From 5.11.3 to 5.12.8
9 releases in betweennotes for 7
- ?
- changes to make
- 7
- advisories fixed
- 9+
- new
- 15+
- fixes
Counted from 7 of 9 release notes. Advisories are counted from the advisory database, in full.
Security
Fixes 7 advisories affecting 5.11.3
- 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
- fastify vulnerable to header validation bypass via incomplete schema case normalizationhigh · GHSA-9q9j-q6p8-xq58
- fastify vulnerable to request validation bypass via skipped boolean false schemashigh · GHSA-hwr6-493r-vm6h
- fastify vulnerable to authentication bypass via malformed URLs reaching encapsulated not-found handlershigh · GHSA-p68q-wchp-6fh7
- fastify vulnerable to schema validation bypass via root primitive coercion mismatchmoderate · GHSA-w2qp-rph6-63g4
- 5.12.8
- 5.12.6
- 5.12.5
- 5.12.2
- 5.12.2
- 5.12.2
- 5.12.2
- 5.12.1
- 5.12.1
Release by release
- Security
- New
Add routerOptions.compile to use find-my-way compiler mode
- New
hooks: Support disposables in onClose hook
- New
request: Hoist port regex to module level
5.12.7no release note
- Security
- New
Decode string bodies once instead of per chunk
- New
Avoid resetting the level of request child loggers
- New
Use a FIFO cache for parsed content-types
- Security
- New
Reduce content-type parser overhead
- New
Avoid redundant request-part reads during validation
5.12.3 – 5.12.42 releases, nothing new or fixed; 1 without a note
- Security
- Security
- Security
- Security
- Security
- Security
- Fixed
Run preClose hook exactly once per declaring instance
- Fixed
Report canonical route url for hidden prefix slash route
- New
Add
Reply.prototype.mediaType - Fixed
Remove raw response headers
- Fixed
content-type: Return
undefinedfor invalid media types
- New
1 other line we could not sort, mostly version bumps
- 5.12.6
types: Restrict route lookup methods
15 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.