Update dependency @clerk/tanstack-react-start to v1#280
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
Update dependency @clerk/tanstack-react-start to v1#280renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
2be8ff2 to
5d48999
Compare
a419d2a to
f6cc750
Compare
1424a22 to
5898280
Compare
5898280 to
4e6eb7d
Compare
4e6eb7d to
de2cd46
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.29.8→^1.0.12Release Notes
clerk/javascript (@clerk/tanstack-react-start)
v1.0.12Compare Source
Patch Changes
fdac10e,4e3cb0a,aa32bbc]:v1.0.11Compare Source
Patch Changes
bedad42]:v1.0.8Compare Source
Patch Changes
9a00a1c,00715a6,39ee042,b8c73d3,1827b50,7707a31,849f198,7c7d025]:v1.0.7Compare Source
Patch Changes
7027e97,0288931,3efdd2c,486545c]:v1.0.6Compare Source
Patch Changes
f0533a2,e00ec97]:v1.0.5Compare Source
Patch Changes
Removed beta warning in README (#8062) by @wobsoriano
Updated dependencies [
b9cb6e5]:v1.0.4Compare Source
Patch Changes
1f43bf7,766ae5b,de1386f,02ff4f2]:v1.0.2Compare Source
Patch Changes
a8c64cc,776ee1b,7fb870d,398b7f9,09cb6d4,09088ed]:v1.0.1Compare Source
Patch Changes
bedad42]:v1.0.0Compare Source
Major Changes
Require Node.js 20.9.0 in all packages (#7262) by @jacekradko
Remove
clerkJSUrl,clerkJSVersion,clerkUIUrl, andclerkUIVersionprops from all SDKs. To pin a specific version of@clerk/clerk-js, import theClerkconstructor from@clerk/clerk-jsand pass it toClerkProvidervia theClerkprop. To pin a specific version of@clerk/ui, importuifrom@clerk/uiand pass it via theuiprop. This bundles the modules directly with your application instead of loading them from the CDN. (#7879) by @jacekradkoIntroduce
<Show when={...}>as the cross-framework authorization control component and remove<Protect>,<SignedIn>, and<SignedOut>in favor of<Show>. (#7373) by @jacekradkogetToken()now throwsClerkOfflineErrorinstead of returningnullwhen the client is offline. (#7598) by @bratsosThis makes it explicit that a token fetch failure was due to network conditions, not authentication state. Previously, returning
nullcould be misinterpreted as "user is signed out," potentially causing the cached token to be cleared.To handle this change, catch
ClerkOfflineErrorfromgetToken()calls:Minor Changes
useAuth().getTokenis no longerundefinedduring server-side rendering, it is a function and calling it will throw. (#7730) by @EphemgetTokeninuseEffect, event handlers or with non-suspenseful data fetching libraries, no change is necessary as these only trigger on the client.getTokenalready, since this has never been possible.getToken === undefinedchecks to avoid calling it, know that it will now throw instead and you should catch and handle the error.To access auth data server-side, see the
Authobject reference doc.Refactor React SDK hooks to subscribe to auth state via
useSyncExternalStore. This is a mostly internal refactor to unlock future improvements, but includes a few breaking changes and fixes. (#7411) by @EphemBreaking changes:
initialAuthStatetouseAuthinitialStateto the<ClerkProvider>, ordynamicif using the Next packageFixes:
useAuthwould sometimes briefly return theinitialStaterather thanundefineduser: nullon the first page after signing in, indicating a signed out stateclerk-jshad loaded fullyIntroducing
setup_mfasession task (#7626) by @octoperRemove
clerkJSVariantoption and headless bundle. UseprefetchUI={false}instead. (#7629) by @jacekradkoRemove all previously deprecated UI props across the Next.js, React and clerk-js SDKs. The legacy
afterSign(In|Up)Url/redirectUrlprops,UserButtonsign-out overrides, organizationhideSlugflags,OrganizationSwitcher'safterSwitchOrganizationUrl,Client.activeSessions,setActive({ beforeEmit }), and theClerkMiddlewareAuthObjecttype alias are no longer exported. Components now rely solely on the new redirect options and server-side configuration. (#7243) by @jacekradkoAdd
satelliteAutoSyncoption to optimize satellite app handshake behavior (#7597) by @nikosdouvlisSatellite apps currently trigger a handshake redirect on every first page load, even when no cookies exist. This creates unnecessary redirects to the primary domain for apps where most users aren't authenticated.
New option:
satelliteAutoSync(default:false)false(default): Skip automatic handshake if no session cookies exist, only trigger after explicit sign-in actiontrue: Satellite apps automatically trigger handshake on first load (previous behavior)New query parameter:
__clerk_sync__clerk_sync=1(NeedsSync): Triggers handshake after returning from primary sign-in__clerk_sync=2(Completed): Prevents re-sync loop after handshake completesBackwards compatible: Still reads legacy
__clerk_synced=trueparameter.SSR redirect fix: Server-side redirects (e.g.,
redirectToSignIn()from middleware) now correctly add__clerk_sync=1to the return URL for satellite apps. This ensures the handshake is triggered when the user returns from sign-in on the primary domain.CSR redirect fix: Client-side redirects now add
__clerk_sync=1to all redirect URL variants (forceRedirectUrl,fallbackRedirectUrl) for satellite apps, not just the defaultredirectUrl.v0.29.9Compare Source
Patch Changes
e5f213f]:Configuration
📅 Schedule: (in timezone America/Los_Angeles)
* 0-4 * * 1-5)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.