Releases: cloudflare/workers-sdk
wrangler@4.71.0
Minor Changes
-
#11656
ec2459eThanks @prydt! - feat(hyperdrive): add MySQL SSL mode and Custom CA supportHyperdrive now supports MySQL-specific SSL modes (
REQUIRED,VERIFY_CA,VERIFY_IDENTITY) alongside the existing PostgreSQL modes. The--sslmodeflag 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
Minor Changes
-
#11970
f235827Thanks @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
Patch Changes
-
#12752
00a4356Thanks @WillTaylorDev! - fix: Normalize backslash characters in/cdn-cgipathsRequests containing backslash characters in
/cdn-cgipaths 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
Patch Changes
- Updated dependencies [
ec2459e]:- wrangler@4.71.0
- miniflare@4.20260301.1
@cloudflare/vite-plugin@1.26.1
@cloudflare/unenv-preset@2.15.0
Minor Changes
-
#10618
5cc8fcfThanks @petebacondarwin! - Use the native workerdnode:perf_hooksmodule andPerformanceglobal classes when availableThey are enabled when the
enable_nodejs_perf_hooks_modulecompatibility flag is set. This feature is currently experimental and requires the above flag andexperimentalcompatibility flag to be set.
@cloudflare/local-explorer-ui@0.7.0
Minor Changes
-
#12453
9764ea0Thanks @NuroDev! - Add initial data studio with D1 and Durable Objects supportAdds 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
fa88fefThanks @NuroDev! - Add schema editor to data studioAdds 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
Minor Changes
-
#11332
6a8aa5fThanks @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.jsoncas follows:"containers": { "image": "docker.io/namespace/image:tag", ... }
-
#12649
35b2c56Thanks @gabivlj! - Add experimental support for containers to workers communication with interceptOutboundHttpThis feature is experimental and requires adding the "experimental" compatibility flag to your Wrangler configuration.
-
#12701
23a365aThanks @jamesopstad! - Add local dev validation for the experimentalsecretsconfiguration propertyWhen the new
secretsproperty is defined,wrangler devandvite devnow validate secrets declared insecrets.required. When required secrets are missing from.dev.varsor.env/process.env, a warning is logged listing the missing secret names.When
secretsis defined, only the keys listed insecrets.requiredare loaded. Additional keys in.dev.varsor.envare excluded. If you are not using.dev.vars, keys listed insecrets.requiredare loaded fromprocess.envas well as.env. TheCLOUDFLARE_INCLUDE_PROCESS_ENVenvironment variable is therefore not needed when using this feature.When
secretsis not defined, the existing behavior is unchanged.// wrangler.jsonc { "secrets": { "required": ["API_KEY", "DB_PASSWORD"], }, }
-
#12695
0769056Thanks @jamesopstad! - Add type generation for the experimentalsecretsconfiguration propertyWhen the new
secretsproperty is defined,wrangler typesnow generates typed bindings from the names listed insecrets.required.When
secretsis defined at any config level, type generation uses it exclusively and no longer infers secret names from.dev.varsor.envfiles. 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
Envmarks secrets that only appear in some environments as optional.When
secretsis not defined, the existing behavior is unchanged.// wrangler.jsonc { "secrets": { "required": ["API_KEY", "DB_PASSWORD"], }, }
-
#12693
150ef7bThanks @martinezjandrew! - Addwrangler containers registries credentialscommand for generating temporary push/pull credentialsThis 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
bf9cb3dThanks @LuisDuarte1! - Add configurable step limits for WorkflowsYou can now set a maximum number of steps for a Workflow instance via the
limits.stepsconfiguration 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
stepsvalue 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 viawrangler dev.
Patch Changes
-
#12733
d672e2eThanks @dario-piotrowicz! - Fix SolidStart autoconfig for projects using version 2.0.0-alpha or laterSolidStart v2.0.0-alpha introduced a breaking change where configuration moved from
app.config.(js|ts)tovite.config.(js|ts). Wrangler's autoconfig now detects the installed SolidStart version and based on it updates the appropriate configuration file -
#12698
209b396Thanks @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
596b8a0Thanks @penalosa! - Remove temporary AI Search RPC workaround (no user-facing changes) -
#12694
00e729eThanks @garvit-gupta! - Fixwrangler pipelines setupfailing 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
Minor Changes
-
#12649
35b2c56Thanks @gabivlj! - Add experimental support for containers to workers communication with interceptOutboundHttpThis feature is experimental and requires adding the "experimental" compatibility flag to your Wrangler configuration.
-
#10153
5f7aaf2Thanks @mglewis! - Add Hosted Images CRUD operations to Images binding.This is an experimental API that only works locally for the moment.
-
#12622
bf9cb3dThanks @LuisDuarte1! - Add configurable step limits for WorkflowsYou can now set a maximum number of steps for a Workflow instance via the
limits.stepsconfiguration 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
stepsvalue 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 viawrangler dev.
Patch Changes
-
#12698
209b396Thanks @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
596b8a0Thanks @penalosa! - Remove temporary AI Search RPC workaround (no user-facing changes)
create-cloudflare@2.64.5
Patch Changes
-
#12713
f498237Thanks @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
8d0c835Thanks @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
1c2d93dThanks @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
8e738f8Thanks @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
62e20c1Thanks @dependabot! - Update dependencies of "create-cloudflare"The following dependency versions have been updated:
Dependency From To sv 0.12.2 0.12.4 -
#12719
554c5f3Thanks @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
a3ff7d4Thanks @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
bbe09b6Thanks @jamesopstad! - Update SolidStart template for compatibility with v2.SolidStart v2 uses the
nitroVite plugin so we now update the Nitro config invite.config.tsrather thanapp.config.ts. -
#12692
f671934Thanks @roli-lpci! - Remove unusedchalkdependency from create-cloudflare.