@clerk/shared
4.45.1 · 14 Nov 2026MIT11.8M / weekRepositorynpmAtom feed
Upgrading @clerk/shared From 2.20.0 to 2.22.1
22 releases in betweennotes for 21
- 1+
- change to make
- 0
- advisories fixed
- 4+
- new
- 10+
- fixes
Counted from 21 of 22 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Deprecated2.22.0
Release by release
2.22.1no release note
- Deprecated
Introduce
EmailLinkErrorCodeStatusto support users in custom flows and markEmailLinkErrorCodeas deprecated. - New
Support passing additional properties to
eventPrebuiltComponentMounted(), and ensurewithSignUpis collected onSignInmount. - Fixed
Previously, the
getCurrentOrganizationMembership()function was duplicated in both@clerk/vueand@clerk/shared/react. This change moves the function to@clerk/shared/organization.
- Deprecated
2.21.1nothing new or fixed in the note
- New
Introduce unified environment variable handling across all supported platforms
- Fixed
Small JSDoc and type improvements
- New
2.20.18nothing new or fixed in the note
- Fixed
Previously the
createPathMatcher()function was re-implemented both in@clerk/astroand@clerk/nextjs, this PR moves this logic to@clerk/shared. - Fixed
Improve JSDoc comments to provide better IntelliSense in your IDE
- Fixed
- Fixed
Catching ATOB errors in isPublishableKey
- Fixed
- New
Introduced searching for members list on
OrganizationProfile
- New
19 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.