Skip to content

Releases: cloudflare/workers-sdk

wrangler@4.71.0

05 Mar 21:41
9dff00c

Choose a tag to compare

Minor Changes

  • #11656 ec2459e Thanks @prydt! - feat(hyperdrive): add MySQL SSL mode and Custom CA support

    Hyperdrive now supports MySQL-specific SSL modes (REQUIRED, VERIFY_CA, VERIFY_IDENTITY) alongside the existing PostgreSQL modes. The --sslmode flag now validates the provided value based on the database scheme (PostgreSQL or MySQL) and enforces appropriate CA certificate requirements for each.

    Usage:

    # MySQL with CA verification
    wrangler hyperdrive create my-config --connection-string="mysql://user:pass@host:3306/db" --sslmode=VERIFY_CA --ca-certificate-id=<cert-id>
    
    # PostgreSQL (unchanged)
    wrangler hyperdrive create my-config --connection-string="postgres://user:pass@host:5432/db" --sslmode=verify-full --ca-certificate-id=<cert-id>

Patch Changes

  • Updated dependencies [5cc8fcf]:
    • @cloudflare/unenv-preset@2.15.0
    • miniflare@4.20260301.1

@cloudflare/workflows-shared@0.6.0

05 Mar 21:41
9dff00c

Choose a tag to compare

Minor Changes

  • #11970 f235827 Thanks @pombosilva! - Adds step context with attempt count to step.do() callbacks.

    Workflow step callbacks now receive a context object containing the current attempt number (1-indexed).
    This allows developers to access which retry attempt is currently executing.

    Example:

    await step.do("my-step", async (ctx) => {
    	// ctx.attempt is 1 on first try, 2 on first retry, etc.
    	console.log(`Attempt ${ctx.attempt}`);
    });

@cloudflare/workers-shared@0.19.1

05 Mar 21:41
9dff00c

Choose a tag to compare

Patch Changes

  • #12752 00a4356 Thanks @WillTaylorDev! - fix: Normalize backslash characters in /cdn-cgi paths

    Requests containing backslash characters in /cdn-cgi paths are now redirected to their normalized equivalents with forward slashes. This ensures consistent URL handling across different browsers and HTTP clients.

@cloudflare/vitest-pool-workers@0.12.20

05 Mar 21:41
9dff00c

Choose a tag to compare

Patch Changes

  • Updated dependencies [ec2459e]:
    • wrangler@4.71.0
    • miniflare@4.20260301.1

@cloudflare/vite-plugin@1.26.1

05 Mar 21:41
9dff00c

Choose a tag to compare

Patch Changes

  • Updated dependencies [5cc8fcf, ec2459e]:
    • @cloudflare/unenv-preset@2.15.0
    • wrangler@4.71.0
    • miniflare@4.20260301.1

@cloudflare/unenv-preset@2.15.0

05 Mar 21:41
9dff00c

Choose a tag to compare

Minor Changes

  • #10618 5cc8fcf Thanks @petebacondarwin! - Use the native workerd node:perf_hooks module and Performance global classes when available

    They are enabled when the enable_nodejs_perf_hooks_module compatibility flag is set. This feature is currently experimental and requires the above flag and experimental compatibility flag to be set.

@cloudflare/local-explorer-ui@0.7.0

05 Mar 21:41
9dff00c

Choose a tag to compare

Minor Changes

  • #12453 9764ea0 Thanks @NuroDev! - Add initial data studio with D1 and Durable Objects support

    Adds a data studio interface to the local explorer UI, allowing you to browse and interact with D1 databases and Durable Objects during local development. The studio provides table browsing, query execution, and data editing capabilities.

  • #12760 fa88fef Thanks @NuroDev! - Add schema editor to data studio

    Adds a visual schema editor to the data studio that allows you to create new database tables and edit existing table schemas. The editor provides column management (add, edit, remove), constraint editing (primary keys, unique constraints), and generates the corresponding SQL statements for review before committing changes.

    This is a WIP experimental feature.

wrangler@4.70.0

03 Mar 21:50
ea57dfd

Choose a tag to compare

