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
[email protected]
Minor Changes
#7861
41afb8405
Thanks @matthewp! - Persistent DOM and Islands in Experimental View TransitionsWith
viewTransitions: true
enabled in your Astro config's experimental section, pages using the<ViewTransition />
routing component can now access a newtransition:persist
directive.With this directive, you can keep the state of DOM elements and islands on the old page when transitioning to the new page.
For example, to keep a video playing across page navigation, add
transition:persist
to the element:This
<video>
element, with its current state, will be moved over to the next page (if the video also exists on that page).Likewise, this feature works with any client-side framework component island. In this example, a counter's state is preserved and moved to the new page:
See our View Transitions Guide to learn more on usage.
Patch Changes
#7821
c00b6f0c4
Thanks @ottomated! - Fixes an issue that prevents importing'astro/app'
#7917
1f0ee494a
Thanks @bluwy! - Prevent integration hooks from re-triggering if the server restarts on config change, but the config fails to load.#7901
00cb28f49
Thanks @bluwy! - Improve sourcemap generation and performance#7911
c264be349
Thanks @martrapp! - fix for viewTransitions: clicking a link doesn't reset scrollY to 0 #7882 by setting state in page navigation (view transitions)#7909
e1e958a75
Thanks @tonydangblog! - Fix: ignore.json
files nested in subdirectories within content collection directories starting with an_
underscore.@astrojs/[email protected]
Minor Changes
560d0dab1
Thanks @soilSpoon! - Add cache headers to assets in Vercel adapterPatch Changes
41afb8405
,c00b6f0c4
,1f0ee494a
,00cb28f49
,c264be349
,e1e958a75
]:@astrojs/[email protected]
Patch Changes
#7901
00cb28f49
Thanks @bluwy! - Improve sourcemap generation and performanceUpdated dependencies [
41afb8405
,c00b6f0c4
,1f0ee494a
,00cb28f49
,c264be349
,e1e958a75
]:@astrojs/[email protected]
Patch Changes
#7708
4dd6c7900
Thanks @DixCouleur! - fix issuse "res.writeHead is not a function" in Express/Node middleware. #7590 "res.writeHead is not a function" in Express/Node middlewareUpdated dependencies [
41afb8405
,c00b6f0c4
,1f0ee494a
,00cb28f49
,c264be349
,e1e958a75
]: