Open
Conversation
Contributor
|
LGTM |
Contributor
Changeset ReviewSummary✅ All changesets look good Review DetailsChangesets Reviewed: 20
Checks Performed
Review completed |
create-cloudflare
@cloudflare/kv-asset-handler
miniflare
@cloudflare/pages-shared
@cloudflare/unenv-preset
@cloudflare/vite-plugin
@cloudflare/vitest-pool-workers
@cloudflare/workers-editor-shared
wrangler
commit: |
9554082 to
bf07054
Compare
bf07054 to
9912b73
Compare
dmmulroy
approved these changes
Apr 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
miniflare@4.20260417.0
Minor Changes
#13326
4a9ba90Thanks @mattzcarey! - Add Artifacts binding support to wranglerYou can now configure Artifacts bindings in your wrangler configuration:
Type generation produces the correct
Artifactstype reference from the workerd type definitions:#12600
50bf819Thanks @penalosa! - Useworkerd's debug port to power cross-process service bindings, Durable Objects, and tail workers via the dev registry. This enables Durable Object RPC via the dev registry, and is an overall stability improvement.Patch Changes
#13515
b35617bThanks @petebacondarwin! - fix: close all open handles on dispose to prevent process hangsSeveral resources were not being properly cleaned up during
Miniflare.dispose(), which could leave the Node.js event loop alive and cause processes (particularly tests usingnode --test) to hang instead of exiting cleanly:Poolused to dispatch fetch requests to the workerd runtime was not closed. Lingering TCP sockets from this pool could keep the event loop alive indefinitely.WebSocketServerinstances for live reload and WebSocket proxying were never closed, leaving connected clients' sockets open.InspectorProxywas not closing its runtime WebSocket connection, relying on process death to break the connection.HyperdriveProxyController.dispose()had a missingreturnin a.map()callback, causingPromise.allSettledto resolve immediately without waiting fornet.Serverinstances to close.ProxyClientBridgewas not clearing its finalization batchsetTimeoutduring disposal.InspectorProxyController.dispose()was not callingserver.closeAllConnections()beforeserver.close(), so active HTTP keep-alive or WebSocket connections could prevent the close callback from firing.#13557
8ca78bbThanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
#13579
b6e1351Thanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
#12913
7f50300Thanks @Sigmabrogz! - fix(miniflare): use 127.0.0.1 for internal loopback when localhost is configuredWhen
localhostis configured as the host, Node.js may bind to[::1](IPv6) while workerd resolveslocalhostto127.0.0.1(IPv4) first. This mismatch causes connection refused errors and 100% CPU spins.This fix ensures the internal loopback communication between Node.js and workerd always uses
127.0.0.1whenlocalhostis configured, while preserving the user-facing URL aslocalhost.#13470
4fda685Thanks @penalosa! - fix: prevent remote binding sessions from expiring during long-running dev sessionsPreview tokens for remote bindings expire after one hour. Previously, the first request after expiry would fail before a refresh was triggered. This change proactively refreshes the token at 50 minutes so no request ever sees an expired session.
The reactive recovery path is also improved:
error code: 1031responses (returned by bindings such as Workers AI when their session times out) now correctly trigger a refresh, where previously onlyInvalid Workers Preview configurationHTML responses did.Auth credentials are now resolved lazily when a remote proxy session starts rather than at bundle-complete time. This means that if your OAuth access token has been refreshed since
wrangler devstarted, the new token is used rather than the one captured at startup.#13516
4eb1da9Thanks @jonnyparris! - Rename "Browser Rendering" to "Browser Run" in all user-facing strings, error messages, and CLI output.#13557
8ca78bbThanks @dependabot! - RenameFlagstype toFlagshipto match the upstream rename in@cloudflare/workers-typesThe
Flagstype was renamed toFlagshipin@cloudflare/workers-types. This updates the import and the return type ofgetFlagshipBindingaccordingly.@cloudflare/vite-plugin@1.33.0
Minor Changes
50bf819Thanks @penalosa! - Useworkerd's debug port to power cross-process service bindings, Durable Objects, and tail workers via the dev registry. This enables Durable Object RPC via the dev registry, and is an overall stability improvement.Patch Changes
4a9ba90,d8c895a,b35617b,7dc0433,8ca78bb,b6e1351,b35617b,7f50300,4fda685,59eec63,50bf819,cc1413a,d0a9d1c,4eb1da9,8ca78bb,6d887db]:wrangler@4.84.0
Minor Changes
#13326
4a9ba90Thanks @mattzcarey! - Add Artifacts binding support to wranglerYou can now configure Artifacts bindings in your wrangler configuration:
Type generation produces the correct
Artifactstype reference from the workerd type definitions:#13567
d8c895aThanks @gpanders! - Rename the documented containers SSH config option tosshWrangler now accepts and documents
containers.sshin config files while continuing to acceptcontainers.wrangler_sshas an undocumented backwards-compatible alias. Wrangler still sends and readswrangler_sshwhen talking to the containers API.#13571
7dc0433Thanks @must108! - Add regional and jurisdictional placement constraints for Containers. Users can now setconstraints.regionsandconstraints.jurisdictionin wrangler config to control where containers run.#12600
50bf819Thanks @penalosa! - Useworkerd's debug port to power cross-process service bindings, Durable Objects, and tail workers via the dev registry. This enables Durable Object RPC via the dev registry, and is an overall stability improvement.Patch Changes
#13557
8ca78bbThanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
#13579
b6e1351Thanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
#13515
b35617bThanks @petebacondarwin! - fix: ensure esbuild context is disposed during teardownThe esbuild bundler cleanup function could race with the initial build. If
BundlerController.teardown()ran before the initialbuild()completed, thestopWatchingclosure variable would still beundefined, so the esbuild context was never disposed. This left the esbuild child process running, keeping the Node.js event loop alive and causing processes to hang instead of exiting cleanly.The cleanup function now awaits the build promise before calling
stopWatching, ensuring the esbuild context is always properly disposed.#13470
4fda685Thanks @penalosa! - fix: prevent remote binding sessions from expiring during long-running dev sessionsPreview tokens for remote bindings expire after one hour. Previously, the first request after expiry would fail before a refresh was triggered. This change proactively refreshes the token at 50 minutes so no request ever sees an expired session.
The reactive recovery path is also improved:
error code: 1031responses (returned by bindings such as Workers AI when their session times out) now correctly trigger a refresh, where previously onlyInvalid Workers Preview configurationHTML responses did.Auth credentials are now resolved lazily when a remote proxy session starts rather than at bundle-complete time. This means that if your OAuth access token has been refreshed since
wrangler devstarted, the new token is used rather than the one captured at startup.#12456
59eec63Thanks @venkatnikhilm! - Improve validation and error messaging for R2 CORS configuration files to catch AWS S3-style formatting mistake.#13444
cc1413aThanks @naile! - fix: Passforcequery parameter to API inpages deployment delete#11918
d0a9d1cThanks @ksawaneh! - Allowwrangler r2 bucket listto run without a valid Wrangler configThis is an account-level command and does not require parsing
wrangler.toml/wrangler.jsonc. Previously, an invalid local config could prevent listing buckets, making it harder to fix the config.#13516
4eb1da9Thanks @jonnyparris! - Rename "Browser Rendering" to "Browser Run" in all user-facing strings, error messages, and CLI output.#13575
6d887dbThanks @lambrospetrou! - Add D1 export prompt message for unavailability, use--skip-confirmationto not show the prompt.Updated dependencies [
4a9ba90,b35617b,8ca78bb,b6e1351,7f50300,4fda685,50bf819,4eb1da9,8ca78bb]:create-cloudflare@2.67.1
Patch Changes
#12714
852fb79Thanks @dependabot! - Update dependencies of "create-cloudflare"The following dependency versions have been updated:
#13360
359706dThanks @dependabot! - Update dependencies of "create-cloudflare"The following dependency versions have been updated:
@cloudflare/pages-shared@0.13.126
Patch Changes
4a9ba90,b35617b,8ca78bb,b6e1351,7f50300,4fda685,50bf819,4eb1da9,8ca78bb]:@cloudflare/vitest-pool-workers@0.14.8
Patch Changes
#13548
1aee990Thanks @emily-shen! - Update warning message when attempting to access exports not defined on the main workerPreviously this referred to the
SELFworker, which is now a deprecated API in the Vitest integration.Updated dependencies [
4a9ba90,d8c895a,b35617b,7dc0433,8ca78bb,b6e1351,b35617b,7f50300,4fda685,59eec63,50bf819,cc1413a,d0a9d1c,4eb1da9,8ca78bb,6d887db]:@cloudflare/containers-shared@0.14.0
Minor Changes
7dc0433Thanks @must108! - Add regional and jurisdictional placement constraints for Containers. Users can now setconstraints.regionsandconstraints.jurisdictionin wrangler config to control where containers run.@cloudflare/workers-utils@0.17.0
Minor Changes
#13326
4a9ba90Thanks @mattzcarey! - Add Artifacts binding support to wranglerYou can now configure Artifacts bindings in your wrangler configuration:
Type generation produces the correct
Artifactstype reference from the workerd type definitions:#13571
7dc0433Thanks @must108! - Add regional and jurisdictional placement constraints for Containers. Users can now setconstraints.regionsandconstraints.jurisdictionin wrangler config to control where containers run.Patch Changes
4eb1da9Thanks @jonnyparris! - Rename "Browser Rendering" to "Browser Run" in all user-facing strings, error messages, and CLI output.@cloudflare/local-explorer-ui@0.13.1
Patch Changes
39a5f04Thanks @SAY-5! - Fixoccured->occurredtypo in theResourceErrorfallback message rendered by the local explorer UI when a worker resource fails to load.