Minor Changes

  • #11332 6a8aa5f Thanks @nikitassharma! - Users are now able to configure DockerHub credentials and have containers reference images stored there.

    DockerHub can be configured as follows:

    echo $PAT_TOKEN | npx wrangler@latest containers registries configure docker.io --dockerhub-username=user --secret-name=DockerHub_PAT_Token

    Containers can then specify an image from DockerHub in their wrangler.jsonc as follows:

    "containers": {
      "image": "docker.io/namespace/image:tag",
      ...
    }
  • #12649 35b2c56 Thanks @gabivlj! - Add experimental support for containers to workers communication with interceptOutboundHttp

    This feature is experimental and requires adding the "experimental" compatibility flag to your Wrangler configuration.

  • #12701 23a365a Thanks @jamesopstad! - Add local dev validation for the experimental secrets configuration property

    When the new secrets property is defined, wrangler dev and vite dev now validate secrets declared in secrets.required. When required secrets are missing from .dev.vars or .env/process.env, a warning is logged listing the missing secret names.

    When secrets is defined, only the keys listed in secrets.required are loaded. Additional keys in .dev.vars or .env are excluded. If you are not using .dev.vars, keys listed in secrets.required are loaded from process.env as well as .env. The CLOUDFLARE_INCLUDE_PROCESS_ENV environment variable is therefore not needed when using this feature.

    When secrets is not defined, the existing behavior is unchanged.

    // wrangler.jsonc
    {
    	"secrets": {
    		"required": ["API_KEY", "DB_PASSWORD"],
    	},
    }
  • #12695 0769056 Thanks @jamesopstad! - Add type generation for the experimental secrets configuration property

    When the new secrets property is defined, wrangler types now generates typed bindings from the names listed in secrets.required.

    When secrets is defined at any config level, type generation uses it exclusively and no longer infers secret names from .dev.vars or .env files. This enables running type generation in environments where these files are not present.

    Per-environment secrets are supported. Each named environment produces its own interface, and the aggregated Env marks secrets that only appear in some environments as optional.

    When secrets is not defined, the existing behavior is unchanged.

    // wrangler.jsonc
    {
    	"secrets": {
    		"required": ["API_KEY", "DB_PASSWORD"],
    	},
    }
  • #12693 150ef7b Thanks @martinezjandrew! - Add wrangler containers registries credentials command for generating temporary push/pull credentials

    This command generates short-lived credentials for authenticating with the Cloudflare managed registry (registry.cloudflare.com). Useful for CI/CD pipelines or local Docker authentication.

    # Generate push credentials (for uploading images)
    wrangler containers registries credentials registry.cloudflare.com --push
    
    # Generate pull credentials (for downloading images)
    wrangler containers registries credentials registry.cloudflare.com --pull
    
    # Generate credentials with both permissions
    wrangler containers registries credentials registry.cloudflare.com --push --pull
    
    # Custom expiration (default 15)
    wrangler containers registries credentials registry.cloudflare.com --push --expiration-minutes=30
  • #12622 bf9cb3d Thanks @LuisDuarte1! - Add configurable step limits for Workflows

    You can now set a maximum number of steps for a Workflow instance via the limits.steps configuration in your Wrangler config. When a Workflow instance exceeds this limit, it will fail with an error indicating the limit was reached.

    // wrangler.jsonc
    {
    	"workflows": [
    		{
    			"binding": "MY_WORKFLOW",
    			"name": "my-workflow",
    			"class_name": "MyWorkflow",
    			"limits": {
    				"steps": 5000,
    			},
    		},
    	],
    }

    The steps value must be an integer between 1 and 25,000. If not specified, the default limit of 10,000 steps is used. Step limits are also enforced in local development via wrangler dev.

