Skip to content

Releases: cloudflare/workers-sdk

[email protected]

11 Dec 10:54
d9eae49

Choose a tag to compare

Minor Changes

  • #11512 c15e99e Thanks @emily-shen! - Enable using ctx.exports with containers

    You 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 like env.DO, you should now access with ctx.exports.MyDOClassname.

    Refer to the docs for more information on using ctx.exports.

  • #11508 b17797c Thanks @dario-piotrowicz! - Wrangler will no longer try to add additional configuration to projects using @cloudflare/vite-plugin when deploying or running wrangler setup

  • #11508 b17797c Thanks @dario-piotrowicz! - When a Vite project is detected, install @cloudflare/vite-plugin

  • #11576 bb47e20 Thanks @dario-piotrowicz! - Support Analog projects in autoconfig

  • #10582 991760d Thanks @flakey5! - Add containers ssh command

Patch Changes

[email protected]

11 Dec 10:54
d9eae49

Choose a tag to compare

Patch Changes

  • #11552 31c162a Thanks @dependabot! - chore: update dependencies of "miniflare" package

    The following dependency versions have been updated:

    Dependency From To
    workerd 1.20251202.0 1.20251205.0
  • #11583 bd5f087 Thanks @dependabot! - chore: update dependencies of "miniflare" package

    The following dependency versions have been updated:

    Dependency From To
    workerd 1.20251205.0 1.20251209.0
  • #11584 c6dd86f Thanks @dependabot! - chore: update dependencies of "miniflare" package

    The following dependency versions have been updated:

    Dependency From To
    workerd 1.20251209.0 1.20251210.0

[email protected]

11 Dec 10:54
d9eae49

Choose a tag to compare

Minor Changes

  • #11560 2d9a30c Thanks @vicb! - Support <PACKAGE_NAME> as a placeholder for the package name in package.json

    "name": "<PACKAGE_NAME>" is replaced with the project name when c3 updates a package.json using updatePackageName.
    Previously only "<TBD>", "TBD", and "" were supported placeholder names.

  • #11551 f261472 Thanks @dario-piotrowicz! - Support RedwoodSDK in --experimental mode

  • #11520 85ec269 Thanks @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.
  • #11576 bb47e20 Thanks @dario-piotrowicz! - Support Analog in --experimental mode

Patch Changes

  • #11557 632fb6d Thanks @dario-piotrowicz! - chore: update dependencies of "create-cloudflare" package

    The following dependency versions have been updated:

    Dependency From To
    create-rwsdk 3.1.0 3.1.2
  • #11577 85d70c8 Thanks @dario-piotrowicz! - Update help message not to recommend non-applicable --ts create-next-app argument

    C3 uses it's own template when running create-next-app, so providing a --ts argument 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=ts as the example

  • #11563 df7cd47 Thanks @petebacondarwin! - fix analog template and tests - bumping to 2.1.3

  • #11558 d53462c Thanks @vicb! - fix: make sure c3 does not add duplicated types

@cloudflare/[email protected]

11 Dec 10:54
d9eae49

Choose a tag to compare

@cloudflare/[email protected]

11 Dec 10:54
d9eae49

Choose a tag to compare

@cloudflare/[email protected]

11 Dec 10:54
d9eae49

Choose a tag to compare

Patch Changes

@cloudflare/[email protected]

11 Dec 10:54
d9eae49

Choose a tag to compare

Minor Changes

[email protected]

04 Dec 20:59
8672321

Choose a tag to compare

Minor Changes

  • #11500 af54c63 Thanks @dario-piotrowicz! - Add new autoconfig_summary field to the deploy output entry

    This change augments wrangler deploy output being printed to WRANGLER_OUTPUT_FILE_DIRECTORY or WRANGLER_OUTPUT_FILE_PATH to also include a new autoconfig_summary field containing the possible summary details for the autoconfig process (the field is undefined if autoconfig didn't run).

    Note: the field is experimental and could change while autoconfig is not GA

  • #11477 9988cc9 Thanks @ascorbic! - Support Nuxt in autoconfig

  • #11472 ce295bf Thanks @dario-piotrowicz! - Support Qwik projects in autoconfig

  • #10937 9514c9a Thanks @ReppCodes! - Add support for "targeted" placement mode with region, host, and hostname fields

    This change adds a new mode to placement configuration. 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 provider
    • host: Specify a host with (required) port (e.g., "example.com:8123") to target a TCP service
    • hostname: 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 ac861f8 Thanks @penalosa! - Add React Router support in autoconfig

  • #11506 79d30d4 Thanks @vicb! - Set the target JS version to ES2024

Patch Changes

[email protected]

04 Dec 20:59
8672321

Choose a tag to compare

Patch Changes

  • #11515 643f9e8 Thanks @dmmulroy! - Fix light theme syntax highlighting for variables by adding missing variable scope

[email protected]

04 Dec 20:59
8672321

Choose a tag to compare

Patch Changes