Change8

astro@7.0.4

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

Summary

This patch release includes fixes for transition directive escaping, development toolbar warnings, and content collection retrieval in development mode. It also upgrades the Rust compiler and adds compatibility for sharp v0.35.

Migration Steps

  1. If using pnpm, you no longer need to approve sharp's build script (via allowBuilds setting) when sharp is updated to v0.35 or later.

✨ New Features

  • Adds support for sharp v0.35, removing the need for pnpm users to approve sharp's build script via allowBuilds setting.

🐛 Bug Fixes

  • Ensures transition directive values are HTML-escaped when rendered on hydrated islands.
  • Fixes trailing slash handling for dynamic file endpoints in dev mode when trailingSlash is set to "always".
  • Fixed a bug where the development toolbar did not output a warning for duplicated implicit ARIA role and manually specified role.
  • Fixes getCollection() returning empty in dev mode for large content collections (500k+ entries).
  • Upgrades the Rust compiler to the latest version, fixing underlying compiler bugs.

Affected Symbols