@clerk/shared
4.45.1 · 14 Nov 2026MIT11.8M / weekRepositorynpmAtom feed
Upgrading @clerk/shared From 0.15.0 to 0.24.5
29 releases in betweennotes for 26
- 21+
- changes to make
- 0
- advisories fixed
- 16+
- new
- 15+
- fixes
Counted from 26 of 29 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Deprecated0.24.5
- Deprecated0.24.4
- Deprecated0.24.4
- Deprecated0.24.4
- Deprecated0.24.4
- Deprecated0.24.4
- Deprecated0.24.4
- Deprecated0.24.3
- Deprecated0.24.3
- Deprecated0.24.3
Release by release
- Deprecated
Deprecate the
organization.__unstable__invitationUpdateandorganization.__unstable__membershipUpdatemethods. - New
Add
Clerk -prefix to deprecation warnings - Fixed
Internal updates and improvements, with the only public change that npm should no longer complain about missing
reactpeerDependency. - Fixed
In invite members screen of the <OrganizationProfile /> component, consume any invalid email addresses as they are returned in the API error and remove them from the input automatically.
- Deprecated
- Deprecated
MagicLinkError - Deprecated
isMagicLinkError - Deprecated
MagicLinkErrorCode - Deprecated
handleMagicLinkVerification - Deprecated
createMagicLinkFlow - Deprecated
useMagicLink - New
Introduce new
*EmailLink*helpers that will replace the*MagicLink*helpers.
- Deprecated
- Deprecated
orgsjwt claims - Deprecated
apiKey - Deprecated
frontendApi - Deprecated
redirect_url
- Deprecated
- New
Introduce ClerkRuntimeError class for localizing error messages in ClerkJS components
- Fixed
Pins the internal dependency versions. This ensures that users installing our main framework SDKs will get consistent versions across all @clerk/ packages.
- New
- Fixed
Temporarily revert internal change to resolve RSC-related errors
- Fixed
- Deprecated
OrganizationContext - Deprecated
organizationList - Deprecated
useOrganizations - Deprecated
getRequestUrl - New
Introduce
getClerkJsMajorVersionOrTag(),getScriptUrl(),callWithRetry() - New
Add the
use clientdirective in@clerk/sharedto make the package compatible with an RSC environment. - Fixed
Removes the patch for disabling swr-devtools causing apps with swr and broswers with the devtools extention to break.
- Deprecated
- New
Introduce
invitationsin useOrganization, which enables to fetch invitations as paginated lists. - Fixed
Safer usage of
localStorageby checking ifwindowis available in current environment - Fixed
Fix SyntaxError on non-module imports by dropping support for import.meta (used in vite)
- Fixed
deprecated()&deprecatedPropertywarnings will be hidden in test/production
- New
- New
Introduce
deprecated()anddeprecatedProperty()helper methods to report deprecation warnings once on console - New
Introduce
isDevelopmentEnvironment()helper method
- New
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.