Packages

fastify

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

Your version

4.19.0

30 Jun 2023Where it was published

4.29.1 is the newest release of 4.x.

In short

4 new9 fixed4 changed9 internal

Security

Release note

What's Changed

  • Added a check to prevent creation of secondary server when external server is supplied

  • Added originalUrl in request object #4704

  • Add Platformatic to deploy strategies

  • Fixed an error that occurred when sending an empty body as a buffer

  • Correct type definition for genReqId argument

  • Handle undefined req.routeConfig in frameworkErrors

  • Tests are failing in Windows due to command line env syntax

  • #4774: Close bindings through the hook system

  • Fix/add missing types fastifycontextconfig

  • Added "Principles" to explain the key technical principles behind Fastify

  • pluginName will be exposed in FastifyInstance

  • Pass Fastify request to frameworkErrors and omit logging if disabled

  • Return 431 status code on HTTP header overflow error

  • Do not leak memory if .listen()` is not called

  • Extend decorate() etc to enforce defined values

  • Minor jsdoc fixes

  • Type narrow on status().send() chains with Reply generics

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.