Skip to content

Commit b4af784

Browse files
committed
Merge branch 'main' into fredrik/user-4043-remove-clerk-state-contexts-from-provider-and-rely-on
2 parents c371efe + 93d568f commit b4af784

File tree

21 files changed

+517
-49
lines changed

21 files changed

+517
-49
lines changed

.changeset/busy-snakes-pump.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@clerk/ui': patch
3+
---
4+
5+
Fix issue where the reset password form could be submitted via the enter key even when the confirmation password didn't match.

.changeset/kind-humans-retire.md

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

.changeset/loose-trams-look.md

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

.changeset/quick-mirrors-eat.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@clerk/upgrade': patch
3+
---
4+
5+
Default Ready to upgrade? to yes

.changeset/tender-hairs-smash.md

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

.github/workflows/labeler.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,3 @@ jobs:
1919
filter: "blob:none"
2020
show-progress: false
2121
- uses: actions/labeler@v6
22-
with:
23-
repo-token: ${{ secrets.CLERK_COOKIE_PAT }}

integration/testUtils/usersService.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export type FakeOrganization = {
7575
export type FakeAPIKey = {
7676
apiKey: APIKey;
7777
secret: string;
78-
revoke: () => Promise<APIKey>;
78+
revoke: (reason?: string | null) => Promise<APIKey>;
7979
};
8080

8181
export type UserService = {
@@ -232,10 +232,8 @@ export const createUserService = (clerkClient: ClerkClient) => {
232232
return {
233233
apiKey,
234234
secret: apiKey.secret ?? '',
235-
revoke: () =>
236-
withErrorLogging('revokeAPIKey', () =>
237-
clerkClient.apiKeys.revoke({ apiKeyId: apiKey.id, revocationReason: 'For testing purposes' }),
238-
),
235+
revoke: (reason?: string | null) =>
236+
clerkClient.apiKeys.revoke({ apiKeyId: apiKey.id, revocationReason: reason }),
239237
} satisfies FakeAPIKey;
240238
},
241239
passwordCompromised: async (userId: string) => {

integration/tests/machine-auth/api-keys.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ test.describe('Next.js API key auth within clerkMiddleware() @machine', () => {
6565
});
6666

6767
test.afterAll(async () => {
68-
await fakeAPIKey.revoke();
68+
await fakeAPIKey.revoke('Testing purposes within clerkMiddleware()');
6969
await fakeUser.deleteIfExists();
7070
await app.teardown();
7171
});

0 commit comments

Comments
 (0)