Major Changes
-
This new version introduces the following breaking changes: (#5144) by @nikosdouvlis
- Introduced a new
retryutility function to replace the deprecatedcallWithRetry. - Removed the
callWithRetryfunction and its associated tests. - Renamed
runWithExponentialBackOfftoretryfor consistency.
Migration steps:
- Replace any usage of
callWithRetrywith the newretryfunction. - Update import statements from:
to:
import { callWithRetry } from '@clerk/shared/callWithRetry';
import { retry } from '@clerk/shared/retry';
- Replace any usage of
runWithExponentialBackOffwithretry. - Update import statements from:
to:
import { runWithExponentialBackOff } from '@clerk/shared/utils';
import { retry } from '@clerk/shared/retry';
- Introduced a new
Minor Changes
- Surface new
pendingsession as a signed-in state (#5136) by @LauraBeatris
Patch Changes
-
Update
TelemetryCollectorto throttle events after they've been sampled. (#5236) by @panteliselef -
Updated dependencies [
28179323d9891bd13625e32c5682a3276e73cdae,c5c246ce91c01db9f1eaccbd354f646bcd24ec0a,bcbe5f6382ebcc70ef4fddb950d052bf6b7d693a]:- @clerk/types@4.47.0