FRONTEND
Astro v5.18.0
RESUMEN
Minor Changes - #15589 `b7dd447` Thanks @qzio! - Adds a new `security.actionBodySizeLimit` option to configure the maximum size of
Descripción Detallada
Minor Changes - #15589 `b7dd447` Thanks @qzio! - Adds a new `security.actionBodySizeLimit` option to configure the maximum size of Astro Actions request bodies. 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. If you do not set this option, Astro continues to enforce the 1 MB default to help prevent abuse. ```js // astro.config.mjs export default defineConfig({ security: { actionBodySizeLimit: 10 1024 1024, // set to 10 MB }, }); ``` Patch Changes - #15594 `efae11c` Thanks @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.
Astro v5.18.0 añade una opción para configurar el tamaño máximo de los cuerpos de solicitudes en acciones.
- Se agrega `security.actionBodySizeLimit` para aumentar el límite de tamaño de las solicitudes en acciones, de 1 MB a un valor configurable.
- Se corrige la validación de X-Forwarded-Proto cuando `allowedDomains` incluye campos de protocolo y nombre de host.
A quién le importa
Si trabajas con acciones que manejan cargas grandes, este cambio es relevante.
Generado por IA · puede contener errores
Releases Relacionados
FRONTEND
Astro v6.2.1
### Patch Changes - [#16531](https://github.com/withastro/astro/pull/16531) [`76db01d`](https://github.com/withastro/astro/commit/76db01d332a4029f46f6df7a60fae14278321d2c) Thanks [@rodrigosdev](https://github.com/rodrigosdev)! - Fixes config validation for omitted `integrations` fields with newer
FRONTEND
Astro v0.21.1
### Patch Changes - [#16534](https://github.com/withastro/astro/pull/16534) [`5cf6c51`](https://github.com/withastro/astro/commit/5cf6c51188b52d22f133ea9373da0080f74701f9) Thanks [@matthewp](https://github.com/matthewp)! - Fixes compatibility with Zod 4.4.0 for the `server` config property and er