Repository navigation
ci(repo): Version packages - #10864
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedIgnore keyword(s) in the title. ⛔ Ignored keywords: 1
Please check the settings in the CodeRabbit UI or the
|
@clerk/astro
@clerk/backend
@clerk/chrome-extension
@clerk/clerk-js
@clerk/electron
@clerk/electron-passkeys
@clerk/eslint-plugin
@clerk/expo
@clerk/expo-biometrics
@clerk/expo-google-signin
@clerk/expo-native-components
@clerk/expo-passkeys
@clerk/express
@clerk/fastify
@clerk/hono
@clerk/localizations
@clerk/mosaic
@clerk/nextjs
@clerk/nuxt
@clerk/react
@clerk/react-router
@clerk/shared
@clerk/tanstack-react-start
@clerk/testing
@clerk/ui
@clerk/upgrade
@clerk/vue
commit: |
API Changes Report
Summary
No API Changes DetectedAll packages have stable APIs with no detected changes. Report generated by Break Check Last ran on |
🟢 e2e ios: 20 passedAll 20 tests in 13 files
Tested by e2e 0.23.0 · 5m 9s · ios · run artifacts |
🟢 e2e android: 1 flaky, 18 passed
|
| Test | Time | |
|---|---|---|
| specs/features/user-button-and-profile/embedded-profile.e2e.ts · 1 flaky, 1 passed | 18.7s | |
| 🟢 | onHostBack closes the embedded profile after native navigation | 10.5s |
| a custom page renders React Native content inside the embedded profile (1 failed attempt first) | 8.2s | |
| 🟢 | specs/features/custom-flow-sign-in/complete.e2e.ts · 1 passed | 24.2s |
| 🟢 | useSignIn completes with the email code | 24.2s |
| 🟢 | specs/features/custom-flow-sign-up/complete.e2e.ts · 1 passed | 24.0s |
| 🟢 | useSignUp completes with the email code | 24.0s |
| 🟢 | specs/features/native-auth-view/complete.e2e.ts · 1 passed | 25.8s |
| 🟢 | signs in through AuthView with the email code | 25.8s |
| 🟢 | specs/features/native-auth-view/logo.e2e.ts · 1 passed | 26.1s |
| 🟢 | signs in with a password through the AuthView that has a logo, after it closed and reopened | 26.1s |
| 🟢 | specs/features/native-auth-view/opens.e2e.ts · 2 passed | 15.0s |
| 🟢 | the home full-screen sign-in button shows AuthView with no close button | 5.3s |
| 🟢 | closing the AuthView that the home opened returns to the home | 9.7s |
| 🟢 | specs/features/native-js-sync/sign-in-from-native.e2e.ts · 2 passed | 57.2s |
| 🟢 | a native password sign-in reaches the JS hooks and survives a relaunch | 26.5s |
| 🟢 | a second native sign-in in the same process reaches the JS hooks | 30.7s |
| 🟢 | specs/features/native-js-sync/sign-out-from-native.e2e.ts · 1 passed | 10.2s |
| 🟢 | signing out in the native profile signs out the JS hooks | 10.2s |
| 🟢 | specs/features/native-modules/biometric-availability.e2e.ts · 1 passed | 8.9s |
| 🟢 | useBiometricCredentials reports what the expo-biometrics native module found on the device | 8.9s |
| 🟢 | specs/features/native-modules/google-sign-in.e2e.ts · 1 passed | 12.5s |
| 🟢 | useSignInWithGoogle opens the native Google sign-in, and cancelling it ends the flow with no session | 12.5s |
| 🟢 | specs/features/token-cache-persistence/relaunch.e2e.ts · 1 passed | 16.4s |
| 🟢 | the token cache keeps the session across a relaunch, and a new scope starts signed out | 16.4s |
| 🟢 | specs/features/update-required/update-required.e2e.ts · 3 passed | 34.8s |
| 🟢 | a signed-in user on a build below the minimum sees the update screen, and is still signed in once the minimum is lowered | 19.0s |
| 🟢 | a signed-out user on a build below the minimum sees the update screen | 7.7s |
| 🟢 | a build at the minimum opens as usual | 8.1s |
| 🟢 | specs/features/user-button-and-profile/profile.e2e.ts · 2 passed | 17.9s |
| 🟢 | the home UserButton opens the profile of the signed-in user | 11.1s |
| 🟢 | the home sign-out button ends the session | 6.7s |
Tested by e2e 0.23.0 · 5m 15s · android · run artifacts
6380574 to
372787f
Compare
|
372787f to
ca86f45
Compare
b0668ba to
88c1603
Compare
88c1603 to
4d9b6f0
Compare
4d9b6f0 to
ead2976
Compare
ead2976 to
f97f186
Compare
f97f186 to
1756a74
Compare
1756a74 to
67b624f
Compare
67b624f to
cd66173
Compare
cd66173 to
bb7d79e
Compare
bb7d79e to
5ec97ca
Compare

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@clerk/backend@3.31.0
Minor Changes
Add
transactional_email_blockedto theClerkPolicyreasons of theemail.suppressedwebhook event type. Clerk sends this reason when a queued transactional email is suppressed because sending was blocked for the instance. (#10849) by @jescalanAdd an optional
secondFactorVerificationparameter ('fresh' | 'stale') tocreateSignInToken(), which lets a user with a second factor enabled complete the sign-in without being prompted for it.expiresInSecondsis now optional. (#10265) by @dmoernerPatch Changes
users.getUserList()no longer waits for the user count when the page it lists already shows the total: a page with fewer users than itslimit, or no users at all. The count can be slow for a search over many users, and before this changegetUserList()failed whenever the count did. Both requests are still sent together, so a page that fills itslimittakes as long as before. (#10803) by @dmoernerUpdated dependencies [
c71b7d3,2ab3bb8]:@clerk/clerk-js@6.45.0
Minor Changes
clientTrustStatetoSignInFuture, so custom sign-in flows can read whether Clerk trusts the user's device ('new','known', or'pending'). With the Device Trust Status update, Clerk returns it once the first factor, such as the password, is verified, and it'sundefinedbefore then. Without that update, Clerk returns it on every response. It'sundefinedwhen Device Trust is off. (#10775) by @tmilewskiPatch Changes
c71b7d3,2ab3bb8]:@clerk/expo@4.17.0
Minor Changes
Introduce the
useAuthenticatedWebView()hook for showing a page of your web app in a WebView with the native app's user already signed in. (#10767) by @wobsorianoPass your own WebView callbacks, such as
onShouldStartLoadWithRequest, to the hook. Setting them on<WebView>replaces the hook's own handlers.For more advanced cases, such as opening the link in a WebView or browser you manage yourself, create it with
prepareSessionTransfer():On Android, a browser only accepts the link when the intent that opens it names your app as the referrer.
Introduce
openInBrowser()for opening a page of your web app in the default browser with the native app's user already signed in. (#10825) by @wobsorianoIt resolves once the browser has the link, not once the web page has signed the user in. A double tap opens one tab, because a second call for the same destination joins the one in progress.
On Android it needs two more packages:
Patch Changes
c71b7d3,2ab3bb8]:@clerk/mosaic@0.7.0
Minor Changes
Breaking: Add a
Profilecomponent that shows the account's pages, the active organization's pages, or both.<UserProfile />now shows only the account's pages, and<OrganizationProfile />only the organization's. To keep both in one profile, render<Profile />. (#10758) by @alexcarpentermodedefaults to'combined'. Without amode,ProfilefollowsMosaicProvider'sprofile.combined, sofalseshows only the account's pages.With
experimental.newProfiles, the profile a menu opens now matches the menu.<UserButton />and<Switcher mode='user' />open the account's pages, a lone<OrganizationSwitcher />opens the organization's pages, and only a combined<Switcher />opens one profile with both.profile.combined: falsestill splits a combined menu's profile in two.<UserProfile /><Profile /><UserProfile combined /><Profile /><UserProfile combined={false} /><UserProfile />or<Profile mode='user' /><UserProfile organizationProfileProps={...} /><Profile organizationProfileProps={...} />To find the code to update, run:
git grep -n '<UserProfile'New exported type:
ProfileProps.Breaking: Add
Switcher, the account and organization menu, and makeUserButtonlist accounts only.Switchertakesmode:'combined'(the default) lists accounts and organizations,'user'lists accounts only, and'organization'lists organizations.<UserButton />is now<Switcher mode='user' />and<OrganizationSwitcher />is<Switcher mode='organization' />. Each mode takes only its own props, so TypeScript flags organization options onUserButtonandtriggerVariantoutsidecombined. Amodechosen at runtime takes only the props every mode shares. (#10752) by @alexcarpenter<UserButton />(accounts and organizations)<Switcher /><UserButton combined={false} /><UserButton />or<Switcher mode='user' /><UserButton triggerVariant='condensed' /><Switcher triggerVariant='condensed' />UserButton(hidePersonal,afterSelectOrganizationUrl,createOrganizationUrl, ...)SwitcherUserButtonProps(combined menu)SwitcherPropsUserButtonProps(user-only menu)UserButtonProps, which now takes account options only.cl-user-button-*classes on the combined menu.cl-switcher-*;UserButtonkeeps.cl-user-button-*Find usages with
git grep -n -e "UserButton" -e "cl-user-button-".Breaking: Rename
ConsenttoOAuthConsent. Behavior is unchanged; TypeScript flags the old names. (#10870) by @alexcarpenterConsentOAuthConsentConsentPropsOAuthConsentPropsconsent.*localization keysoauthConsent.*consent_missing_client_iderror codeoauth_consent_missing_client_idconsent_missing_redirect_urierror codeoauth_consent_missing_redirect_uri.cl-consent-scopes/.cl-consent-redirect-url.cl-oauth-consent-scopes/.cl-oauth-consent-redirect-urlFind usages with
git grep -nE "(^|[^[:alnum:]_])(Consent(Props)?([^[:alnum:]_]|$)|consent[\"']?[[:space:]]*(\.[[:alpha:]]|:)|consent_missing_)|cl-consent-".Patch Changes
Add component entry points: (#10854) by @maxyinger
Cardfrom@clerk/mosaic/components/cardandFieldfrom@clerk/mosaic/components/fieldPopoverfrom@clerk/mosaic/components/popoverProviderButtonandProviderButtonGroupfrom@clerk/mosaic/components/provider-buttonSwitcherfrom@clerk/mosaic/components/switcher:Switcher.Root,Switcher.TriggerandSwitcher.Popup, and the content partsSwitcher.Header,Switcher.Separator,Switcher.Group,Switcher.Item(withItemMedia,ItemContent,ItemLabel,ItemDescriptionandItemTrailing),Switcher.AvatarandSwitcher.BadgedAvatar.UserButtonandOrganizationSwitcherare built from themBuilding,Checkmark,ChevronDown,ChevronRight,Cog6Teeth,EllipsisHorizontal,Key,SecurityLockSquare,SecurityPhone,SignOut,SwitchAccountandUsersAddRightglyphs from@clerk/mosaic/icons/glyphs/<name>Updated dependencies [
c71b7d3,2ab3bb8]:@clerk/react@6.19.0
Minor Changes
clientTrustStatetoSignInFuture, so custom sign-in flows can read whether Clerk trusts the user's device ('new','known', or'pending'). With the Device Trust Status update, Clerk returns it once the first factor, such as the password, is verified, and it'sundefinedbefore then. Without that update, Clerk returns it on every response. It'sundefinedwhen Device Trust is off. (#10775) by @tmilewskiPatch Changes
c71b7d3,2ab3bb8]:@clerk/shared@4.47.0
Minor Changes
clientTrustStatetoSignInFuture, so custom sign-in flows can read whether Clerk trusts the user's device ('new','known', or'pending'). With the Device Trust Status update, Clerk returns it once the first factor, such as the password, is verified, and it'sundefinedbefore then. Without that update, Clerk returns it on every response. It'sundefinedwhen Device Trust is off. (#10775) by @tmilewskiPatch Changes
@clerk/astro@4.1.26
Patch Changes
Fix
$billingStoreso it emits the billing namespace only after Clerk has loaded. Before, it could emit whileclerk.load()was still running, so a call likegetPlans()in a subscriber could fail with adev_browser_unauthenticatederror on development instances. (#10894) by @wobsorianoFix
clerkMiddlewareso it inserts Clerk's tags only before the document's real</head>tag. It no longer matches</head>inside attribute values, comments, or the text of elements likescript,style,textarea,title, andnoscript, and it now finds a</head>tag that is split across streamed chunks. The server data now goes in<meta>tags, and clerk-js is preloaded with a<link>tag and loaded by the integration's page script. by @wobsorianoUpdated dependencies [
189c71a,dc25c3b,c71b7d3,2ab3bb8,2855616]:@clerk/chrome-extension@3.1.109
Patch Changes
c71b7d3,5628466,dca6a65,2ab3bb8]:@clerk/electron@0.1.14
Patch Changes
c71b7d3,2ab3bb8]:@clerk/expo-passkeys@2.2.3
Patch Changes
c71b7d3,2ab3bb8]:@clerk/express@2.1.92
Patch Changes
189c71a,dc25c3b,c71b7d3,2ab3bb8,2855616]:@clerk/fastify@3.1.102
Patch Changes
189c71a,dc25c3b,c71b7d3,2ab3bb8,2855616]:@clerk/hono@0.1.102
Patch Changes
189c71a,dc25c3b,c71b7d3,2ab3bb8,2855616]:@clerk/localizations@4.25.1
Patch Changes
c71b7d3,2ab3bb8]:@clerk/nextjs@7.10.3
Patch Changes
189c71a,dc25c3b,c71b7d3,2ab3bb8,2855616]:@clerk/nuxt@3.1.26
Patch Changes
189c71a,dc25c3b,c71b7d3,2ab3bb8,2855616]:@clerk/react-router@3.7.4
Patch Changes
189c71a,dc25c3b,c71b7d3,2ab3bb8,2855616]:@clerk/tanstack-react-start@1.7.15
Patch Changes
189c71a,dc25c3b,c71b7d3,2ab3bb8,2855616]:@clerk/testing@2.3.2
Patch Changes
189c71a,dc25c3b,c71b7d3,2ab3bb8,2855616]:@clerk/ui@1.43.1
Patch Changes
Add ChatGPT as a supported OAuth provider strategy for instances where Sign in with ChatGPT is enabled. (#10107) by @brkalow
Show an error and re-enable the buttons in
<UserProfile />Connected Accounts when the OAuth transport fails, for example when an Electron app cannot open the system browser. The connect buttons previously stayed disabled until the component remounted. (#10878) by @wobsoriano<OrganizationProfile />now prompts for reverification before deleting an organization, when the instance requires it. (#10871) by @gabrielmeloc22Updated dependencies [
c71b7d3,2ab3bb8]:@clerk/vue@2.5.23
Patch Changes
c71b7d3,2ab3bb8]:@clerk/msw@0.0.90
Patch Changes
c71b7d3,2ab3bb8]:@clerk/swingset@0.0.75
Patch Changes
c71b7d3,9f21762,8229dfa,2138d8e,d9f1bc8,2ab3bb8]: