You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
#7807e2dd204 - fix(router-core): handle window and element scroll restoration independently
Window and element scroll targets are now handled independently. Restoring one target no longer suppresses resets for other uncached configured targets, and a restored element is no longer reset when the window has no cached position.
Hash navigation no longer resets elements configured through scrollToTopSelectors and retains precedence over stale window positions through destination invalidations.
Scroll positions are sampled when leaving a route, preserving live changes made after the most recent scroll event. This also prevents client hydration from undoing nested positions restored by the SSR script.
Current gzip tracks all emitted client JS chunks. Initial gzip tracks only the entry/import graph. Trend sparkline is historical current gzip ending with this PR measurement; lower is better.
Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.
Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.
Comparing changeset-release/main (33fddd5) with main (caebc57)
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
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 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
@tanstack/react-router@1.170.18
Patch Changes
e2dd204]:@tanstack/react-start@1.168.28
Patch Changes
@tanstack/react-start-client@1.168.16
Patch Changes
e2dd204]:@tanstack/react-start-rsc@0.1.27
Patch Changes
e2dd204]:@tanstack/react-start-server@1.167.22
Patch Changes
e2dd204]:@tanstack/router-cli@1.167.19
Patch Changes
@tanstack/router-core@1.171.15
Patch Changes
#7807
e2dd204- fix(router-core): handle window and element scroll restoration independentlyWindow and element scroll targets are now handled independently. Restoring one target no longer suppresses resets for other uncached configured targets, and a restored element is no longer reset when the window has no cached position.
Hash navigation no longer resets elements configured through
scrollToTopSelectorsand retains precedence over stale window positions through destination invalidations.Scroll positions are sampled when leaving a route, preserving live changes made after the most recent scroll event. This also prevents client hydration from undoing nested positions restored by the SSR script.
Fixes #7687.
@tanstack/router-generator@1.167.19
Patch Changes
e2dd204]:@tanstack/router-plugin@1.168.20
Patch Changes
e2dd204]:@tanstack/router-vite-plugin@1.167.20
Patch Changes
@tanstack/solid-router@1.170.18
Patch Changes
e2dd204]:@tanstack/solid-start@1.168.28
Patch Changes
@tanstack/solid-start-client@1.168.16
Patch Changes
e2dd204]:@tanstack/solid-start-server@1.167.22
Patch Changes
e2dd204]:@tanstack/start-client-core@1.170.14
Patch Changes
e2dd204]:@tanstack/start-plugin-core@1.171.20
Patch Changes
e2dd204]:@tanstack/start-server-core@1.169.17
Patch Changes
e2dd204]:@tanstack/start-static-server-functions@1.167.19
Patch Changes
@tanstack/start-storage-context@1.167.17
Patch Changes
e2dd204]:@tanstack/vue-router@1.170.17
Patch Changes
e2dd204]:@tanstack/vue-start@1.168.27
Patch Changes
@tanstack/vue-start-client@1.167.19
Patch Changes
e2dd204]:@tanstack/vue-start-server@1.167.22
Patch Changes
e2dd204]: