Releases: cloudflare/workers-sdk
@cloudflare/[email protected]
Patch Changes
-
#12601
ebdbe52Thanks @43081j! - Switch toempathicfor file-system upwards traversal to reduce dependency bloat. -
#12602
58a4020Thanks @anonrig! - Optimize filesystem operations by using Node.js's throwIfNoEntry: false optionThis reduces the number of system calls made when checking for file existence by avoiding the overhead of throwing and catching errors for missing paths. This is an internal performance optimization with no user-visible behavioral changes.
@cloudflare/[email protected]
@cloudflare/[email protected]
Patch Changes
-
#12602
58a4020Thanks @anonrig! - Optimize filesystem operations by using Node.js's throwIfNoEntry: false optionThis reduces the number of system calls made when checking for file existence by avoiding the overhead of throwing and catching errors for missing paths. This is an internal performance optimization with no user-visible behavioral changes.
-
Updated dependencies [
e93dc01,c2ed7c2,d920811,896734d,ebdbe52,58a4020,6f6cd94]:
@cloudflare/[email protected]
@cloudflare/[email protected]
@cloudflare/[email protected]
[email protected]
Minor Changes
-
#12401
8723684Thanks @jonesphillip! - Add validation retry loops to pipelines setup commandThe
wrangler pipelines setupcommand now prompts users to retry when validation errors occur, instead of failing the entire setup process. This includes:- Validation retry prompts for pipeline names, bucket names, and field names
- A "simple" mode for sink configuration that uses sensible defaults
- Automatic bucket creation when buckets don't exist
- Automatic Data Catalog enablement when not already active
This improves the setup experience by allowing users to correct mistakes without restarting the entire configuration flow.
-
#12395
aa82c2bThanks @cmackenzie1! - Generate typed pipeline bindings from stream schemasWhen running
wrangler types, pipeline bindings now generate TypeScript types based on the stream's schema definition. This gives you full autocomplete and type checking when sending data to your pipelines.// wrangler.json { "pipelines": [ { "binding": "ANALYTICS", "pipeline": "analytics-stream-id" }, ], }
If your stream has a schema with fields like
user_id(string) andevent_count(int32), the generated types will be:declare namespace Cloudflare { type AnalyticsStreamRecord = { user_id: string; event_count: number }; interface Env { ANALYTICS: Pipeline<Cloudflare.AnalyticsStreamRecord>; } }
For unstructured streams or when not authenticated, bindings fall back to the generic
Pipeline<PipelineRecord>type.
Patch Changes
-
#12592
aaa7200Thanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
Dependency From To workerd 1.20260217.0 1.20260218.0 -
#12606
2f19a40Thanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
Dependency From To workerd 1.20260218.0 1.20260219.0 -
#12604
e2a6600Thanks @petebacondarwin! - fix: pass--envflag to auxiliary workers in multi-worker modeWhen running
wrangler devwith multiple config files (e.g.-c ./apps/api/wrangler.jsonc -c ./apps/queues/wrangler.jsonc -e=dev), the--envflag was not being passed to auxiliary (non-primary) workers. This meant that environment-specific configuration (such as queue bindings) was not applied to auxiliary workers, causing features like queue consumers to not be triggered in local development. -
#12597
0b17117Thanks @sdnts! - The maximum allowed delivery and retry delays for Queues is now 24 hours -
#12598
ca58062Thanks @mattzcarey! - Stop redactingwrangler whoamioutput in non-interactive modewrangler whoamiis explicitly invoked to retrieve account info, so email and account names should always be visible. Redacting them in non-interactive/CI environments makes it difficult for coding agents and automated tools to identify which account to use. Other error messages that may appear unexpectedly in CI logs (e.g. multi-account selection errors) remain redacted. -
Updated dependencies [
f239077,aaa7200,2f19a40,5f9f0b4,452cdc8,527e4f5,0b17117]:- [email protected]
- @cloudflare/[email protected]
[email protected]
Minor Changes
-
#12462
f239077Thanks @petebacondarwin! - AddMiniflare#purgeCache()method to clear cache entries programmaticallyThis allows developers to clear cached data during local development without
restarting the Miniflare instance. Useful when working with Workers Sites
or any application that uses the Cache API.const mf = new Miniflare({ /* options */ }); // Purge the default cache await mf.purgeCache(); // Purge a specific named cache await mf.purgeCache("my-named-cache");
-
#12574
527e4f5Thanks @emily-shen! - Local explorer: add /query endpoint to introspect sqlite in DOsThis required adding a wrapper that extends user DO classes and adds in an extra method to access
ctx.storage.sql. This shouldn't have any impact on user code, but is gated by the env varX_LOCAL_EXPLORER.This is for an experimental WIP feature.
Patch Changes
-
#12592
aaa7200Thanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
Dependency From To workerd 1.20260217.0 1.20260218.0 -
#12606
2f19a40Thanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
Dependency From To workerd 1.20260218.0 1.20260219.0 -
#12597
0b17117Thanks @sdnts! - The maximum allowed delivery and retry delays for Queues is now 24 hours