Releases: withastro/astro
@astrojs/[email protected]
Patch Changes
- #8007
58b121d42
Thanks @paperdave! - Support Bun by adjusting how@babel/plugin-transform-react-jsx
is imported.
[email protected]
Patch Changes
- #7986
8e5a27b48
Thanks @natemoo-re! - Ensure injectRoute is properly handled inbuild
as well asdev
[email protected]
Patch Changes
-
#7945
a00cfb894
Thanks @matthewp! - Fix race condition when performing swap for fallback -
#7983
6cd7290d2
Thanks @natemoo-re! - Fix filename generation for.astro
pages -
#7946
9d0070095
Thanks @andremralves! - Fix: missing CSS import when 404 server Response redirects to a custom 404 page. -
#7977
a4a637c8f
Thanks @bluwy! - Fix inline root resolve logic -
#7943
c2682a17c
Thanks @natemoo-re! - Ensure that injected routes fromnode_modules
are properly detected
@astrojs/[email protected]
Patch Changes
- #7964
51028f85c
Thanks @DerTimonius! - Add URL to RSSOptions.site type
@astrojs/[email protected]
[email protected]
Patch Changes
- #7939
89cd4b877
Thanks @natemoo-re! - Handle error state for version number
[email protected]
Patch Changes
-
#7935
6035bb35f
Thanks @natemoo-re! - Properly handle routing when multiple slashes are present in the request by collapsing them to a single/
-
#7936
4b6deda36
Thanks @matthewp! - Export createTransitionScope for the runtime -
Updated dependencies [
6035bb35f
]:- @astrojs/[email protected]
[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:<video controls="" autoplay="" transition:persist> <source src="https://ia804502.us.archive.org/33/items/GoldenGa1939_3/GoldenGa1939_3_512kb.mp4" type="video/mp4" /> </video>
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:
<Counter count={5} client:load transition:persist />
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 #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
- #7729
560d0dab1
Thanks @soilSpoon! - Add cache headers to assets in Vercel adapter