š Patch Changes
-
#11026
8dfb1a2Thanks @bluwy! - Skips rendering script tags if itās inlined and empty whenexperimental.directRenderScriptis enabled -
#11043
d0d1710Thanks @bholmesdev! - Fixes minor type issues in actions component example -
#10999
5f353e3Thanks @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āswithoption 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
6cc3fb9Thanks @bholmesdev! - Fixes 500 errors when sending empty params or returning an empty response from an action. -
#11028
771d1f7Thanks @bholmesdev! - Throw on missing server output when using Astro Actions. -
#11029
bd34452Thanks @bholmesdev! - Actions: include validation error in thrown error message for debugging. -
#11046
086694aThanks @HiDeoo! - FixesgetViteConfig()type definition to allow passing an inline Astro configuration as second argument -
#11026
8dfb1a2Thanks @bluwy! - Fixes CSS handling if imported in a script tag in an Astro file whenexperimental.directRenderScriptis enabled -
#11020
2e2d6b7Thanks @xsynaptic! - Add type declarations forimport.meta.env.ASSETS_PREFIXwhen defined as an object for handling different file types. -
#11030
18e7f33Thanks @bholmesdev! - Actions: Fix missing message for custom Action errors. -
#10981
ad9227cThanks @mo! - Adds deprecated HTML attribute ānameā to the list of valid attributes. This attribute has been replaced by the globalidattribute in recent versions of HTML. -
#11013
4ea38e7Thanks @QingXia-Ela! - Prevents unhandledrejection error when checking for latest Astro version -
#11034
5f2dd45Thanks @arganaphang! - Addpopovertargetactionto the attribute that can be passed to thebuttonandinputelement