@clerk/react-router
3.7.6 · 19 Nov 2026MIT138.1k / weekRepositoryHomepagenpmAtom feed
Upgrading @clerk/react-router From 3.1.3 to 3.7.6
90 releases in betweenevery note read
Reading releases, release notes and advisories…
Before you upgrade
Tick each one off as you go- Breaking3.6.0
- Breaking3.4.0
- Deprecated3.7.0
Security
Fixes 1 advisory affecting 3.1.3
- Clerk has an authorization bypass when combining organization, billing, or reverification checkshigh · GHSA-w24r-5266-9c3c
Release by release
3.7.1 – 3.7.66 releases, nothing new or fixed in the notes
- Deprecated
Remove the
optionsargument fromrootAuthLoader(). It had no effect, sincerootAuthLoaderreads auth state fromclerkMiddleware(). Pass options likesecretKeyorsignInUrltoclerkMiddleware()instead. TherootAuthLoader()callback request no longer typesrequest.user,request.session, orrequest.organization, because they were alwaysundefined.RootAuthLoaderOptionsis deprecated in favor ofClerkMiddlewareOptions, and its unusedloadUser,loadSession, andloadOrganizationflags are removed.
- Deprecated
3.6.42nothing new or fixed in the note
- Fixed
tslibis no longer installed as a runtime dependency. The published builds never imported it.
- Fixed
3.6.1 – 3.6.4038 releases, nothing new or fixed in the notes
- Breaking
Bump the minimum supported React Router v8 version to
8.3.0, which fixes duplicatereact-routerinstances duringreact-router devSSR that broke the Router context (remix-run/react-router#15232).
- Breaking
3.5.15nothing new or fixed in the note
- Fixed
Moved the internal
patchRequest()helper for reuse across framework SDKs.
- Fixed
244 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.