Packages

@clerk/fastify

3.1.100 · 14 Nov 2026MIT154.4k / weekRepositoryHomepagenpmAtom feed

Your version

2.0.0

major9 Oct 2024Where it was published

2.6.37 is the newest release of 2.x.

In short

1 breaking1 internal

  • Breaking

    Recently Fastify released its v5 and along with it came some breaking changes. Read their migration guide to learn more.

Security

1 advisory affects 2.0.0; 2.6.31 fixes them

Release note

Major Changes

  • Breaking

    Recently Fastify released its v5 and along with it came some breaking changes. Read their migration guide to learn more.

    In order to support Fastify v5 a new major version of @clerk/fastify is required as Fastify's Node.js requirement is now >=20. Previously @clerk/fastify allowed >=18.17.0.

    @clerk/fastify@2.0.0 only supports Fastify v5 or later, if you want/need to continue using Fastify v4, please stick with your current version. The @clerk/fastify@2.0.0 upgrade itself doesn't have any required code changes as only internal dependencies and requirements were updated.

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.