Patch Changes

  • #12733 d672e2e Thanks @dario-piotrowicz! - Fix SolidStart autoconfig for projects using version 2.0.0-alpha or later

    SolidStart v2.0.0-alpha introduced a breaking change where configuration moved from app.config.(js|ts) to vite.config.(js|ts). Wrangler's autoconfig now detects the installed SolidStart version and based on it updates the appropriate configuration file

  • #12698 209b396 Thanks @penalosa! - Update dependencies of "miniflare", "wrangler"

    The following dependency versions have been updated:

    Dependency From To
    workerd 1.20260305.0 1.20260226.1
    @cloudflare/workers-types 4.20260305.0 4.20260226.1
  • #12691 596b8a0 Thanks @penalosa! - Remove temporary AI Search RPC workaround (no user-facing changes)

  • #12694 00e729e Thanks @garvit-gupta! - Fix wrangler pipelines setup failing for Data Catalog sinks on new buckets by using the correct R2 Catalog API error code (40401).

  • Updated dependencies [35b2c56, 5f7aaf2, 209b396, 596b8a0, bf9cb3d]:

    • miniflare@4.20260301.1

miniflare@4.20260301.1

03 Mar 21:50
ea57dfd

Choose a tag to compare

Minor Changes

  • #12649 35b2c56 Thanks @gabivlj! - Add experimental support for containers to workers communication with interceptOutboundHttp

    This feature is experimental and requires adding the "experimental" compatibility flag to your Wrangler configuration.

  • #10153 5f7aaf2 Thanks @mglewis! - Add Hosted Images CRUD operations to Images binding.

    This is an experimental API that only works locally for the moment.

  • #12622 bf9cb3d Thanks @LuisDuarte1! - Add configurable step limits for Workflows

    You can now set a maximum number of steps for a Workflow instance via the limits.steps configuration in your Wrangler config. When a Workflow instance exceeds this limit, it will fail with an error indicating the limit was reached.

    // wrangler.jsonc
    {
    	"workflows": [
    		{
    			"binding": "MY_WORKFLOW",
    			"name": "my-workflow",
    			"class_name": "MyWorkflow",
    			"limits": {
    				"steps": 5000,
    			},
    		},
    	],
    }

    The steps value must be an integer between 1 and 25,000. If not specified, the default limit of 10,000 steps is used. Step limits are also enforced in local development via wrangler dev.

Patch Changes

  • #12698 209b396 Thanks @penalosa! - Update dependencies of "miniflare", "wrangler"

    The following dependency versions have been updated:

    Dependency From To
    workerd 1.20260305.0 1.20260226.1
    @cloudflare/workers-types 4.20260305.0 4.20260226.1
  • #12691 596b8a0 Thanks @penalosa! - Remove temporary AI Search RPC workaround (no user-facing changes)

create-cloudflare@2.64.5

03 Mar 21:50
ea57dfd

Choose a tag to compare

Patch Changes

  • #12713 f498237 Thanks @dependabot! - Update dependencies of "create-cloudflare"

    The following dependency versions have been updated:

    Dependency From To
    @angular/create 21.1.4 21.2.0
  • #12715 8d0c835 Thanks @dependabot! - Update dependencies of "create-cloudflare"

    The following dependency versions have been updated:

    Dependency From To
    create-vue 3.21.1 3.22.0
  • #12716 1c2d93d Thanks @dependabot! - Update dependencies of "create-cloudflare"

    The following dependency versions have been updated:

    Dependency From To
    create-react-router 7.13.0 7.13.1
  • #12717 8e738f8 Thanks @dependabot! - Update dependencies of "create-cloudflare"

    The following dependency versions have been updated:

    Dependency From To
    create-analog 2.2.3 2.3.1
  • #12718 62e20c1 Thanks @dependabot! - Update dependencies of "create-cloudflare"

    The following dependency versions have been updated:

    Dependency From To
    sv 0.12.2 0.12.4
  • #12719 554c5f3 Thanks @dependabot! - Update dependencies of "create-cloudflare"

    The following dependency versions have been updated:

    Dependency From To
    create-vike 0.0.581 0.0.591
  • #12720 a3ff7d4 Thanks @dependabot! - Update dependencies of "create-cloudflare"

    The following dependency versions have been updated:

    Dependency From To
    create-waku 0.12.5-1.0.0-alpha.4-0 0.12.5-1.0.0-alpha.5-0
  • #12728 bbe09b6 Thanks @jamesopstad! - Update SolidStart template for compatibility with v2.

    SolidStart v2 uses the nitro Vite plugin so we now update the Nitro config in vite.config.ts rather than app.config.ts.

  • #12692 f671934 Thanks @roli-lpci! - Remove unused chalk dependency from create-cloudflare.