Skip to content

Commit 0b998a6

Browse files
authored
Merge branch 'main' into ss/more-typedoc-outputs
2 parents 6671fb1 + a1635f0 commit 0b998a6

37 files changed

Lines changed: 1862 additions & 1039 deletions
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"@clerk/expo": patch
3+
---
4+
5+
Fix `MissingActivity` error on cold-start Google sign-in / passkey flows. Previously, the first tap on "Sign in with Google" in `<AuthView />` failed with `Clerk error: Google sign-in cannot start: Credential Manager requires an active Activity context.` — the workaround was to background and foreground the app once before signing in.
6+
7+
The Android bridge now calls `Clerk.attachActivity()` (added in clerk-android 1.0.16) at SDK initialization and on AuthView/UserProfile mount, so the current Activity is registered with the underlying SDK before any Credential Manager call. No app-side changes required; the fix is transparent on rebuild.

.changeset/four-wombats-clean.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@clerk/clerk-js": minor
3+
"@clerk/ui": minor
4+
---
5+
6+
Removed unused internal OAuthConsent prop.

.changeset/lucky-tables-learn.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+
Add wizard steps for the `<__experimental_ConfigureSSO />` component

.changeset/pink-taxes-do.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@clerk/ui': patch
3+
---
4+
5+
Remove back button on the sign-in password compromised/pwned error screen.
6+
7+
These errors are not recoverable by re-entering the password, so the back button led to a confusing dead end that would always take you back to the same error.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
"@clerk/backend": "workspace:*",
7878
"@clerk/shared": "workspace:*",
7979
"@clerk/testing": "workspace:*",
80-
"@commitlint/cli": "^20.5.0",
80+
"@commitlint/cli": "^20.5.2",
8181
"@commitlint/config-conventional": "^20.5.0",
8282
"@eslint/eslintrc": "^3.3.5",
8383
"@eslint/js": "9.31.0",

packages/backend/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@
125125
},
126126
"devDependencies": {
127127
"@edge-runtime/vm": "5.0.0",
128-
"cookie": "1.0.2",
129-
"msw": "2.11.6",
128+
"cookie": "1.1.1",
129+
"msw": "2.14.2",
130130
"npm-run-all": "^4.1.5",
131131
"snakecase-keys": "9.0.2",
132132
"vitest-environment-miniflare": "2.14.4"

packages/clerk-js/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,16 +103,16 @@
103103
"devDependencies": {
104104
"@clerk/msw": "workspace:^",
105105
"@clerk/testing": "workspace:^",
106-
"@emotion/react": "11.11.1",
106+
"@emotion/react": "11.14.0",
107107
"@rsdoctor/rspack-plugin": "^0.4.13",
108108
"@rspack/cli": "catalog:rspack",
109109
"@rspack/core": "catalog:rspack",
110110
"@rspack/plugin-react-refresh": "catalog:rspack",
111111
"@types/cloudflare-turnstile": "^0.2.2",
112112
"@types/webpack-env": "^1.18.8",
113-
"bundlewatch": "^0.4.1",
113+
"bundlewatch": "^0.4.2",
114114
"jsdom": "26.1.0",
115-
"minimatch": "^10.0.3",
115+
"minimatch": "^10.2.5",
116116
"webpack-merge": "^5.10.0"
117117
},
118118
"engines": {

packages/clerk-js/sandbox/app.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,6 @@ void (async () => {
486486
scopes,
487487
oauthClientId: 'Wg9fP2d0pSFXCZ1u',
488488
redirectUrl: searchParams.get('redirect_uri') ?? 'http://localhost:4000/oauth/callback',
489-
__internal_enableOrgSelection: true,
490489
},
491490
);
492491
},

packages/clerk-js/src/core/clerk.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1457,6 +1457,15 @@ export class Clerk implements ClerkInterface {
14571457
return;
14581458
}
14591459

1460+
if (noUserExists(this)) {
1461+
if (this.#instanceType === 'development') {
1462+
throw new ClerkRuntimeError(warnings.cannotRenderConfigureSSOComponentWhenUserDoesNotExist, {
1463+
code: CANNOT_RENDER_USER_MISSING_ERROR_CODE,
1464+
});
1465+
}
1466+
return;
1467+
}
1468+
14601469
this.assertComponentsReady(this.#clerkUI);
14611470
const component = 'ConfigureSSO';
14621471
void this.#clerkUI

packages/expo/android/build.gradle

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ ext {
1818
credentialsVersion = "1.3.0"
1919
googleIdVersion = "1.1.1"
2020
kotlinxCoroutinesVersion = "1.7.3"
21-
clerkAndroidApiVersion = "1.0.13"
22-
clerkAndroidUiVersion = "1.0.13"
21+
clerkAndroidApiVersion = "1.0.16"
22+
clerkAndroidUiVersion = "1.0.16"
2323
composeVersion = "1.7.0"
2424
activityComposeVersion = "1.9.0"
2525
lifecycleVersion = "2.8.0"
@@ -117,6 +117,16 @@ dependencies {
117117
exclude group: 'com.squareup.okhttp3', module: 'okhttp'
118118
exclude group: 'com.squareup.okhttp3', module: 'okhttp-urlconnection'
119119
}
120+
// clerk-android-telemetry has a transitive dep on the last released
121+
// clerk-android-api. Pinning the api explicitly here keeps consumers
122+
// compiling against the same version we ship the UI from.
123+
implementation("com.clerk:clerk-android-api:$clerkAndroidApiVersion") {
124+
exclude group: 'org.jetbrains.kotlin', module: 'kotlin-stdlib'
125+
exclude group: 'org.jetbrains.kotlin', module: 'kotlin-stdlib-jdk7'
126+
exclude group: 'org.jetbrains.kotlin', module: 'kotlin-stdlib-jdk8'
127+
exclude group: 'com.squareup.okhttp3', module: 'okhttp'
128+
exclude group: 'com.squareup.okhttp3', module: 'okhttp-urlconnection'
129+
}
120130

121131
// Jetpack Compose for wrapping Clerk views
122132
implementation "androidx.compose.ui:ui:$composeVersion"

0 commit comments

Comments
 (0)