@astrojs/cloudflare@13.0.0-beta.6
Breaking Changes📦 astroView on GitHub →
⚠ 1 breaking✨ 1 features🐛 1 fixes🔧 1 symbols
Summary
This release removes the deprecated `cloudflareModules` option from the Cloudflare adapter and introduces support for prerendering pages using the workerd runtime for better consistency.
⚠️ Breaking Changes
- The `cloudflareModules` adapter option has been removed from the Cloudflare adapter configuration because it is no longer needed as Cloudflare natively supports importing module types like .sql and .wasm.
Migration Steps
- If you were using the Cloudflare adapter, remove the `cloudflareModules: true` option from your adapter configuration in `astro.config.mjs`.
✨ New Features
- Added support for prerendering pages using the workerd runtime in the Cloudflare adapter, utilizing the new `setPrerenderer()` API to ensure builds use the same runtime as production.
🐛 Bug Fixes
- Removed an unnecessary warning about sharp from being printed when the development server starts or during the build process.