@clerk/react-router
3.7.6 · 19 Nov 2026MIT138.1k / weekRepositoryHomepagenpmAtom feed
Upgrading @clerk/react-router From 3.5.1 to 3.7.8
64 releases in betweenevery note read
Reading releases, release notes and advisories…
- 2
- changes to make
- 0
- advisories fixed
- 0
- new
- 2
- fixes
Before you upgrade
Tick each one off as you go- Breaking3.6.0
- Deprecated3.7.0
Release by release
3.7.1 – 3.7.88 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
170 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.