Change8

astro@5.18.0

📦 astroView on GitHub →
1 features🐛 1 fixes🔧 1 symbols

Summary

This release introduces a new configuration option, `security.actionBodySizeLimit`, to control the maximum payload size for Astro Actions. A bug fix was also implemented for X-Forwarded-Proto validation in specific domain configurations.

Migration Steps

  1. To increase the default 1 MB limit for Astro Actions request bodies, configure `security.actionBodySizeLimit` in `astro.config.mjs`.

✨ New Features

  • Adds a new `security.actionBodySizeLimit` option to configure the maximum size of Astro Actions request bodies, defaulting to 1 MB if not set.

🐛 Bug Fixes

  • Fixed 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.

Affected Symbols