Change8

@astrojs/node@10.0.0-beta.6

📦 astroView on GitHub →
2 features

Summary

This patch release introduces configuration for Astro Actions request body size limits and refactors adapter usage via `middlewareMode`.

Migration Steps

  1. If you need Astro Actions to accept payloads larger than 1 MB, configure `security.actionBodySizeLimit` in your `astro.config.mjs`.

✨ New Features

  • Introduced a new `security.actionBodySizeLimit` option in `astro.config.mjs` to configure the maximum size of Astro Actions request bodies, defaulting to 1 MB.
  • Refactored to use `middlewareMode` adapter feature, setting it to `classic`.