Skip to content

Commit c5cbbe8

Browse files
authored
Merge branch 'main' into rob/astro-keyless
2 parents eaa509f + 14ca5e4 commit c5cbbe8

58 files changed

Lines changed: 1315 additions & 19 deletions

Some content is hidden

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

.changeset/all-towns-retire.md

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

.changeset/calm-pillows-slide.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@clerk/clerk-js': minor
3+
---
4+
5+
Reuse SignIn and SignUp instances on Client when processing Client response JSON.

.changeset/clerk-hono-initial.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
'@clerk/hono': minor
3+
---
4+
5+
Initial release of `@clerk/hono` - the official Clerk SDK for Hono.
6+
7+
This package provides:
8+
- `clerkMiddleware()` - Middleware to authenticate requests and attach auth data to Hono context
9+
- `getAuth(c)` - Helper to retrieve auth data from Hono context
10+
- `verifyWebhook(c)` - Webhook verification via `@clerk/hono/webhooks`
11+
12+
**Usage:**
13+
14+
```typescript
15+
import { Hono } from 'hono';
16+
import { clerkMiddleware, getAuth } from '@clerk/hono';
17+
18+
const app = new Hono();
19+
20+
app.use('*', clerkMiddleware());
21+
22+
app.get('/protected', (c) => {
23+
const { userId } = getAuth(c);
24+
if (!userId) {
25+
return c.json({ error: 'Unauthorized' }, 401);
26+
}
27+
return c.json({ userId });
28+
});
29+
```
30+
31+
Based on the community `@hono/clerk-auth` package. Thank you to Vaggelis Yfantis for the original implementation!

.changeset/config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
}
88
],
99
"commit": false,
10+
"ignore": ["@clerk/hono"],
1011
"fixed": [],
1112
"linked": [],
1213
"access": "public",

.changeset/eager-baboons-sink.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
"@clerk/astro": patch
3+
"@clerk/express": patch
4+
"@clerk/nextjs": patch
5+
"@clerk/nuxt": patch
6+
"@clerk/react-router": patch
7+
"@clerk/tanstack-react-start": patch
8+
---
9+
10+
Wire `clerkUIVersion` option through all framework packages
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 infinite loading spinner when navigating to factor-two sign-in route without an active 2FA session

.changeset/nice-worlds-brake.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@clerk/shared': patch
3+
'@clerk/ui': patch
4+
---
5+
6+
Display message for `user_deactivated` error code on `SignIn` and `SignUp`
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@clerk/clerk-js': patch
3+
---
4+
5+
Removed redundant `beforeunload` event listener from SafeLock that was disabling the browser's back-forward cache (bfcache), degrading navigation performance.

.changeset/spicy-lemons-attend.md

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+
Match confirmation deletion message for user accounts in Dutch translations.

commitlint.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const Configuration = {
3131
'body-max-line-length': [1, 'always', '150'],
3232
'scope-empty': [2, 'never'],
3333
'scope-enum': [2, 'always', [...getPackageNames(), 'repo', 'release', 'e2e', '*', 'ci']],
34-
'subject-case': [2, 'always', ['camel-case', 'lower-case', 'sentence-case']],
34+
'subject-case': [1, 'always', ['camel-case', 'lower-case', 'sentence-case']],
3535
},
3636
};
3737

0 commit comments

Comments
 (0)