Packages

fastify

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

Your version

4.26.0

29 Jan 2024Where it was published

4.29.1 is the newest release of 4.x.

In short

1 deprecated4 new6 fixed1 changed24 internal

  • Deprecated

    Deprecate Reply#getResponseTime() in favour of Reply#elapsedTime

Security

Release note

What's Changed

  • setValidatorCompiler with addSchema

  • routes: Expose findRoute and param validator

  • Add use semicolon delimter config, default = true

  • Return the correct serializer function when no content-type is defined

  • Sync next

  • Restrict findRoute exposed property

  • Remove unused promise warning in setNotFoundHandler with preHandler

  • Always call resource.emitDestroy()

  • Deprecated

    Deprecate Reply#getResponseTime() in favour of Reply#elapsedTime

  • Expose method for setGenReqId on FastifyInstance

  • Ensure onListen hooks are called when they should be

  • Web Stream API

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.