Packages

@clerk/react-router

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

Your version

3.7.0

5 Nov 2026Where it was published

3.7.8 is the newest release of 3.x.

In short

1 removed4 internal

  • Removed

    Remove the options argument from rootAuthLoader(). It had no effect, since rootAuthLoader reads auth state from clerkMiddleware(). Pass options like secretKey or signInUrl to clerkMiddleware() instead. The rootAuthLoader() callback request no longer types request.user, request.session, or request.organization, because they were always undefined. RootAuthLoaderOptions is deprecated in favor of ClerkMiddlewareOptions, and its unused loadUser, loadSession, and loadOrganization flags are removed.

Release note

Minor Changes

  • Deprecated

    Remove the options argument from rootAuthLoader(). It had no effect, since rootAuthLoader reads auth state from clerkMiddleware(). Pass options like secretKey or signInUrl to clerkMiddleware() instead. The rootAuthLoader() callback request no longer types request.user, request.session, or request.organization, because they were always undefined. RootAuthLoaderOptions is deprecated in favor of ClerkMiddlewareOptions, and its unused loadUser, loadSession, and loadOrganization flags are removed.

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.