Releases: cloudflare/workers-sdk
[email protected]
Minor Changes
-
#11512
c15e99eThanks @emily-shen! - Enable usingctx.exportswith containersYou can now use containers with Durable Objects that are accessed via
ctx.exports.Now your config file can look something like this:
{ "name": "container-app", "main": "src/index.ts", "compatibility_date": "2025-12-01", "compatibility_flags": ["enable_ctx_exports"], // compat flag needed for now. "containers": [ { "image": "./Dockerfile", "class_name": "MyDOClassname", "name": "my-container" }, ], "migrations": [ { "tag": "v1", "new_sqlite_classes": ["MyDOClassname"], }, ], // no need to declare your durable object binding here }Note that when using
ctx.exports, where you previously accessed a Durable Object via something likeenv.DO, you should now access withctx.exports.MyDOClassname.Refer to the docs for more information on using
ctx.exports. -
#11508
b17797cThanks @dario-piotrowicz! - Wrangler will no longer try to add additional configuration to projects using@cloudflare/vite-pluginwhen deploying or runningwrangler setup -
#11508
b17797cThanks @dario-piotrowicz! - When a Vite project is detected, install@cloudflare/vite-plugin -
#11576
bb47e20Thanks @dario-piotrowicz! - Support Analog projects in autoconfig -
#10582
991760dThanks @flakey5! - Addcontainers sshcommand
Patch Changes
-
#11467
235d325Thanks @edmundhung! - fix: prevent reporting SQLite error fromwrangler d1 executeto Sentry -
#11414
41103f5Thanks @petebacondarwin! - add extra logging to user log-in flow for diagnosing failed login requests -
#11559
ea6fbecThanks @nikitassharma! - Remove image validation for containers on wrangler deploy.Internal customers are able to use additional image registries and will run into failures with this validation. Image registry validation will now be handled by the API.
[email protected]
Patch Changes
-
#11552
31c162aThanks @dependabot! - chore: update dependencies of "miniflare" packageThe following dependency versions have been updated:
Dependency From To workerd 1.20251202.0 1.20251205.0 -
#11583
bd5f087Thanks @dependabot! - chore: update dependencies of "miniflare" packageThe following dependency versions have been updated:
Dependency From To workerd 1.20251205.0 1.20251209.0 -
#11584
c6dd86fThanks @dependabot! - chore: update dependencies of "miniflare" packageThe following dependency versions have been updated:
Dependency From To workerd 1.20251209.0 1.20251210.0
[email protected]
Minor Changes
-
#11560
2d9a30cThanks @vicb! - Support<PACKAGE_NAME>as a placeholder for the package name inpackage.json"name": "<PACKAGE_NAME>"is replaced with the project name when c3 updates apackage.jsonusingupdatePackageName.
Previously only"<TBD>","TBD", and""were supported placeholder names. -
#11551
f261472Thanks @dario-piotrowicz! - Support RedwoodSDK in--experimentalmode -
#11520
85ec269Thanks @vicb! - Add placeholder substitution in wrangler config files.When c3 updates the config file:
- The value
"<WORKER_NAME>"is replaced with the worker name. - The value
"<COMPATIBILITY_DATE>"is replaced with the latest worked compatibility date.
- The value
-
#11576
bb47e20Thanks @dario-piotrowicz! - Support Analog in--experimentalmode
Patch Changes
-
#11557
632fb6dThanks @dario-piotrowicz! - chore: update dependencies of "create-cloudflare" packageThe following dependency versions have been updated:
Dependency From To create-rwsdk 3.1.0 3.1.2 -
#11577
85d70c8Thanks @dario-piotrowicz! - Update help message not to recommend non-applicable--tscreate-next-app argumentC3 uses it's own template when running create-next-app, so providing a
--tsargument to it doesn't have any effect, the C3 help message however shows that as an example on how to pass arguments to underlying framework CLIs. The changes here update the error message to instead use svelte's--types=tsas the example -
#11563
df7cd47Thanks @petebacondarwin! - fix analog template and tests - bumping to 2.1.3 -
#11558
d53462cThanks @vicb! - fix: make sure c3 does not add duplicated types
@cloudflare/[email protected]
@cloudflare/[email protected]
@cloudflare/[email protected]
@cloudflare/[email protected]
[email protected]
Minor Changes
-
#11500
af54c63Thanks @dario-piotrowicz! - Add newautoconfig_summaryfield to the deploy output entryThis change augments
wrangler deployoutput being printed toWRANGLER_OUTPUT_FILE_DIRECTORYorWRANGLER_OUTPUT_FILE_PATHto also include a newautoconfig_summaryfield containing the possible summary details for the autoconfig process (the field isundefinedif autoconfig didn't run).Note: the field is experimental and could change while autoconfig is not GA
-
#11477
9988cc9Thanks @ascorbic! - Support Nuxt in autoconfig -
#11472
ce295bfThanks @dario-piotrowicz! - Support Qwik projects in autoconfig -
#10937
9514c9aThanks @ReppCodes! - Add support for "targeted" placement mode with region, host, and hostname fieldsThis change adds a new mode to
placementconfiguration. You can specify one of the following fields to target specific external resources for Worker placement:region: Specify a region identifier (e.g., "aws:us-east-1") to target a region from another cloud service providerhost: Specify a host with (required) port (e.g., "example.com:8123") to target a TCP servicehostname: Specify a hostname (e.g., "example.com") to target an HTTP resource
These fields are mutually exclusive - only one can be specified at a time.
Example configuration:
[placement] host = "example.com:8123"
-
#11498
ac861f8Thanks @penalosa! - Add React Router support in autoconfig -
#11506
79d30d4Thanks @vicb! - Set the target JS version to ES2024
Patch Changes
-
#11393
45480b1Thanks @alsuren! - improved --help text for wrangler d1 subcommands -
#11523
94c67e8Thanks @jamesopstad! - fix: types from @cloudflare/workers-utils not being exported correctly from Wrangler -
#11483
f550b62Thanks @edmundhung! - stop runningnpm installwith--legacy-peer-depsflag when setting up a project -
Updated dependencies [
819e287,56e78c8,0aa959a]:- @cloudflare/[email protected]
- [email protected]