@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…
- 9
- changes to make
- 0
- advisories fixed
- 7
- new
- 5
- fixes
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
3.1.1 – 3.1.44 releases, nothing new or fixed in the notes
- New
Introduce internal
<OAuthConsent />component for rendering a zero-config OAuth consent screen on an OAuth authorize redirect page.
- New
- Fixed
Simplified keyless service initialization.
- Fixed
3.0.4 – 3.0.127 releases, nothing new or fixed in the notes
- Fixed
Upgrade
cookiedependency from v0.7.2 to v1.0.2 and remove deprecated@types/cookie(cookie v1 ships built-in types).
- Fixed
- Fixed
Update README prerequisites to match actual
package.jsonengine and peer dependency constraints.
- Fixed
- Breaking
useAuth().getTokenis no longerundefinedduring 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
rootAuthLoaderwithout theclerkMiddleware()installed will not throw a runtime error. - Breaking
Remove
clerkJSUrl,clerkJSVersion,clerkUIUrl, andclerkUIVersionprops from all SDKs. To pin a specific version of@clerk/clerk-js, import theClerkconstructor from@clerk/clerk-jsand pass it toClerkProvidervia theClerkprop. To pin a specific version of@clerk/ui, importuifrom@clerk/uiand pass it via theuiprop. This bundles the modules directly with your application instead of loading them from the CDN.
- Breaking
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.