@astrojs/netlify@7.0.0-beta.12
📦 astroView on GitHub →
✨ 1 features🐛 1 fixes⚡ 1 deprecations🔧 1 symbols
Summary
This release introduces the new `middlewareMode` adapter feature, deprecating the older `edgeMiddleware` option, and resolves an issue causing 404 errors on server-rendered routes when using the Netlify adapter.
Migration Steps
- Replace usage of `edgeMiddleware: true` with `middlewareMode: 'edge'` in your adapter configuration (e.g., Netlify adapter configuration).
✨ New Features
- Adds new `middlewareMode` adapter feature.
🐛 Bug Fixes
- Fixed a configuration error in the build output that caused Netlify to return 404 errors for server-rendered routes, ensuring proper routing to Netlify SSR functions.
Affected Symbols
⚡ Deprecations
- The `edgeMiddleware` option in adapter configuration is deprecated and will be removed in a future major release. Users should transition to using the new `middlewareMode` feature.