Releases: cloudflare/workers-sdk
@cloudflare/pages-shared@0.13.118
@cloudflare/format-errors@0.0.8
Patch Changes
-
#12753
ea8b1a4Thanks @petebacondarwin! - Replace deprecatedpromjslibrary withMetricsRegistryfrom@cloudflare/workers-utils/prometheus-metricsThe
promjslibrary has been unmaintained since 2022 and has a brokenpackage.jsonrequiring workarounds. It has been replaced with a lightweightMetricsRegistryclass in@cloudflare/workers-utils/prometheus-metricsthat produces byte-identical Prometheus text exposition format output.
@cloudflare/edge-preview-authenticated-proxy@0.3.1
Patch Changes
-
#12753
ea8b1a4Thanks @petebacondarwin! - Replace deprecatedpromjslibrary withMetricsRegistryfrom@cloudflare/workers-utils/prometheus-metricsThe
promjslibrary has been unmaintained since 2022 and has a brokenpackage.jsonrequiring workarounds. It has been replaced with a lightweightMetricsRegistryclass in@cloudflare/workers-utils/prometheus-metricsthat produces byte-identical Prometheus text exposition format output. -
#13021
973dfddThanks @penalosa! - Restore the/exchangepreview session endpoint.
wrangler@4.76.0
Minor Changes
-
#12893
782df44Thanks @gpanders! - Rewritewrangler containers listto use the paginated Dash API endpointwrangler containers listnow fetches from the/dash/applicationsendpoint instead of/applications, displaying results in a paginated table with columns for ID, Name, State, Live Instances, and Last Modified. Container state is derived from health instance counters (active, degraded, provisioning, ready).The command supports
--per-page(default 25) for interactive pagination with Enter to load more and q/Esc to quit, and--jsonfor machine-readable output. Non-interactive environments load all results in a single request. -
#12957
62545c9Thanks @natewong1313! - Add Stream binding support to Wrangler and workers-utilsWrangler and workers-utils now recognize the
streambinding in configuration, deployment metadata, and generated worker types. This enables projects to declare Stream bindings inwrangler.jsonand have the binding represented consistently across validation, metadata mapping, and type generation. -
#12848
ce48b77Thanks @emily-shen! - Enable local explorer by defaultThis ungates the local explorer, a UI that lets you inspect the state of D1, DO and KV resources locally by visiting
/cdn-cgi/explorerduring local development.Note: this feature is still experimental, and can be disabled by setting the env var
X_LOCAL_EXPLORER=false.
Patch Changes
-
#12938
71ab981Thanks @dario-piotrowicz! - Add backward-compatible autoconfig support for Astro v5 and v4 projectsThe
astro add cloudflarecommand in older Astro versions installs the latest adapter version, which causes compatibility issues. This change adds manual configuration logic for projects using Astro versions before 6.0.0:- Astro 6.0.0+: Uses the native
astro add cloudflarecommand (unchanged behavior) - Astro 5.x: Installs
@astrojs/cloudflare@12and manually configures the adapter - Astro 4.x: Installs
@astrojs/cloudflare@11and manually configures the adapter - Astro < 4.0.0: Returns an error prompting the user to upgrade
- Astro 6.0.0+: Uses the native
-
#11892
7c3c6c6Thanks @staticpayload! - Handle registry ports when matching container image digestsWrangler now strips tags without breaking registry ports when comparing local images to remote digests. This prevents unnecessary pushes for tags like
localhost:5000/app:tag. -
Updated dependencies [
3c988e2,d028ffb,cb71403,3a1c149,ce48b77,8729f3d]:- miniflare@4.20260317.1
- @cloudflare/unenv-preset@2.16.0
miniflare@4.20260317.1
Minor Changes
-
#12972
cb71403Thanks @NuroDev! - Add worker filtering to the local explorer UIWhen multiple workers share a dev registry, all their bindings were previously shown together in a single flat list. The explorer now shows a worker selector dropdown, letting you inspect each worker's bindings independently.
The selected worker is reflected in the URL as a
?worker=search param, so deep links work correctly. By default the explorer selects the worker that is hosting the dashboard itself. -
#12888
3a1c149Thanks @emily-shen! - Add R2 support to the local explorer.The local explorer now supports the following:
- Viewing, modifying & deleting objects
- Uploading files
- Creating directories / prefixes
Note: The local explorer is an experimental WIP feature that is now enabled by default. This can still be opt-ed out of by using
X_LOCAL_EXPLORER=falseto disable it. -
#12848
ce48b77Thanks @emily-shen! - Enable local explorer by defaultThis ungates the local explorer, a UI that lets you inspect the state of D1, DO and KV resources locally by visiting
/cdn-cgi/explorerduring local development.Note: this feature is still experimental, and can be disabled by setting the env var
X_LOCAL_EXPLORER=false. -
#12881
8729f3dThanks @pombosilva! - Workflow instances now support pause, resume, restart, and terminate in local dev.const instance = await env.MY_WORKFLOW.create({ id: "my-instance", }); await instance.pause(); // pauses after the current step completes await instance.resume(); // resumes from where it left off await instance.restart(); // restarts the workflow from the beginning await instance.terminate(); // terminates the workflow immediately
Patch Changes
-
#12960
3c988e2Thanks @penalosa! - Excludemetadata.sqlitewhen listing Durable Object instancesAn upcoming version of workerd stores per-namespace alarm metadata in a
metadata.sqlitefile alongside per-actor.sqlitefiles. The local explorer's DO object listing was treating this file as a Durable Object instance, inflating counts and breaking pagination. This file is now filtered out.
@cloudflare/workflows-shared@0.7.0
Minor Changes
-
#12881
8729f3dThanks @pombosilva! - Workflow instances now support pause, resume, restart, and terminate in local dev.const instance = await env.MY_WORKFLOW.create({ id: "my-instance", }); await instance.pause(); // pauses after the current step completes await instance.resume(); // resumes from where it left off await instance.restart(); // restarts the workflow from the beginning await instance.terminate(); // terminates the workflow immediately
@cloudflare/workers-utils@0.13.0
Minor Changes
-
#12957
62545c9Thanks @natewong1313! - Add Stream binding support to Wrangler and workers-utilsWrangler and workers-utils now recognize the
streambinding in configuration, deployment metadata, and generated worker types. This enables projects to declare Stream bindings inwrangler.jsonand have the binding represented consistently across validation, metadata mapping, and type generation.
@cloudflare/vitest-pool-workers@0.13.3
@cloudflare/vite-plugin@1.30.0
Minor Changes
-
#12848
ce48b77Thanks @emily-shen! - Enable local explorer by defaultThis ungates the local explorer, a UI that lets you inspect the state of D1, DO and KV resources locally by visiting
/cdn-cgi/explorerduring local development.Note: this feature is still experimental, and can be disabled by setting the env var
X_LOCAL_EXPLORER=false.
Patch Changes
-
#12942
4f7fd79Thanks @jamesopstad! - Avoid splicing into the middleware stack for Vite versions other than v6Previously, the plugin spliced its pre-middleware into the Vite middleware stack relative to
viteCachedTransformMiddleware. In Vite 8, this middleware can be omitted in some scenarios, which would cause the splice to fail. The plugin now registers pre-middleware usingserver.middlewares.use()directly, which places it in the correct position for Vite 7+. For Vite 6, the middleware is moved to the correct position in a post hook. -
Updated dependencies [
782df44,3c988e2,62545c9,d028ffb,cb71403,71ab981,3a1c149,7c3c6c6,ce48b77,8729f3d]:- wrangler@4.76.0
- miniflare@4.20260317.1
- @cloudflare/unenv-preset@2.16.0
@cloudflare/unenv-preset@2.16.0
Minor Changes
-
#12763
d028ffbThanks @petebacondarwin! - Graduate experimental Node.js module flags to date-gated flagsThe following Node.js module compatibility flags are no longer experimental and are now automatically enabled for workers using
nodejs_compatwith a compatibility date of2026-03-17or later:perf_hooks,v8,tty,child_process,worker_threads,readline, andrepl. Each flag can still be explicitly enabled or disabled via the correspondingenable_/disable_compatibility flags.