Minor Changes
-
feat: add
scrollproperty toNavigationTargetin navigation callbacks (#15248)Navigation callbacks (
beforeNavigate,onNavigate, andafterNavigate) now include scroll position information via thescrollproperty onfromandtotargets:from.scroll: The scroll position at the moment navigation was triggeredto.scroll: InbeforeNavigateandonNavigate, this is populated forpopstatenavigations (back/forward) with the scroll position that will be restored, andnullfor other navigation types. InafterNavigate, this is always the final scroll position after navigation completed.
This enables use cases like animating transitions based on the target scroll position when using browser back/forward navigation.
-
feat:
hydratable's injected script now works with CSP (#15048)
Patch Changes
-
fix: put preloads before styles (#15232)
-
fix: suppress false-positive inner content warning when children prop is forwarded to a child component (#15269)
-
fix:
fetchnot working when URL is same host but different thanpaths.base(#15291) -
fix: navigate to hash link when base element is present (#15236)
-
fix: avoid triggering
handleErrorwhen redirecting in a remote function (#15222) -
fix: include
testdirectory in generatedtsconfig.jsonalongside existingtestsentry (#15254) -
fix: generate
tsconfig.jsonusing the value ofkit.files.src(#15253)