Packages

fastify

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

Upgrading fastify From 2.15.3 to 3.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 2.15.3Clears its 8 advisories5.12.5Latest5.12.8
  1. 2.15.3yours
  2. 3.0.0target
6
changes to make
0
advisories fixed
5
new
0
fixes

Before you upgrade

Tick each one off as you go
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Deprecated3.0.0
  • Deprecated3.0.0
  • Deprecated3.0.0

Security

Release by release

  1. 3.0.0

    Migration needed7 Jul 20205 new
    • Breaking

      onRoute - The hook will be called asynchronously. The hook is now inherited when registering a new plugin within the same encapsulation scope. Thus, this hook should be registered before registering any plugins.

    • Breaking

      onRegister - Same as the onRoute hook. The only difference is that now the very first call will no longer be the framework itself, but the first registered plugin.

    • Breaking

      Removed modifyCoreObjects option

    • Deprecated

      The old syntax of Fastify v2 without payload is supported but it is deprecated.

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.