Minor Changes
-
#13027
9fcdfcaThanks @G4brym! - feat: Addai_search_namespacesandai_searchbinding typesTwo new binding types for AI Search:
ai_search_namespaces: Namespace binding —namespaceis required and auto-provisioned at deploy time if it doesn't exist (like R2 buckets)ai_search: Single instance binding bound directly to a pre-existing instance in the default namespace
Both are remote-only in local dev.
-
#13030
0386553Thanks @natewong1313! - Add local mode support for Stream bindingsMiniflare and
wrangler devnow support using Cloudflare Stream bindings locally.Supported operations:
upload()— upload video via URLvideo(id).details(),.update(),.delete(),.generateToken()videos.list()captions.generate(),.list(),.delete()downloads.generate(),.get(),.delete()watermarks.generate(),.list(),.get(),.delete()
The following are not yet supported in local mode and will throw:
createDirectUpload()- Caption upload via
File - Watermark generation via
File
Data is persisted across restarts by default. You must set
streamPersist: falsein Miniflare options to disable persistence.
Patch Changes
-
#12686
1faff35Thanks @edmundhung! - Move internal proxy endpoint to reserved/cdn-cgi/pathThe internal HTTP endpoint used by
getPlatformProxyhas been moved to a reserved path. This is an internal change with no impact on thegetPlatformProxyAPI. -
#13080
f4ea4acThanks @penalosa! - fix: glob patterns for module rules no longer match double-extension filenames likefoo.wasm.jsPreviously, the
globsToRegExpshelper compiled glob patterns without a trailing$anchor. This caused patterns like**/*.wasmto match any path containing.wasmas a substring — including filenames such asfoo.wasm.jsormain.wasm.test.ts.When using
@cloudflare/vitest-pool-workerswith awrangler.configPath, Wrangler's defaultCompiledWasmmodule rule (**/*.wasm) was silently applied to test files whose names contained.wasm, causing them to be loaded as WebAssembly binaries instead of JavaScript and failing at runtime.The fix restores the
$end anchor in the compiled regex so that**/*.wasmonly matches paths that literally end in.wasm, while the leading^remains absent to allow matching anywhere within an absolute path.