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]
Patch Changes
#11509
dfbca06
Thanks @bluwy! - Excludes hoisted scripts and styles from Astro components imported with?url
or?raw
#11561
904f1e5
Thanks @ArmandPhilippot! - Uses the correct pageSize default inpage.size
JSDoc comment#11571
1c3265a
Thanks @bholmesdev! - BREAKING CHANGE to the experimental Actions API only. Install the latest@astrojs/react
integration as well if you're using React 19 features.Make
.safe()
the default return value for actions. This means{ data, error }
will be returned when calling an action directly. If you prefer to get the data while allowing errors to throw, chain the.orThrow()
modifier.Migration
To migrate your existing action calls:
.safe
from existing safe action calls.orThrow
to existing unsafe action calls#11546
7f26de9
Thanks @ArmandPhilippot! - Remove "SSR Only" mention inAstro.redirect
inline documentation and update reference link.#11525
8068131
Thanks @ematipico! - Fixes a case where the build was failing whenexperimental.actions
was enabled, an adapter was in use, and there were not actions inside the user code base.#11574
e3f29d4
Thanks @Princesseuh! - Fixes line with the error not being properly highlighted in the error overlay#11570
84189b6
Thanks @bholmesdev! - BREAKING CHANGE to the experimental Actions API only. Install the latest@astrojs/react
integration as well if you're using React 19 features.Updates the Astro Actions fallback to support
action={actions.name}
instead of usinggetActionProps().
This will submit a form to the server in zero-JS scenarios using a search parameter:You may also construct form action URLs using string concatenation, or by using the
URL()
constructor, with the an action's.queryString
property:Migration
getActionProps()
is now deprecated. To use the new fallback pattern, remove thegetActionProps()
input from your form and pass your action function to the formaction
attribute:#11559
1953dbb
Thanks @bryanwood! - Allows actions to return falsy values without an error#11553
02c85b5
Thanks @ematipico! - Fixes an issue in content collection caching, where two documents with the same contents were generating an error during the build.#11548
602c5bf
Thanks @TheOtterlord! - Fixesastro add
for packages with only prerelease versions#11566
0dcef3a
Thanks @Princesseuh! - Fixes DomException errors not being handled properly#11529
504c383
Thanks @matthewp! - Fix server islands with trailingSlash: always[email protected]
Patch Changes
d27cf6d
Thanks @ascorbic! - Logs underlying error when a template cannot be downloaded@astrojs/[email protected]
Patch Changes
#11571
1c3265a
Thanks @bholmesdev! - BREAKING CHANGE to the experimental Actions API only. Install the latest@astrojs/react
integration as well if you're using React 19 features.Make
.safe()
the default return value for actions. This means{ data, error }
will be returned when calling an action directly. If you prefer to get the data while allowing errors to throw, chain the.orThrow()
modifier.Migration
To migrate your existing action calls:
.safe
from existing safe action calls.orThrow
to existing unsafe action calls#11570
84189b6
Thanks @bholmesdev! - BREAKING CHANGE to the experimental Actions API only. Install the latest@astrojs/react
integration as well if you're using React 19 features.Updates the Astro Actions fallback to support
action={actions.name}
instead of usinggetActionProps().
This will submit a form to the server in zero-JS scenarios using a search parameter:You may also construct form action URLs using string concatenation, or by using the
URL()
constructor, with the an action's.queryString
property:Migration
getActionProps()
is now deprecated. To use the new fallback pattern, remove thegetActionProps()
input from your form and pass your action function to the formaction
attribute: