Ir al contenido
verdict:

Astro 6.0.0-beta.17

preview

note: la síntesis y las notas de la versión están en inglés

note: sin síntesis para esta release más antigua

Sintetizamos las releases recientes. Las notas de la versión originales de esta versión están aquí abajo.

release-notesgithub.com/withastro/astro · 45 líneas
  1. ### Minor Changes
  2. - [#15495](https://github.com/withastro/astro/pull/15495) [`5b99e90`](https://github.com/withastro/astro/commit/5b99e9077a92602f1e46e9b6eb9094bcd00c640e) Thanks [@leekeh](https://github.com/leekeh)! - Adds a new `middlewareMode` adapter feature to replace the previous `edgeMiddleware` option.
  3. This feature only impacts adapter authors. If your adapter supports `edgeMiddleware`, you should upgrade to the new `middlewareMode` option to specify the middleware mode for your adapter as soon as possible. The `edgeMiddleware` feature is deprecated and will be removed in a future major release.
  4. ```diff
  5. export default function createIntegration() {
  6. return {
  7. name: '@example/my-adapter',
  8. hooks: {
  9. 'astro:config:done': ({ setAdapter }) => {
  10. setAdapter({
  11. name: '@example/my-adapter',
  12. serverEntrypoint: '@example/my-adapter/server.js',
  13. adapterFeatures: {
  14. - edgeMiddleware: true
  15. + middlewareMode: 'edge'
  16. }
  17. });
  18. },
  19. },
  20. };
  21. }
  22. ```
  23. ### Patch Changes
  24. - [#15657](https://github.com/withastro/astro/pull/15657) [`cb625b6`](https://github.com/withastro/astro/commit/cb625b62596582047ec8cc4256960cc11804e931) Thanks [@qzio](https://github.com/qzio)! - Adds a new `security.actionBodySizeLimit` option to configure the maximum size of Astro Actions request bodies.
  25. 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.
  26. If you do not set this option, Astro continues to enforce the 1 MB default to help prevent abuse.
  27. ```js
  28. // astro.config.mjs
  29. export default defineConfig({
  30. security: {
  31. actionBodySizeLimit: 10 * 1024 * 1024, // set to 10 MB
  32. },
  33. });
  34. ```
  35. - Updated dependencies \[[`1fa4177`](https://github.com/withastro/astro/commit/1fa41779c458123f707940a5253dbe6e540dbf7d)]:
  36. - @astrojs/markdown-remark@7.0.0-beta.8

ver en githubimported 2026-09-28 vía npm