Skip to content

ci(repo): Version packages (Core 2) - #11039

Merged
nikosdouvlis merged 1 commit into
release/core-2from
changeset-release/release/core-2
Nov 30, 2026
Merged

nikosdouvlis merged 1 commit into
release/core-2from
changeset-release/release/core-2

Conversation

@clerk-cookie

Copy link
Copy Markdown
Collaborator

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to release/core-2, this PR will be updated.

Releases

@clerk/backend@2.34.0

Minor Changes

  • Add support for ES256-signed tokens and for instances with multiple signing keys. (#11037) by @nikosdouvlis
    • Tokens signed with ES256 are verified against EC keys from the JWKS and against a P-256 PEM jwtKey.
    • Keys added to the JWKS are picked up by kid, and keys removed from the JWKS stop being trusted after the next refetch. Concurrent refetches share a single request.
    • A JWK whose type or alg does not match the token's alg is rejected as an invalid signature (token-invalid-signature).
    • When jwtKey is set but cannot verify a token's alg (a different key type or algorithm) and secretKey is set, the key for the token's kid is loaded from the JWKS instead. This makes a network request where jwtKey previously never did. A pinned jwtKey is still trusted while it is set, so update or remove CLERK_JWT_KEY when your signing keys rotate.
    • A session cookie signed by a key that is no longer in the JWKS now triggers a handshake to refresh the session instead of signing the user out. Cookie requests that cannot perform a handshake are signed out with the new reason session-token-kid-mismatch instead of jwk-kid-mismatch.
    • JwksKeyJSON adds optional crv, x and y fields for EC keys.

Patch Changes

  • Scope the JWKS cache per Clerk instance. The cache was keyed on the JWT kid alone and shared across the whole process, so an application verifying tokens for more than one Clerk instance (for example the Dynamic Keys / multi-tenant pattern) could resolve a signing key that was fetched for a different instance. Keys are now cached separately per secret key and API URL, so a token can only be verified against the instance whose credentials fetched its signing key. (#11037) by @nikosdouvlis

    Networkless verification with jwtKey had the same flaw: the JWK derived from the PEM was cached by kid alone, so a process verifying tokens with different jwtKey values could resolve a key derived from another instance's PEM. The JWK is now always derived from the jwtKey that was passed in.

    The jwk-kid-mismatch error message no longer lists the key IDs currently held in the cache.

@clerk/agent-toolkit@0.2.39

Patch Changes

@clerk/astro@2.17.19

Patch Changes

@clerk/express@1.7.86

Patch Changes

@clerk/fastify@2.6.38

Patch Changes

@clerk/nextjs@6.39.10

Patch Changes

@clerk/nuxt@1.13.36

Patch Changes

@clerk/react-router@2.4.20

Patch Changes

@clerk/remix@4.13.53

Patch Changes

@clerk/tanstack-react-start@0.29.18

Patch Changes

@clerk/testing@1.14.13

Patch Changes

@vercel

vercel Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
clerk-js-sandbox Ready Ready Preview Nov 30, 2026 2:10am UTC
mosaic-docs Error Error Nov 30, 2026 2:10am UTC
swingset Error Error Nov 30, 2026 2:10am UTC

Request Review

@coderabbitai

coderabbitai Bot commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Ignore keyword(s) in the title.

⛔ Ignored keywords: 1

  • ci(repo): Version packages

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@pkg-pr-new

pkg-pr-new Bot commented Nov 30, 2026

Copy link
Copy Markdown

Open in StackBlitz

@clerk/agent-toolkit

npm i https://pkg.pr.new/@clerk/agent-toolkit@11039

@clerk/astro

npm i https://pkg.pr.new/@clerk/astro@11039

@clerk/backend

npm i https://pkg.pr.new/@clerk/backend@11039

@clerk/chrome-extension

npm i https://pkg.pr.new/@clerk/chrome-extension@11039

@clerk/clerk-js

npm i https://pkg.pr.new/@clerk/clerk-js@11039

@clerk/dev-cli

npm i https://pkg.pr.new/@clerk/dev-cli@11039

@clerk/elements

npm i https://pkg.pr.new/@clerk/elements@11039

@clerk/clerk-expo

npm i https://pkg.pr.new/@clerk/clerk-expo@11039

@clerk/expo-passkeys

npm i https://pkg.pr.new/@clerk/expo-passkeys@11039

@clerk/express

npm i https://pkg.pr.new/@clerk/express@11039

@clerk/fastify

npm i https://pkg.pr.new/@clerk/fastify@11039

@clerk/localizations

npm i https://pkg.pr.new/@clerk/localizations@11039

@clerk/nextjs

npm i https://pkg.pr.new/@clerk/nextjs@11039

@clerk/nuxt

npm i https://pkg.pr.new/@clerk/nuxt@11039

@clerk/clerk-react

npm i https://pkg.pr.new/@clerk/clerk-react@11039

@clerk/react-router

npm i https://pkg.pr.new/@clerk/react-router@11039

@clerk/remix

npm i https://pkg.pr.new/@clerk/remix@11039

@clerk/shared

npm i https://pkg.pr.new/@clerk/shared@11039

@clerk/tanstack-react-start

npm i https://pkg.pr.new/@clerk/tanstack-react-start@11039

@clerk/testing

npm i https://pkg.pr.new/@clerk/testing@11039

@clerk/themes

npm i https://pkg.pr.new/@clerk/themes@11039

@clerk/types

npm i https://pkg.pr.new/@clerk/types@11039

@clerk/upgrade

npm i https://pkg.pr.new/@clerk/upgrade@11039

@clerk/vue

npm i https://pkg.pr.new/@clerk/vue@11039

commit: 256608c

@nikosdouvlis nikosdouvlis left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Release for @clerk/backend 2.34.0 (Core 2)

@nikosdouvlis
nikosdouvlis merged commit 73f7df2 into release/core-2 Nov 30, 2026
76 of 80 checks passed
@nikosdouvlis
nikosdouvlis deleted the changeset-release/release/core-2 branch November 30, 2026 13:59

This branch had an error being deployed

1 failed and 1 active deployments
Preview – clerk-js-sandbox — 256608ca Deployed Nov 30, 2026 by vercel[bot]
Preview – swingset — 256608ca Deployed Nov 30, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants