Aller au contenu
verdict:

Astro 5.14.6

digest

note: la synthèse et les notes de version sont en anglais

note: pas de synthèse pour cette release digest

Les releases digest sont listées sans synthèse. Les notes de version originales de cette version sont ci-dessous.

release-notesgithub.com/withastro/astro · 38 lignes
  1. ### Patch Changes
  2. - [#14562](https://github.com/withastro/astro/pull/14562) [`722bba0`](https://github.com/withastro/astro/commit/722bba0a57984b6b1c4585627cafa22af64e4251) Thanks [@erbierc](https://github.com/erbierc)! - Fixes a bug where the behavior of the "muted" HTML attribute was inconsistent with that of other attributes.
  3. - [#14538](https://github.com/withastro/astro/pull/14538) [`51ebe6a`](https://github.com/withastro/astro/commit/51ebe6ae9307f5c2124162212493f61152221a43) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Improves how Actions are implemented
  4. - [#14548](https://github.com/withastro/astro/pull/14548) [`6cdade4`](https://github.com/withastro/astro/commit/6cdade49c975e717f098bb4aa7f03a7b845d0a7c) Thanks [@ascorbic](https://github.com/ascorbic)! - Removes support for the `maxAge` property in `cacheHint` objects returned by live loaders.
  5. #### :warning: Breaking change for experimental live content collections only
  6. Feedback showed that this did not make sense to set at the loader level, since the loader does not know how long each individual entry should be cached for.
  7. If your live loader returns cache hints with `maxAge`, you need to remove this property:
  8. ```diff
  9. return {
  10. entries: [...],
  11. cacheHint: {
  12. tags: ['my-tag'],
  13. - maxAge: 60,
  14. lastModified: new Date(),
  15. },
  16. };
  17. ```
  18. The `cacheHint` object now only supports `tags` and `lastModified` properties. If you want to set the max age for a page, you can set the headers manually:
  19. ```astro
  20. ---
  21. Astro.headers.set('cdn-cache-control', 'max-age=3600');
  22. ---
  23. ```
  24. - [#14548](https://github.com/withastro/astro/pull/14548) [`6cdade4`](https://github.com/withastro/astro/commit/6cdade49c975e717f098bb4aa7f03a7b845d0a7c) Thanks [@ascorbic](https://github.com/ascorbic)! - Adds missing `rendered` property to experimental live collections entry type
  25. Live collections support a `rendered` property that allows you to provide pre-rendered HTML for each entry. While this property was documented and implemented, it was missing from the TypeScript types. This could lead to type errors when trying to use it in a TypeScript project.
  26. No changes to your project code are necessary. You can continue to use the `rendered` property as before, and it will no longer produce TypeScript errors.

voir sur githubimported 2026-09-28 via npm