chore: update tanstack router deps to latest#492
Merged
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
achou11
added a commit
that referenced
this pull request
Jan 20, 2026
Couple of notable changes: - [v1.146.2](https://github.com/TanStack/router/releases/tag/v1.146.2) introduces some additional redirect safeguarding in router's core ([PR](TanStack/router#6337)) that causes issues when using the `reloadDocument: true` when navigating, which we do in a few places to reset the history. In order to bypass this we patch router-core to allow redirects to URLs that use our app's custom `comapeo:` protocol. Any security/access control measures are thus handled in our app within the protocol handler that's set up in the main process. - Uses `RouteApi.redirect()` instead of the standalone `redirect()` function, which is a little more ergonomic and shouldn't have any user-facing effects ([docs](https://tanstack.com/router/latest/docs/framework/react/api/router/redirectFunction#using-routeredirect-file-based-routes))
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.
Couple of notable changes:
v1.146.2 introduces some additional redirect safeguarding in router's core (PR) that causes issues when using the
reloadDocument: truewhen navigating, which we do in a few places to reset the history. In order to bypass this we patch router-core to allow redirects to URLs that use our app's customcomapeo:protocol. Any security/access control measures are thus handled in our app within the protocol handler that's set up in the main process.Uses
RouteApi.redirect()instead of the standaloneredirect()function, which is a little more ergonomic and shouldn't have any user-facing effects (docs)