Packages

fastify

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

Your version

5.1.0

31 Oct 2024Where it was published

5.12.8 is the newest release of 5.x.

In short

3 new2 faster7 fixed1 changed39 internal

Security

Release note

What's Changed

  • guide-v5: Wrong link for diagnostics channel

  • Add childLoggerFactory option to FastifyHttpOptions type

  • Make shallow copy of fastify options before mutations

  • Point this to parent at onRegister

  • Make content-type case-insensitive

  • types: Make plugin options required if they have any defined props

  • lib/pluginUtils: Convert unused capture group to non-capture group

  • types: Add string to routeOptions.method

  • Correctly handle empty host

  • Pause split early on hostname

  • exposeHeadRoute should pass "onSend" hook handlers provided to GET handler if method is not uppercased

  • test runner node: Route 4

  • test runner node: Test porting

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.