astro@7.1.2
📦 astroView on GitHub →
🐛 2 fixes🔧 3 symbols
Summary
This patch release fixes a bug where Astro.locals were lost in custom error pages and prevents an unhandled promise rejection in the prefetch fetch fallback. It also updates the `cookie` dependency, which may affect how cookie values are percent-encoded.
🐛 Bug Fixes
- Mutated `Astro.locals` during the request lifecycle are now preserved and passed to custom error pages (`404.astro`/`500.astro`).
- An unhandled promise rejection from the prefetch `fetch` fallback in WebKit (Safari) has been prevented. The best-effort prefetch now swallows fetch failures with `.catch()`.