Skip to content

Commit f013b20

Browse files
authored
Merge branch 'main' into theo/protect-check-sdk-support
2 parents f641da5 + e0a63f9 commit f013b20

43 files changed

Lines changed: 1346 additions & 474 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@clerk/nextjs': patch
3+
---
4+
5+
Use a constant-time comparison when validating the integrity signature on the middleware-to-origin auth header handoff (`assertTokenSignature`). The previous `!==` compare was timing-variable; the new helper is synchronous and runtime-agnostic so it works in both Node and Edge Runtime.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
'@clerk/shared': patch
3+
'@clerk/backend': patch
4+
'@clerk/clerk-js': patch
5+
'@clerk/nextjs': patch
6+
---
7+
8+
Auto-proxy FAPI requests for `.vercel.app` subdomains. When deployed to a `.vercel.app` domain without explicit proxy or domain configuration, the SDK automatically routes Frontend API requests through `/__clerk` on the app's own origin. This enables Clerk production mode on Vercel deployments without manual proxy setup.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@clerk/localizations': patch
3+
---
4+
5+
Expand the Catalan (`ca-ES`) localization by filling in previously undefined translations across billing, checkout, subscription management, cancellation flows, and related UI strings.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
'@clerk/backend': patch
3+
'@clerk/react-router': patch
4+
'@clerk/tanstack-react-start': patch
5+
---
6+
7+
Fix `Request` cloning and outbound `fetch` to omit cross-realm `AbortSignal`. Node 24's bundled undici tightened the `instanceof AbortSignal` check on `RequestInit.signal`, which broke:
8+
9+
- Cloning framework-specific requests such as `NextRequest` in `@clerk/backend`'s `ClerkRequest`.
10+
- Subclassed `Request`s passed through `patchRequest` in `@clerk/react-router` and `@clerk/tanstack-react-start`.
11+
- Frontend API proxying in `@clerk/backend`'s `clerkFrontendApiProxy`, which forwarded the inbound request's signal to the upstream `fetch`. Abort propagation will be restored in a follow-up via an in-realm `AbortController` bridge.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---

.changeset/young-donkeys-sip.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---

.github/actions/init-blacksmith/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ inputs:
44
node-version:
55
description: 'The node version to use'
66
required: false
7-
default: '22'
7+
default: '24.15.0'
88
playwright-enabled:
99
description: 'Enable Playwright?'
1010
required: false

.github/actions/init/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ inputs:
44
node-version:
55
description: 'The node version to use'
66
required: false
7-
default: '22'
7+
default: '24.15.0'
88
playwright-enabled:
99
description: 'Enable Playwright?'
1010
required: false

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,10 @@ jobs:
218218
fail-fast: false
219219
matrix:
220220
include:
221-
- node-version: 22
221+
- node-version: 24.15.0
222+
test-filter: "**"
223+
filter-label: "**"
224+
- node-version: 20.19.0
222225
test-filter: "**"
223226
filter-label: "**"
224227

@@ -257,7 +260,7 @@ jobs:
257260
- name: Run Typedoc tests
258261
run: |
259262
# Only run Typedoc tests for one matrix version and main test run
260-
if [ "${{ matrix.node-version }}" == "22" ] && [ "${{ matrix.test-filter }}" = "**" ]; then
263+
if [ "${{ matrix.node-version }}" == "24.15.0" ] && [ "${{ matrix.test-filter }}" = "**" ]; then
261264
pnpm turbo run //#test:typedoc
262265
fi
263266
env:
@@ -501,7 +504,7 @@ jobs:
501504
uses: ./.github/actions/init-blacksmith
502505
with:
503506
turbo-enabled: true
504-
node-version: 22
507+
node-version: 24.15.0
505508
turbo-signature: ${{ secrets.TURBO_REMOTE_CACHE_SIGNATURE_KEY }}
506509
turbo-summarize: ${{ env.TURBO_SUMMARIZE }}
507510
turbo-team: ${{ vars.TURBO_TEAM }}

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ jobs:
524524

525525
strategy:
526526
matrix:
527-
version: [22] # NOTE: 18 is cached in the main release workflow
527+
version: [24] # NOTE: 20 is cached in the main release workflow
528528

529529
steps:
530530
- name: Checkout Repo

0 commit comments

Comments
 (0)