Patch Changes
-
#11026
8dfb1a2
Thanks @bluwy! - Skips rendering script tags if it's inlined and empty whenexperimental.directRenderScript
is enabled -
#11043
d0d1710
Thanks @bholmesdev! - Fixes minor type issues in actions component example -
#10999
5f353e3
Thanks @bluwy! - The prefetch feature is updated to better support different browsers and different cache headers setup, including:- All prefetch strategies will now always try to use
<link rel="prefetch">
if supported, or will fall back tofetch()
. - The
prefetch()
programmatic API'swith
option is deprecated in favour of an automatic approach that will also try to use<link rel="prefetch>
if supported, or will fall back tofetch()
.
This change shouldn't affect most sites and should instead make prefetching more effective.
- All prefetch strategies will now always try to use
-
#11041
6cc3fb9
Thanks @bholmesdev! - Fixes 500 errors when sending empty params or returning an empty response from an action. -
#11028
771d1f7
Thanks @bholmesdev! - Throw on missing server output when using Astro Actions. -
#11029
bd34452
Thanks @bholmesdev! - Actions: include validation error in thrown error message for debugging. -
#11046
086694a
Thanks @HiDeoo! - FixesgetViteConfig()
type definition to allow passing an inline Astro configuration as second argument -
#11026
8dfb1a2
Thanks @bluwy! - Fixes CSS handling if imported in a script tag in an Astro file whenexperimental.directRenderScript
is enabled -
#11020
2e2d6b7
Thanks @xsynaptic! - Add type declarations forimport.meta.env.ASSETS_PREFIX
when defined as an object for handling different file types. -
#11030
18e7f33
Thanks @bholmesdev! - Actions: Fix missing message for custom Action errors. -
#10981
ad9227c
Thanks @mo! - Adds deprecated HTML attribute "name" to the list of valid attributes. This attribute has been replaced by the globalid
attribute in recent versions of HTML. -
#11013
4ea38e7
Thanks @QingXia-Ela! - Prevents unhandledrejection error when checking for latest Astro version -
#11034
5f2dd45
Thanks @arganaphang! - Addpopovertargetaction
to the attribute that can be passed to thebutton
andinput
element