Releases: clerk/javascript
Releases · clerk/javascript
@clerk/[email protected]
Patch Changes
- Updated dependencies [
d8147fb
]:- @clerk/[email protected]
- @clerk/[email protected]
@clerk/[email protected]
Patch Changes
- Updated dependencies [
305f4ee
,53214f9
,1441e68
,1236c74
]:- @clerk/[email protected]
- @clerk/[email protected]
@clerk/[email protected]
Minor Changes
Patch Changes
- Add example usage for
__experimental_startPath
. (#6987) by @alexcarpenter
@clerk/[email protected]
Patch Changes
- Updated dependencies [
53214f9
,1441e68
]:- @clerk/[email protected]
@clerk/[email protected]
Patch Changes
- Updated dependencies [
305f4ee
,53214f9
,1441e68
,1236c74
,29201b2
]:- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]
@clerk/[email protected]
Patch Changes
- Updated dependencies [
305f4ee
,53214f9
,1441e68
,1236c74
,29201b2
]:- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]
@clerk/[email protected]
Minor Changes
-
Internal refactor of error handling to improve type safety and error classification. (#6985) by @nikosdouvlis
- Introduce new
ClerkError
base class for all Clerk errors - Rename internal error files:
apiResponseError.ts
→clerkApiResponseError.ts
,runtimeError.ts
→clerkRuntimeError.ts
- Add
ClerkAPIError
class for individual API errors with improved type safety - Add type guard utilities (
isClerkError
,isClerkRuntimeError
,isClerkApiResponseError
) for better error handling - Deprecate
clerkRuntimeError
property in favor ofclerkError
for consistency - Add support for error codes, long messages, and documentation URLs
- Introduce new
Patch Changes
-
Fixed JWT public key caching in
verifyToken()
to support multi-instance scenarios. Public keys are now correctly cached perkid
from the token header instead of using a single shared cache key. (#6993) by @nikosdouvlisWhat was broken:
When verifying JWT tokens with the
jwtKey
option (PEM public key), all keys were cached under the same cache key. This caused verification failures in multi-instance scenarios.What's fixed:
JWT public keys are now cached using the
kid
value from each token's header. -
Updated dependencies [
53214f9
,1441e68
]:- @clerk/[email protected]
@clerk/[email protected]
Patch Changes
- Updated dependencies [
305f4ee
,53214f9
,1441e68
,1236c74
,29201b2
]:- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]
@clerk/[email protected]
Patch Changes
- Updated dependencies [
305f4ee
,53214f9
,1441e68
,1236c74
,29201b2
]:- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]
@clerk/[email protected]
Patch Changes
- Updated dependencies [
305f4ee
,53214f9
,1441e68
,1236c74
,29201b2
]:- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]