@cloudflare/workers-utils@0.14.0
Breaking Changes📦 cloudflare-workersView on GitHub →
⚠ 1 breaking✨ 1 features🔧 3 symbols
Summary
This release introduces new binding types for AI Search and enforces stricter validation on queue consumer configurations within wrangler.toml.
⚠️ Breaking Changes
- Wrangler now validates that queue consumers in the wrangler config only use the "worker" type. Specifying non-worker consumer types (like `http_pull`) in `wrangler.toml` will now cause an error.
Migration Steps
- If you previously configured non-worker queue consumer types (e.g., `http_pull`) in the `queues.consumers` section of your `wrangler.toml`, migrate those configurations to use the `wrangler queues consumer` CLI commands (e.g., `wrangler queues consumer http-pull add`).
✨ New Features
- Added two new AI Search binding types: `ai_search_namespaces` (namespace binding, requires `namespace` and is auto-provisioned) and `ai_search` (single instance binding to a pre-existing instance).