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.20260116.0
Minor Changes
#11942
133bf95Thanks @penalosa! - Add support for Email Sending API's MessageBuilder interface in local modeMiniflare now supports the simplified MessageBuilder interface for sending emails, alongside the existing
EmailMessagesupport.Example usage:
In local mode, email content (text, HTML, attachments) is stored to temporary files that you can open in your editor or browser for inspection. File paths are logged to the console when emails are sent.
Patch Changes
#11925
8e4a0e5Thanks @dependabot! - chore: update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
#11942
133bf95Thanks @penalosa! - chore: update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
#11967
202c59eThanks @emily-shen! - chore: update undiciThe following dependency versions have been updated:
#11943
25e2c60Thanks @vicb! - Bump capnp-es to ^0.0.14wrangler@4.60.0
Minor Changes
93d8d78Thanks @dario-piotrowicz! - Improve telemetry errors being sent to Sentry bywrangler initwhen it delegates to C3 by ensuring that they contain the output of the C3 execution.Patch Changes
#11925
8e4a0e5Thanks @dependabot! - chore: update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
#11942
133bf95Thanks @penalosa! - chore: update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
#11940
69ff962Thanks @penalosa! - Show helpful messages for file not found errors (ENOENT)When users encounter file not found errors, Wrangler now displays a helpful message with the missing file path and common causes, instead of reporting to Sentry.
#11904
22727c2Thanks @danielrs! - Fix false positive infinite loop detection for exact path redirectsFixed an issue where the redirect validation incorrectly flagged exact path redirects like
/ /index.html 200as infinite loops. This was particularly problematic whenhtml_handlingis set to "none", where such redirects are valid.The fix makes the validation more specific to only block wildcard patterns (like
/* /index.html) that would actually cause infinite loops, while allowing exact path matches that are valid in certain configurations.Fixes: False positive "Infinite loop" on rule
/ /index.html 200in_redirects#11824#11946
fa39a73Thanks @MattieTK! - FixconfigFileNamereturning wrong filename for.jsoncconfig filesPreviously, users with a
wrangler.jsoncconfig file would see error messages and hints referring towrangler.jsoninstead ofwrangler.jsonc. This was because theconfigFormatfunction collapsed both.jsonand.jsoncfiles into a single"jsonc"value, losing the distinction between them.Now
configFormatreturns"json"for.jsonfiles and"jsonc"for.jsoncfiles, allowingconfigFileNameto return the correct filename for each format.#11968
4ac7c82Thanks @MattieTK! - fix: include version components in command event metricsAdds
wranglerMajorVersion,wranglerMinorVersion, andwranglerPatchVersionto command events (wrangler command started,wrangler command completed,wrangler command errored). These properties were previously only included in adhoc events.#11940
69ff962Thanks @penalosa! - Improve error message when creating duplicate KV namespaceWhen attempting to create a KV namespace with a title that already exists, Wrangler now provides a clear, user-friendly error message instead of the generic API error. The new message explains that the namespace already exists and suggests running
wrangler kv namespace listto see existing namespaces with their IDs, or choosing a different namespace name.#11962
029531aThanks @dario-piotrowicz! - Cache chosen account in memory to avoid repeated promptsWhen users have multiple accounts and no
node_modulesdirectory exists for file caching, Wrangler (run vianpxand equivalent commands) would prompt for account selection multiple times during a single command. Now the selected account is also stored in process memory, preventing duplicate prompts and potential issues from inconsistent account choices.#11964
d58fbd1Thanks @dario-piotrowicz! - Makenamethe positional argument forwrangler deleteinstead ofscriptThe
scriptargument was meaningless for the delete command since it deletes by worker name, not by entry point path. Thenameargument is now accepted as a positional argument, allowing users to runwrangler delete my-workerinstead ofwrangler delete --name my-worker. Thescriptargument is now hidden but still accepted for backwards compatibility.#11967
202c59eThanks @emily-shen! - chore: update undiciThe following dependency versions have been updated:
#11940
69ff962Thanks @penalosa! - Improve error handling for Vite config transformationsReplace assertions with proper error handling when transforming Vite configs. When Wrangler encounters a Vite config that uses a function or lacks a plugins array, it now provides clear, actionable error messages instead of crashing with assertion failures. The check function gracefully skips incompatible configs with debug logging.
Updated dependencies [
8e4a0e5,133bf95,202c59e,133bf95,25e2c60]:create-cloudflare@2.62.3
Patch Changes
#11861
27ea230Thanks @dependabot! - chore: update dependencies of "create-cloudflare"The following dependency versions have been updated:
#11862
6bd2ab4Thanks @dependabot! - chore: update dependencies of "create-cloudflare"The following dependency versions have been updated:
#11864
283a9e4Thanks @dependabot! - chore: update dependencies of "create-cloudflare"The following dependency versions have been updated:
#11865
8522a8bThanks @dependabot! - chore: update dependencies of "create-cloudflare"The following dependency versions have been updated:
#11915
20467fdThanks @dependabot! - chore: update dependencies of "create-cloudflare"The following dependency versions have been updated:
#11961
844975fThanks @dependabot! - chore: update dependencies of "create-cloudflare"The following dependency versions have been updated:
#11952
c09dbd7Thanks @dario-piotrowicz! - Bump the version of@cloudflare/vitest-pool-workersin the hello-world templates from^0.8.19to^0.12.4The version of the
@cloudflare/vitest-pool-workersin the hello-world templates is currently^0.8.19, since the package is pre v1, the Caret syntax only installs the latest0.8.xversion of the package, which is a bit outdated. So the changes here manually keep the package more up to date.#11967
202c59eThanks @emily-shen! - chore: update undiciThe following dependency versions have been updated:
@cloudflare/pages-shared@0.13.100
Patch Changes
8e4a0e5,133bf95,202c59e,133bf95,25e2c60]:@cloudflare/vite-plugin@1.21.1
Patch Changes
#11951
77fdc18Thanks @jamesopstad! - Add validation for environment name collisions and improve error message for missing environments.Updated dependencies [
8e4a0e5,133bf95,93d8d78,69ff962,22727c2,fa39a73,4ac7c82,69ff962,029531a,d58fbd1,202c59e,133bf95,25e2c60,69ff962]:@cloudflare/vitest-pool-workers@0.12.5
Patch Changes
#11967
202c59eThanks @emily-shen! - chore: update undiciThe following dependency versions have been updated:
#11943
25e2c60Thanks @vicb! - Bump capnp-es to ^0.0.14Updated dependencies [
8e4a0e5,133bf95,93d8d78,69ff962,22727c2,fa39a73,4ac7c82,69ff962,029531a,d58fbd1,202c59e,133bf95,25e2c60,69ff962]:@cloudflare/workers-utils@0.7.1
Patch Changes
#11946
fa39a73Thanks @MattieTK! - FixconfigFileNamereturning wrong filename for.jsoncconfig filesPreviously, users with a
wrangler.jsoncconfig file would see error messages and hints referring towrangler.jsoninstead ofwrangler.jsonc. This was because theconfigFormatfunction collapsed both.jsonand.jsoncfiles into a single"jsonc"value, losing the distinction between them.Now
configFormatreturns"json"for.jsonfiles and"jsonc"for.jsoncfiles, allowingconfigFileNameto return the correct filename for each format.@cloudflare/devprod-status-bot@1.3.0
Minor Changes
0b249a1Thanks @emily-shen! - Notify when security advisories are submitted to workers-sdk@cloudflare/cli@1.2.1
Patch Changes
#11940
69ff962Thanks @penalosa! - Mark macOS version compatibility errors as user errorsWhen checking macOS version compatibility, the CLI now throws
UserErrorinstead of genericError. This ensures that version incompatibility issues are properly classified as user-facing errors that shouldn't be reported to Sentry.#11967
202c59eThanks @emily-shen! - chore: update undiciThe following dependency versions have been updated: