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 contains the following updates:
4.8.3
->4.8.4
Release Notes
withastro/astro (astro)
v4.8.4
Compare Source
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:<link rel="prefetch">
if supported, or will fall back tofetch()
.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.
#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