Skip to content

Commit 5adabce

Browse files
authored
Merge branch 'main' into rob/oauth-consent-ga
2 parents 39afe25 + e85de19 commit 5adabce

115 files changed

Lines changed: 4205 additions & 1375 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.changeset/auth-import-error.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/bump-clerk-android-1.0.13.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/oauth-consent-last-active-org.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/wacky-dryers-hammer.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.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

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
22.11.0
1+
24.15.0
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import { auth } from '@clerk/nextjs/server';
2+
3+
// Regression guard for the "mixed auth params + options in a single argument"
4+
// bypass. When callers assign the argument to a variable (which defeats TS's
5+
// excess-property check), the role check must still run.
6+
const opts = { role: 'org:admin', unauthorizedUrl: '/settings/denied' } as const;
7+
8+
export default async function Page() {
9+
await auth.protect(opts);
10+
return <p>User has access</p>;
11+
}

0 commit comments

Comments
 (0)