Vai al contenuto
verdict:

Astro 5.18.0

notable

note: la sintesi e le note di rilascio sono in inglese

note: nessuna sintesi per questa release più vecchia

Sintetizziamo le release recenti. Le note di rilascio originali di questa versione sono qui sotto.

release-notesgithub.com/withastro/astro · 20 righe
  1. ### Minor Changes
  2. - [#15589](https://github.com/withastro/astro/pull/15589) [`b7dd447`](https://github.com/withastro/astro/commit/b7dd447e319a7b435c01ccd69347e5261bd9dc14) Thanks [@qzio](https://github.com/qzio)! - Adds a new `security.actionBodySizeLimit` option to configure the maximum size of Astro Actions request bodies.
  3. This lets you increase the default 1 MB limit when your actions need to accept larger payloads. For example, actions that handle file uploads or large JSON payloads can now opt in to a higher limit.
  4. If you do not set this option, Astro continues to enforce the 1 MB default to help prevent abuse.
  5. ```js
  6. // astro.config.mjs
  7. export default defineConfig({
  8. security: {
  9. actionBodySizeLimit: 10 * 1024 * 1024, // set to 10 MB
  10. },
  11. });
  12. ```
  13. ### Patch Changes
  14. - [#15594](https://github.com/withastro/astro/pull/15594) [`efae11c`](https://github.com/withastro/astro/commit/efae11cef1ebe1f2f54ceb55db0d1ff1938351c6) Thanks [@qzio](https://github.com/qzio)! - Fix X-Forwarded-Proto validation when allowedDomains includes both protocol and hostname fields. The protocol check no longer fails due to hostname mismatch against the hardcoded test URL.

vedi su githubimported 2026-09-28 via npm