fastify
5.12.8 · 2 Nov 2026MIT22.1M / weekRepositoryHomepagenpmAtom feed
Where each line stands
Plan an upgrade- 5.x5.12.8Safe from 5.12.6Latest line
- 4.x and older4.29.1468 open advisories, worst high · last release Apr 2025, no longer updatedTo 5.12.8
Latest releases
All 301 releases5.12.8
2 Nov 2026- security
types: Restore this context in route shorthand hooks
reply: Send stream trailers after the stream actually finishes
Security Release
- security
What's Changed
types: Restore this context in route shorthand hooks
reply: Send stream trailers after the stream actually finishes
Add routerOptions.compile to use find-my-way compiler mode
Clamp error statusCode between 400 and 599 with 500 fallback
Contain synchronous throws from custom content type parsers
hooks: Support disposables in onClose hook
types: Allow socket path strings in addresses
types: Add logSerializers to RouteShorthandOptions
request: Hoist port regex to module level
decorators: Evaluate instance getters once in getDecorator
5.12.7
13 Oct 20265.12.6
13 Oct 2026- security
types: Restrict route lookup methods
Decode string bodies once instead of per chunk
Security Release
- security
What's Changed
types: Restrict route lookup methods
Decode string bodies once instead of per chunk
Avoid resetting the level of request child loggers
Resolve reply.mediaType from raw response headers
Use a FIFO cache for parsed content-types
validation: Lowercase header names in propertyNames enum/const
Copy a set-cookie array passed to reply.header instead of storing it
Remove error when HTTP QUERY request has empty body
Dependency tracking · free for 3 projects
Know when your own dependencies move
fastify had 13 security advisories in the last 12 months. inlinr emails you the day one touches a project of yours, with the version that fixes it.
Advisories reach you
An email when a critical or high advisory affects a project, before the next install.
Upgrades checked first
Peer ranges, Node, ESM-only and types changes read before you bump.
Only what matters
Majors and breaking notes stay; patches and sibling bumps fold into one line.
Registry facts last checked 6 Nov 2026. Releases and advisories last read 6 Nov 2026.