Skip to content

Commit f6fb0eb

Browse files
authored
Merge branch 'main' into vaggelis/sdk-1780-clerkremix-v4012-requestinit-duplex-option-is-required-when
2 parents 4d7a407 + b8acf30 commit f6fb0eb

29 files changed

+1398
-431
lines changed

Diff for: .changeset/long-queens-promise.md

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---

Diff for: .changeset/old-weeks-hammer.md

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---

Diff for: .changeset/six-lobsters-happen.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
'@clerk/elements': minor
3+
---
4+
5+
The `path` prop on the `<SignIn.Root>` and `<SignUp.Root>` component is now automatically inferred. Previously, the default values were `/sign-in` and `/sign-up`, on other routes you had to explicitly define your route.
6+
7+
The new heuristic for determining the path where `<SignIn.Root>` and `<SignUp.Root>` are mounted is:
8+
9+
1. `path` prop
10+
2. Automatically inferred
11+
3. If it can't be inferred, fallback to `CLERK_SIGN_IN_URL` and `CLERK_SIGN_UP_URL` env var
12+
4. Fallback to `/sign-in` and `/sign-up`

Diff for: .changeset/tricky-rabbits-sparkle.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"@clerk/clerk-js": patch
3+
---
4+
5+
In a previous release the protocol validation for window navigation was added ([ref](https://github.com/clerk/javascript/commit/b91e0ef4036d215da09d144f85b0a5ef2afe6cba)). Since then only `http:` and `https:` were allowed.
6+
7+
With this release `wails:` is also supported again. If you think that the mentioned commit introduced a regression for you and your protocol should be supported, please open an issue.

Diff for: integration/tests/handshake.test.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { generateConfig, getJwksFromSecretKey } from '../testUtils/handshake';
88

99
const PORT = 4199;
1010

11-
test.describe('Client handshake @generic', () => {
11+
test.skip('Client handshake @generic', () => {
1212
test.describe.configure({ mode: 'serial' });
1313

1414
let app: Application;
@@ -42,7 +42,7 @@ test.describe('Client handshake @generic', () => {
4242
4343
// Set the paths that don't require the user to be signed in
4444
const publicPaths = ['/', /^(\\/(sign-in|sign-up|app-dir|custom)\\/*).*$/];
45-
45+
4646
export const middleware = (req, evt) => {
4747
return authMiddleware({
4848
publicRoutes: publicPaths,
@@ -54,7 +54,7 @@ test.describe('Client handshake @generic', () => {
5454
signInUrl: req.headers.get("x-sign-in-url"),
5555
})(req, evt)
5656
};
57-
57+
5858
export const config = {
5959
matcher: ['/((?!.+\\.[\\w]+$|_next).*)', '/', '/(api|trpc)(.*)'],
6060
};

0 commit comments

Comments
 (0)