Packages

@clerk/react-router

3.7.6 · 19 Nov 2026MIT138.1k / weekRepositoryHomepagenpmAtom feed

Upgrading @clerk/react-router From 2.4.19 to 3.1.4

16 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 2.4.19Latest3.7.6
  1. 2.4.19yours
  2. 3.0.0major
  3. 14 releases
  4. 3.1.4target
  5. 30 pre

Before you upgrade

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

Release by release

  1. 3.1.1 – 3.1.44 releases, nothing new or fixed in the notes

  2. 3.1.0

    14 Apr 20261 new
    • New

      Introduce internal <OAuthConsent /> component for rendering a zero-config OAuth consent screen on an OAuth authorize redirect page.

  3. 3.0.13

    13 Apr 20261 fix
    • Fixed

      Simplified keyless service initialization.

  4. 3.0.4 – 3.0.127 releases, nothing new or fixed in the notes

  5. 3.0.2

    9 Mar 20261 fix
    • Fixed

      Upgrade cookie dependency from v0.7.2 to v1.0.2 and remove deprecated @types/cookie (cookie v1 ships built-in types).

  6. 3.0.1

    4 Mar 20261 fix
    • Fixed

      Update README prerequisites to match actual package.json engine and peer dependency constraints.

  7. 3.0.0

    Migration needed3 Mar 20266 new · 2 fixes
    • Breaking

      useAuth().getToken is no longer undefined during server-side rendering, it is a function and calling it will throw.

    • Breaking

      Refactor React SDK hooks to subscribe to auth state via useSyncExternalStore. This is a mostly internal refactor to unlock future improvements, but includes a few breaking changes and fixes.

    • Breaking

      Usage of rootAuthLoader without the clerkMiddleware() installed will not throw a runtime error.

    • Breaking

      Remove clerkJSUrl, clerkJSVersion, clerkUIUrl, and clerkUIVersion props from all SDKs. To pin a specific version of @clerk/clerk-js, import the Clerk constructor from @clerk/clerk-js and pass it to ClerkProvider via the Clerk prop. To pin a specific version of @clerk/ui, import ui from @clerk/ui and pass it via the ui prop. This bundles the modules directly with your application instead of loading them from the CDN.

43 internal lines (docs, tests, tooling) left out.

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.