wrangler@4.85.0
📦 cloudflare-workersView on GitHub →
✨ 1 features🐛 5 fixes🔧 2 symbols
Summary
This release introduces support for enabling/disabling production and preview traffic for custom domain routes and significantly improves error reporting when API requests are blocked by the Cloudflare WAF. Dependency updates for workerd and clack were also performed.
✨ New Features
- Custom domain routes now support optional boolean fields `enabled` and `previews_enabled` to control serving of production and/or preview traffic.
🐛 Bug Fixes
- Fixed inherited `ai_search_namespaces` binding display in `wrangler deploy` to show `(inherited)` instead of `Symbol(inherit_binding)`.
- Improved error handling for API requests blocked by Cloudflare WAF by detecting WAF block pages and including the Cloudflare Ray ID in the error message.
- Non-JSON API error responses (that are not WAF blocks) now include the Ray ID for support ticket referencing.
- Preserve the message and name of `NonRetryableError` when the `workflows_preserve_non_retryable_error_message` compatibility flag is enabled.
- Fixed an issue where console methods were using a global proxy instead of being bound directly in `wrangler`.