Minor Changes
-
#15612
74bf083Thanks @petebacondarwin! - Share Worker startup profiling with other Cloudflare developer toolsMove the bundle analyser out of Wrangler so
cfand deploy failure diagnostics can use the same Miniflare CPU profiler. TheanalyseBundlecallback onDeployCallbacksis now optional and deprecated, and will be removed in a future release once all clients have been updated to stop passing this property. -
#15597
a83d7acThanks @skepticfx! - Support per-image build options for experimental Durable Object-managed ContainersSet
build_contextandbuild_varsalongsidedockerfilein a Container's namedimagesentries. Context paths resolve relative to the Wrangler configuration file and default to the Dockerfile's directory. Build variables are passed as Docker build arguments. Entries using the same Dockerfile with different contexts or variables are built separately. -
#15638
fa79b26Thanks @G4brym! - Support AI Search bindings in Worker Previewswrangler previewnow acceptsai_searchandai_search_namespacesentries in thepreviewsblock and includes them in Preview deployment bindings. This lets Workers that use AI Search instance or namespace bindings attach existing resources to Preview deployments, including preview-specific instance or namespace names.These bindings are non-inheritable: declare them explicitly under
previews. They attach to existing AI Search resources; preview does not provision new isolated instances or namespaces. -
#15256
16d1310Thanks @theoephraim! - [private beta]: Add--secrets-fileand--varflags towrangler previewLike
wrangler deployandwrangler versions upload,wrangler previewnow accepts a--secrets-fileflag pointing to a JSON or .env format file, and--var KEY:VALUEpairs that are injected into the Preview deployment as plain text variables. CLI vars override same-named vars from thepreviewssection of your config file, and secrets from the file take precedence over both:wrangler preview --secrets-file .env.preview --var API_URL:https://api.example.com -
#15453
ca71205Thanks @G4brym! - Remove the gated Web Search binding and Wrangler commandThe unreleased search binding and its experimental command have been removed from Wrangler, Miniflare, and configuration APIs.
-
#15597
a83d7acThanks @skepticfx! - Allow experimental Durable Object-managed Containers to link by name through exportsContainers using
scheduling_policy: "durable_object"can now specifynameand link fromexports.<Class>.containerwithout repeatingclass_name. Deploy and version upload resolve that link for image preparation, Worker metadata, and Container application creation.
Patch Changes
-
#15597
a83d7acThanks @skepticfx! - Configure application-wide logs for experimental Durable Object-managed ContainersSet
containers[].observability.enabledorcontainers[].observability.logs.enabledwhen usingscheduling_policy: "durable_object". Normal deployments create missing applications and update explicitly configured log settings without a Container rollout. Omitted settings preserve the application configuration; root Worker observability is not inherited for this policy.Version uploads may initialize missing applications but preserve existing settings. Deploying or rolling back Worker versions also preserves existing application settings, and
--containers-rollout=noneskips their updates. -
#15631
c4a6279Thanks @petebacondarwin! - Restore static asset upload concurrency after gateway errorsStatic asset uploads previously remained at concurrency one for the rest of the deployment after any 524 response, which could make large deployments exceed the upload session lifetime. Successful uploads now restore the session's original concurrency gradually while retaining gateway throttling. Requests that were already in flight when throttling began do not restore capacity, so a burst of stale successes cannot immediately undo backpressure.
-
Updated dependencies [
7db596c,a83d7ac,e35c4a1,d3565a5,a83d7ac,cb0955f,fa79b26,ca71205,1015cfb,982b806,a83d7ac,641df47]:- miniflare@5.20260915.0-alpha
- @cloudflare/workers-utils@0.39.0
- @cloudflare/containers-shared@0.16.3
- @cloudflare/cli-shared-helpers@0.1.31
{ "containers": [ { "class_name": "Sandbox", "scheduling_policy": "durable_object", "images": { "app": { "dockerfile": "./docker/Dockerfile", "build_context": ".", "build_vars": { "APP_ENV": "production" } } } } ] }