@clerk/shared
4.45.1 · 14 Nov 2026MIT11.8M / weekRepositorynpmAtom feed
Upgrading @clerk/shared From 2.0.0 to 2.0.1
1 release in betweenevery note read
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 1
- fix
Release by release
- Fixed
Internal change to add client-side caching to Clerk's telemetry. This prevents event flooding in frequently executed code paths, such as for React hooks or components. Gracefully falls back to the old behavior if e.g.
localStorageis not available. As such, no public API changes and user changes are required.
- Fixed
2 other lines we could not sort, mostly version bumps
- 2.0.1
Rename the existing
eventComponentMountedfunction inside/telemetrytoeventPrebuiltComponentMounted. This better reflects that itspropsargument will be filtered for a relevant list for Clerk's prebuilt/all-in-one components. - 2.0.1
Reuse the now freed up
eventComponentMountedname to create a new helper function that accepts a flat object for itspropsbut doesn't filter any. This is useful for components that are not prebuilt.
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.