netlify-templates / astro-toolbox

Netlify ❀️ Astro: a simple template to give you the code you need to use Netlify features with Astro.
https://astro-toolbox.netlify.app
96 stars 20 forks source link

Update dependency astro to v4.13.3 #184

Closed renovate[bot] closed 3 months ago

renovate[bot] commented 3 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
astro (source) 4.13.1 -> 4.13.3 age adoption passing confidence

Release Notes

withastro/astro (astro) ### [`v4.13.3`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4133) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.13.2...astro@4.13.3) ##### Patch Changes - [#​11653](https://togithub.com/withastro/astro/pull/11653) [`32be549`](https://togithub.com/withastro/astro/commit/32be5494f6d33dbe32208704405162c95a64f0bc) Thanks [@​florian-lefebvre](https://togithub.com/florian-lefebvre)! - Updates `astro:env` docs to reflect current developments and usage guidance - [#​11658](https://togithub.com/withastro/astro/pull/11658) [`13b912a`](https://togithub.com/withastro/astro/commit/13b912a8702afb96e2d0bc20dcc1b4135ae58147) Thanks [@​bholmesdev](https://togithub.com/bholmesdev)! - Fixes `orThrow()` type when calling an Action without an `input` validator. - [#​11603](https://togithub.com/withastro/astro/pull/11603) [`f31d466`](https://togithub.com/withastro/astro/commit/f31d4665c1cbb0918b9e00ba1431fb6f264025f7) Thanks [@​bholmesdev](https://togithub.com/bholmesdev)! - Improves user experience when render an Action result from a form POST request: - Removes "Confirm post resubmission?" dialog when refreshing a result. - Removes the `?_astroAction=NAME` flag when a result is rendered. Also improves the DX of directing to a new route on success. Actions will now redirect to the route specified in your `action` string on success, and redirect back to the previous page on error. This follows the routing convention of established backend frameworks like Laravel. For example, say you want to redirect to a `/success` route when `actions.signup` succeeds. You can add `/success` to your `action` string like so: ```astro
``` - On success, Astro will redirect to `/success`. - On error, Astro will redirect back to the current page. You can retrieve the action result from either page using the `Astro.getActionResult()` function. ##### Note on security This uses a temporary cookie to forward the action result to the next page. The cookie will be deleted when that page is rendered. ⚠ **The action result is not encrypted.** In general, we recommend returning minimal data from an action handler to a) avoid leaking sensitive information, and b) avoid unexpected render issues once the temporary cookie is deleted. For example, a `login` function may return a user's session id to retrieve from your Astro frontmatter, rather than the entire user object. ### [`v4.13.2`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4132) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.13.1...astro@4.13.2) ##### Patch Changes - [#​11648](https://togithub.com/withastro/astro/pull/11648) [`589d351`](https://togithub.com/withastro/astro/commit/589d35158da1a2136387d0ad76609f5c8535c03a) Thanks [@​bholmesdev](https://togithub.com/bholmesdev)! - Fixes unexpected error when refreshing a POST request from a form using Actions. - [#​11600](https://togithub.com/withastro/astro/pull/11600) [`09ec2ca`](https://togithub.com/withastro/astro/commit/09ec2cadce01a9a1f9c54ac433f137348907aa56) Thanks [@​ArmandPhilippot](https://togithub.com/ArmandPhilippot)! - Deprecates `getEntryBySlug` and `getDataEntryById` functions exported by `astro:content` in favor of `getEntry`. - [#​11593](https://togithub.com/withastro/astro/pull/11593) [`81d7150`](https://togithub.com/withastro/astro/commit/81d7150e02472430eab555dfc4f053738bf99bb6) Thanks [@​bholmesdev](https://togithub.com/bholmesdev)! - Adds support for `Date()`, `Map()`, and `Set()` from action results. See [devalue](https://togithub.com/Rich-Harris/devalue) for a complete list of supported values. Also fixes serialization exceptions when deploying Actions with edge middleware on Netlify and Vercel. - [#​11617](https://togithub.com/withastro/astro/pull/11617) [`196092a`](https://togithub.com/withastro/astro/commit/196092ae69eb1249206846ddfc162049b03f42b4) Thanks [@​abubakriz](https://togithub.com/abubakriz)! - Fix toolbar audit incorrectly flagging images as above the fold. - [#​11634](https://togithub.com/withastro/astro/pull/11634) [`2716f52`](https://togithub.com/withastro/astro/commit/2716f52aae7194439ebb2336849ddd9e8226658a) Thanks [@​bholmesdev](https://togithub.com/bholmesdev)! - Fixes internal server error when calling an Astro Action without arguments on Vercel. - [#​11628](https://togithub.com/withastro/astro/pull/11628) [`9aaf58c`](https://togithub.com/withastro/astro/commit/9aaf58c1339b54f2c1394e718a0f6f609f0b6342) Thanks [@​madbook](https://togithub.com/madbook)! - Ensures consistent CSS chunk hashes across different environments

Configuration

πŸ“… Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

β™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

πŸ”• Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.