Packages

@clerk/nextjs

7.10.2 · 17 Nov 2026MIT4.1M / weekRepositoryHomepagenpmAtom feed

Your version

4.25.7

24 Oct 2023Where it was published

4.31.8 is the newest release of 4.x.

npm marks 4.25.7 as deprecated: A critical security vulnerability that affects versions in the range of >= 4.7.0,< 4.29.3 has been discovered by the Clerk team. Please upgrade immediately to 4.29.3. For more information, refer to clerk.com/changelog/2024-01-12

In short

4 fixed5 internal

Security

1 advisory affects 4.25.7; 4.29.3 fixes them

Release note

Patch Changes

  • Fix an issue where only static routes would be allowed by publicRoutes prop from authMiddleware.

  • Publish packages with npm provenance enabled

  • Update <ClerkProvider /> to work in client components within the app router. This allows rendering of the provider in client components, previously the pages router provider was being imported and throwing an error.

  • Update imports of @clerk/shared to granular entrypoints. This addresses warnings during a Next.js build that are the result of unsupported APIs being included in the module graph of builds for the edge runtime.

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.