Packages

fastify

5.12.8 · 2 Nov 2026MIT23.8M / weekRepositoryHomepagenpmAtom feed

Your version

4.25.0

13 Dec 2023Where it was published

4.29.1 is the newest release of 4.x.

In short

3 new8 fixed1 changed30 internal

Security

Release note

What's Changed

  • Improve RouteShorthandOptions['constraints'] type

  • Add @eomm and @jsumners as lead maintainers

  • Reply.send supports Uint8Array payload

  • types: Add handler property to routeOptions

  • plugins: Mixing async and callback style now returns a warning

  • Type FastifyInstance['route'] and RouteShorthandMethod

  • Update reply.context deprecation warning

  • types: Added http header types to reply

  • Allow async hooks in RouteShorthandOptions without breaking request and reply types

  • #5180: Close secondary bindings after primary is closed

  • types: Nullish error types in callback function's parameter for after and ready method

  • #5049: Remove duplicated calls to onReady

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.