@depup/wrangler 4.120.0-depup.0 → 4.125.0-depup.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/bin/cf-wrangler.js +3 -3
- package/changes.json +3 -3
- package/config-schema.json +165 -18
- package/package.json +23 -23
- package/wrangler-dist/cli.d.ts +91 -11
- package/wrangler-dist/cli.js +65743 -18252
- package/wrangler-dist/experimental-config.d.mts +73 -30
- package/wrangler-dist/experimental-config.d.mts.map +1 -1
- package/wrangler-dist/experimental-config.mjs +7 -1
- package/wrangler-dist/experimental-config.mjs.map +1 -1
- package/wrangler-dist/metafile-cjs.json +1 -1
package/README.md
CHANGED
|
@@ -13,8 +13,8 @@ npm install @depup/wrangler
|
|
|
13
13
|
|
|
14
14
|
| Field | Value |
|
|
15
15
|
|-------|-------|
|
|
16
|
-
| Original | [wrangler](https://www.npmjs.com/package/wrangler) @ 4.
|
|
17
|
-
| Processed | 2026-08-
|
|
16
|
+
| Original | [wrangler](https://www.npmjs.com/package/wrangler) @ 4.125.0 |
|
|
17
|
+
| Processed | 2026-08-23 |
|
|
18
18
|
| Smoke test | failed |
|
|
19
19
|
| Deps updated | 4 |
|
|
20
20
|
|
|
@@ -25,7 +25,7 @@ npm install @depup/wrangler
|
|
|
25
25
|
| blake3-wasm | 2.1.5 | ^3.0.0 |
|
|
26
26
|
| esbuild | 0.28.1 | ^0.28.2 |
|
|
27
27
|
| path-to-regexp | 6.3.0 | ^8.4.2 |
|
|
28
|
-
| workerd | 1.
|
|
28
|
+
| workerd | 1.20260820.1 | ^1.20260822.1 |
|
|
29
29
|
|
|
30
30
|
---
|
|
31
31
|
|
package/bin/cf-wrangler.js
CHANGED
|
@@ -61,9 +61,8 @@ function runCfWranglerDevFromArgs(parsedArgs) {
|
|
|
61
61
|
|
|
62
62
|
function createDevOptions(parsedArgs) {
|
|
63
63
|
// Build wrangler dev's full (yargs-derived) options object. Every field
|
|
64
|
-
// must be present; we set the four accepted flags
|
|
65
|
-
//
|
|
66
|
-
// ConfigController resolve those exactly as `wrangler dev` would.
|
|
64
|
+
// must be present; we set the four accepted flags, force cf's new config
|
|
65
|
+
// format, and otherwise use `wrangler dev`'s defaults.
|
|
67
66
|
return {
|
|
68
67
|
_: [],
|
|
69
68
|
$0: "",
|
|
@@ -77,6 +76,7 @@ function createDevOptions(parsedArgs) {
|
|
|
77
76
|
testScheduled: false,
|
|
78
77
|
processEntrypoint: false,
|
|
79
78
|
experimentalAutoCreate: false,
|
|
79
|
+
experimentalNewConfig: true,
|
|
80
80
|
types: false,
|
|
81
81
|
disableDevRegistry: false,
|
|
82
82
|
config: undefined,
|
package/changes.json
CHANGED
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
"to": "^8.4.2"
|
|
14
14
|
},
|
|
15
15
|
"workerd": {
|
|
16
|
-
"from": "1.
|
|
17
|
-
"to": "^1.
|
|
16
|
+
"from": "1.20260820.1",
|
|
17
|
+
"to": "^1.20260822.1"
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
|
-
"timestamp": "2026-08-
|
|
20
|
+
"timestamp": "2026-08-23T00:30:18.493Z",
|
|
21
21
|
"totalUpdated": 4
|
|
22
22
|
}
|
package/config-schema.json
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$ref": "#/definitions/RawConfig",
|
|
4
3
|
"definitions": {
|
|
5
4
|
"RawConfig": {
|
|
6
5
|
"type": "object",
|
|
@@ -342,6 +341,11 @@
|
|
|
342
341
|
"description": "Specify the observability behavior of the Worker.\n\nFor reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#observability",
|
|
343
342
|
"markdownDescription": "Specify the observability behavior of the Worker.\n\nFor reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#observability"
|
|
344
343
|
},
|
|
344
|
+
"access": {
|
|
345
|
+
"$ref": "#/definitions/Access",
|
|
346
|
+
"description": "Specify the Cloudflare Access authentication behavior of the Worker.",
|
|
347
|
+
"markdownDescription": "Specify the Cloudflare Access authentication behavior of the Worker."
|
|
348
|
+
},
|
|
345
349
|
"cache": {
|
|
346
350
|
"$ref": "#/definitions/CacheOptions",
|
|
347
351
|
"description": "Specify the cache behavior of the Worker.",
|
|
@@ -655,6 +659,38 @@
|
|
|
655
659
|
"producers": []
|
|
656
660
|
}
|
|
657
661
|
},
|
|
662
|
+
"connect": {
|
|
663
|
+
"type": "array",
|
|
664
|
+
"items": {
|
|
665
|
+
"type": "object",
|
|
666
|
+
"properties": {
|
|
667
|
+
"protocol": {
|
|
668
|
+
"type": "string",
|
|
669
|
+
"const": "tcp",
|
|
670
|
+
"description": "The transport protocol to listen for.",
|
|
671
|
+
"markdownDescription": "The transport protocol to listen for."
|
|
672
|
+
},
|
|
673
|
+
"port": {
|
|
674
|
+
"type": "number",
|
|
675
|
+
"description": "The port to listen on.",
|
|
676
|
+
"markdownDescription": "The port to listen on."
|
|
677
|
+
},
|
|
678
|
+
"address": {
|
|
679
|
+
"type": "string",
|
|
680
|
+
"description": "The address to bind to. Defaults to `127.0.0.1`.",
|
|
681
|
+
"markdownDescription": "The address to bind to. Defaults to `127.0.0.1`."
|
|
682
|
+
}
|
|
683
|
+
},
|
|
684
|
+
"required": [
|
|
685
|
+
"protocol",
|
|
686
|
+
"port"
|
|
687
|
+
],
|
|
688
|
+
"additionalProperties": false
|
|
689
|
+
},
|
|
690
|
+
"description": "Specifies raw sockets that this Worker should listen on. Each entry opens a listening socket on the given port that delivers incoming connections directly to the Worker's `connect(socket, env, ctx)` handler.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
|
|
691
|
+
"markdownDescription": "Specifies raw sockets that this Worker should listen on.\nEach entry opens a listening socket on the\ngiven port that delivers incoming connections directly to the Worker's\n`connect(socket, env, ctx)` handler.\n\nNOTE: This field is not automatically inherited from the top level environment,\nand so must be specified in every named environment.",
|
|
692
|
+
"default": []
|
|
693
|
+
},
|
|
658
694
|
"r2_buckets": {
|
|
659
695
|
"type": "array",
|
|
660
696
|
"items": {
|
|
@@ -2103,6 +2139,11 @@
|
|
|
2103
2139
|
"description": "Specify the observability behavior of the Worker.\n\nFor reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#observability",
|
|
2104
2140
|
"markdownDescription": "Specify the observability behavior of the Worker.\n\nFor reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#observability"
|
|
2105
2141
|
},
|
|
2142
|
+
"access": {
|
|
2143
|
+
"$ref": "#/definitions/Access",
|
|
2144
|
+
"description": "Specify the Cloudflare Access authentication behavior of the Worker.",
|
|
2145
|
+
"markdownDescription": "Specify the Cloudflare Access authentication behavior of the Worker."
|
|
2146
|
+
},
|
|
2106
2147
|
"cache": {
|
|
2107
2148
|
"$ref": "#/definitions/CacheOptions",
|
|
2108
2149
|
"description": "Specify the cache behavior of the Worker.",
|
|
@@ -2416,6 +2457,38 @@
|
|
|
2416
2457
|
"producers": []
|
|
2417
2458
|
}
|
|
2418
2459
|
},
|
|
2460
|
+
"connect": {
|
|
2461
|
+
"type": "array",
|
|
2462
|
+
"items": {
|
|
2463
|
+
"type": "object",
|
|
2464
|
+
"properties": {
|
|
2465
|
+
"protocol": {
|
|
2466
|
+
"type": "string",
|
|
2467
|
+
"const": "tcp",
|
|
2468
|
+
"description": "The transport protocol to listen for.",
|
|
2469
|
+
"markdownDescription": "The transport protocol to listen for."
|
|
2470
|
+
},
|
|
2471
|
+
"port": {
|
|
2472
|
+
"type": "number",
|
|
2473
|
+
"description": "The port to listen on.",
|
|
2474
|
+
"markdownDescription": "The port to listen on."
|
|
2475
|
+
},
|
|
2476
|
+
"address": {
|
|
2477
|
+
"type": "string",
|
|
2478
|
+
"description": "The address to bind to. Defaults to `127.0.0.1`.",
|
|
2479
|
+
"markdownDescription": "The address to bind to. Defaults to `127.0.0.1`."
|
|
2480
|
+
}
|
|
2481
|
+
},
|
|
2482
|
+
"required": [
|
|
2483
|
+
"protocol",
|
|
2484
|
+
"port"
|
|
2485
|
+
],
|
|
2486
|
+
"additionalProperties": false
|
|
2487
|
+
},
|
|
2488
|
+
"description": "Specifies raw sockets that this Worker should listen on. Each entry opens a listening socket on the given port that delivers incoming connections directly to the Worker's `connect(socket, env, ctx)` handler.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
|
|
2489
|
+
"markdownDescription": "Specifies raw sockets that this Worker should listen on.\nEach entry opens a listening socket on the\ngiven port that delivers incoming connections directly to the Worker's\n`connect(socket, env, ctx)` handler.\n\nNOTE: This field is not automatically inherited from the top level environment,\nand so must be specified in every named environment.",
|
|
2490
|
+
"default": []
|
|
2491
|
+
},
|
|
2419
2492
|
"r2_buckets": {
|
|
2420
2493
|
"type": "array",
|
|
2421
2494
|
"items": {
|
|
@@ -3585,6 +3658,11 @@
|
|
|
3585
3658
|
},
|
|
3586
3659
|
"storage": {
|
|
3587
3660
|
"$ref": "#/definitions/DurableObjectExportStorage"
|
|
3661
|
+
},
|
|
3662
|
+
"container": {
|
|
3663
|
+
"type": "string",
|
|
3664
|
+
"description": "Attach a container to this Durable Object. Must match the `name` of an entry in the top-level `containers` array, and requires `storage: \"sqlite\"`.",
|
|
3665
|
+
"markdownDescription": "Attach a container to this Durable Object. Must match the `name` of an\nentry in the top-level `containers` array, and requires\n`storage: \"sqlite\"`."
|
|
3588
3666
|
}
|
|
3589
3667
|
},
|
|
3590
3668
|
"required": [
|
|
@@ -3671,6 +3749,11 @@
|
|
|
3671
3749
|
},
|
|
3672
3750
|
"transfer_from": {
|
|
3673
3751
|
"type": "string"
|
|
3752
|
+
},
|
|
3753
|
+
"container": {
|
|
3754
|
+
"type": "string",
|
|
3755
|
+
"description": "Attach a container to this Durable Object. Must match the `name` of an entry in the top-level `containers` array, and requires `storage: \"sqlite\"`.",
|
|
3756
|
+
"markdownDescription": "Attach a container to this Durable Object. Must match the `name` of an\nentry in the top-level `containers` array, and requires\n`storage: \"sqlite\"`."
|
|
3674
3757
|
}
|
|
3675
3758
|
},
|
|
3676
3759
|
"required": [
|
|
@@ -3682,8 +3765,8 @@
|
|
|
3682
3765
|
"additionalProperties": false
|
|
3683
3766
|
}
|
|
3684
3767
|
],
|
|
3685
|
-
"description": "A single declarative Durable Object export entry in the `exports` config map. `type` is reserved for the export kind. `state` carries the Durable Object lifecycle and defaults to `\"created\"` (live) when omitted.\n\nMutually exclusive with {@link DurableObjectMigration } at the config- validation boundary.\n\n - `created` (default, live): `storage` is required. - `deleted` (tombstone): retire a provisioned namespace whose class has been removed from code. - `renamed` (tombstone): rewrite a provisioned namespace's class name to `renamed_to`. The target name must also appear as a live (state `\"created\"`) `durable-object` entry in the same map. - `transferred` (tombstone): hand ownership of the namespace to another script in the same account (`transferred_to`). Two-phase commit; the target must first deploy an `expecting-transfer` entry naming this script via `transfer_from`. - `expecting-transfer` (live): receiving side of a two-phase transfer; `storage` and `transfer_from` are both required.",
|
|
3686
|
-
"markdownDescription": "A single declarative Durable Object export entry in the `exports` config\nmap. `type` is reserved for the export kind. `state` carries the Durable\nObject lifecycle and defaults to `\"created\"` (live) when omitted.\n\nMutually exclusive with {@link DurableObjectMigration } at the config-\nvalidation boundary.\n\n - `created` (default, live): `storage` is required.\n - `deleted` (tombstone): retire a provisioned namespace whose class has\n been removed from code.\n - `renamed` (tombstone): rewrite a provisioned namespace's class name to\n `renamed_to`. The target name must also appear as a live (state\n `\"created\"`) `durable-object` entry in the same map.\n - `transferred` (tombstone): hand ownership of the namespace to another\n script in the same account (`transferred_to`). Two-phase commit;\n the target must first deploy an `expecting-transfer` entry naming this\n script via `transfer_from`.\n - `expecting-transfer` (live): receiving side of a two-phase transfer;\n `storage` and `transfer_from` are both required."
|
|
3768
|
+
"description": "A single declarative Durable Object export entry in the `exports` config map. `type` is reserved for the export kind. `state` carries the Durable Object lifecycle and defaults to `\"created\"` (live) when omitted.\n\nMutually exclusive with {@link DurableObjectMigration } at the config- validation boundary.\n\n - `created` (default, live): `storage` is required. - `deleted` (tombstone): retire a provisioned namespace whose class has been removed from code. - `renamed` (tombstone): rewrite a provisioned namespace's class name to `renamed_to`. The target name must also appear as a live (state `\"created\"`) `durable-object` entry in the same map. - `transferred` (tombstone): hand ownership of the namespace to another script in the same account (`transferred_to`). Two-phase commit; the target must first deploy an `expecting-transfer` entry naming this script via `transfer_from`. - `expecting-transfer` (live): receiving side of a two-phase transfer; `storage` and `transfer_from` are both required.\n\nThe live states may additionally attach a container via `container`, which names an entry in the top-level `containers` array. Tombstones cannot.",
|
|
3769
|
+
"markdownDescription": "A single declarative Durable Object export entry in the `exports` config\nmap. `type` is reserved for the export kind. `state` carries the Durable\nObject lifecycle and defaults to `\"created\"` (live) when omitted.\n\nMutually exclusive with {@link DurableObjectMigration } at the config-\nvalidation boundary.\n\n - `created` (default, live): `storage` is required.\n - `deleted` (tombstone): retire a provisioned namespace whose class has\n been removed from code.\n - `renamed` (tombstone): rewrite a provisioned namespace's class name to\n `renamed_to`. The target name must also appear as a live (state\n `\"created\"`) `durable-object` entry in the same map.\n - `transferred` (tombstone): hand ownership of the namespace to another\n script in the same account (`transferred_to`). Two-phase commit;\n the target must first deploy an `expecting-transfer` entry naming this\n script via `transfer_from`.\n - `expecting-transfer` (live): receiving side of a two-phase transfer;\n `storage` and `transfer_from` are both required.\n\nThe live states may additionally attach a container via `container`, which\nnames an entry in the top-level `containers` array. Tombstones cannot."
|
|
3687
3770
|
},
|
|
3688
3771
|
"DurableObjectExportStorage": {
|
|
3689
3772
|
"type": "string",
|
|
@@ -3965,6 +4048,34 @@
|
|
|
3965
4048
|
},
|
|
3966
4049
|
"additionalProperties": false
|
|
3967
4050
|
},
|
|
4051
|
+
"Access": {
|
|
4052
|
+
"type": "object",
|
|
4053
|
+
"properties": {
|
|
4054
|
+
"dev": {
|
|
4055
|
+
"type": "object",
|
|
4056
|
+
"properties": {
|
|
4057
|
+
"aud": {
|
|
4058
|
+
"type": "string",
|
|
4059
|
+
"description": "The Access application audience tag (aud)",
|
|
4060
|
+
"markdownDescription": "The Access application audience tag (aud)"
|
|
4061
|
+
},
|
|
4062
|
+
"identity": {
|
|
4063
|
+
"type": "object",
|
|
4064
|
+
"additionalProperties": {},
|
|
4065
|
+
"description": "Mock identity object returned by ctx.access.getIdentity()",
|
|
4066
|
+
"markdownDescription": "Mock identity object returned by ctx.access.getIdentity()"
|
|
4067
|
+
}
|
|
4068
|
+
},
|
|
4069
|
+
"required": [
|
|
4070
|
+
"aud"
|
|
4071
|
+
],
|
|
4072
|
+
"additionalProperties": false,
|
|
4073
|
+
"description": "Local dev simulation of Cloudflare Access authentication",
|
|
4074
|
+
"markdownDescription": "Local dev simulation of Cloudflare Access authentication"
|
|
4075
|
+
}
|
|
4076
|
+
},
|
|
4077
|
+
"additionalProperties": false
|
|
4078
|
+
},
|
|
3968
4079
|
"CacheOptions": {
|
|
3969
4080
|
"type": "object",
|
|
3970
4081
|
"properties": {
|
|
@@ -3989,16 +4100,16 @@
|
|
|
3989
4100
|
"additionalProperties": false,
|
|
3990
4101
|
"properties": {
|
|
3991
4102
|
"logpush": {
|
|
3992
|
-
"$ref": "#/definitions/interface-769040647-
|
|
4103
|
+
"$ref": "#/definitions/interface-769040647-11843-22205-769040647-0-559642004818536"
|
|
3993
4104
|
},
|
|
3994
4105
|
"observability": {
|
|
3995
|
-
"$ref": "#/definitions/interface-769040647-
|
|
4106
|
+
"$ref": "#/definitions/interface-769040647-11843-22205-769040647-0-559642004818536"
|
|
3996
4107
|
},
|
|
3997
4108
|
"limits": {
|
|
3998
|
-
"$ref": "#/definitions/interface-769040647-
|
|
4109
|
+
"$ref": "#/definitions/interface-769040647-11843-22205-769040647-0-559642004818536"
|
|
3999
4110
|
},
|
|
4000
4111
|
"cache": {
|
|
4001
|
-
"$ref": "#/definitions/interface-769040647-
|
|
4112
|
+
"$ref": "#/definitions/interface-769040647-11843-22205-769040647-0-559642004818536"
|
|
4002
4113
|
},
|
|
4003
4114
|
"define": {
|
|
4004
4115
|
"type": "object",
|
|
@@ -4272,6 +4383,38 @@
|
|
|
4272
4383
|
"producers": []
|
|
4273
4384
|
}
|
|
4274
4385
|
},
|
|
4386
|
+
"connect": {
|
|
4387
|
+
"type": "array",
|
|
4388
|
+
"items": {
|
|
4389
|
+
"type": "object",
|
|
4390
|
+
"properties": {
|
|
4391
|
+
"protocol": {
|
|
4392
|
+
"type": "string",
|
|
4393
|
+
"const": "tcp",
|
|
4394
|
+
"description": "The transport protocol to listen for.",
|
|
4395
|
+
"markdownDescription": "The transport protocol to listen for."
|
|
4396
|
+
},
|
|
4397
|
+
"port": {
|
|
4398
|
+
"type": "number",
|
|
4399
|
+
"description": "The port to listen on.",
|
|
4400
|
+
"markdownDescription": "The port to listen on."
|
|
4401
|
+
},
|
|
4402
|
+
"address": {
|
|
4403
|
+
"type": "string",
|
|
4404
|
+
"description": "The address to bind to. Defaults to `127.0.0.1`.",
|
|
4405
|
+
"markdownDescription": "The address to bind to. Defaults to `127.0.0.1`."
|
|
4406
|
+
}
|
|
4407
|
+
},
|
|
4408
|
+
"required": [
|
|
4409
|
+
"protocol",
|
|
4410
|
+
"port"
|
|
4411
|
+
],
|
|
4412
|
+
"additionalProperties": false
|
|
4413
|
+
},
|
|
4414
|
+
"description": "Specifies raw sockets that this Worker should listen on. Each entry opens a listening socket on the given port that delivers incoming connections directly to the Worker's `connect(socket, env, ctx)` handler.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
|
|
4415
|
+
"markdownDescription": "Specifies raw sockets that this Worker should listen on.\nEach entry opens a listening socket on the\ngiven port that delivers incoming connections directly to the Worker's\n`connect(socket, env, ctx)` handler.\n\nNOTE: This field is not automatically inherited from the top level environment,\nand so must be specified in every named environment.",
|
|
4416
|
+
"default": []
|
|
4417
|
+
},
|
|
4275
4418
|
"r2_buckets": {
|
|
4276
4419
|
"type": "array",
|
|
4277
4420
|
"items": {
|
|
@@ -5270,7 +5413,7 @@
|
|
|
5270
5413
|
"description": "Configuration for Worker Previews.\n\nThis defines the settings used when creating Preview deployments. Previews are branches of your Worker's main instance used to test features during feature development outside of production.\n\nThe `previews` block contains any intentionally divergent configuration intended solely for Previews, including:\n- All non-inheritable properties (environment variables and bindings like KV, D1, R2, etc.)\n- Select inheritable properties: `logpush`, `observability`, `limits`, `cache`",
|
|
5271
5414
|
"markdownDescription": "Configuration for Worker Previews.\n\nThis defines the settings used when creating Preview deployments.\nPreviews are branches of your Worker's main instance used to test features\nduring feature development outside of production.\n\nThe `previews` block contains any intentionally divergent configuration intended solely for Previews, including:\n- All non-inheritable properties (environment variables and bindings like KV, D1, R2, etc.)\n- Select inheritable properties: `logpush`, `observability`, `limits`, `cache`"
|
|
5272
5415
|
},
|
|
5273
|
-
"interface-769040647-
|
|
5416
|
+
"interface-769040647-11843-22205-769040647-0-559642004818536": {
|
|
5274
5417
|
"type": "object",
|
|
5275
5418
|
"properties": {
|
|
5276
5419
|
"name": {
|
|
@@ -5597,6 +5740,11 @@
|
|
|
5597
5740
|
"description": "Specify the observability behavior of the Worker.\n\nFor reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#observability",
|
|
5598
5741
|
"markdownDescription": "Specify the observability behavior of the Worker.\n\nFor reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#observability"
|
|
5599
5742
|
},
|
|
5743
|
+
"access": {
|
|
5744
|
+
"$ref": "#/definitions/Access",
|
|
5745
|
+
"description": "Specify the Cloudflare Access authentication behavior of the Worker.",
|
|
5746
|
+
"markdownDescription": "Specify the Cloudflare Access authentication behavior of the Worker."
|
|
5747
|
+
},
|
|
5600
5748
|
"cache": {
|
|
5601
5749
|
"$ref": "#/definitions/CacheOptions",
|
|
5602
5750
|
"description": "Specify the cache behavior of the Worker.",
|
|
@@ -5739,11 +5887,6 @@
|
|
|
5739
5887
|
"description": "The script where the Workflow is defined (if it's external to this Worker)",
|
|
5740
5888
|
"markdownDescription": "The script where the Workflow is defined (if it's external to this Worker)"
|
|
5741
5889
|
},
|
|
5742
|
-
"remote": {
|
|
5743
|
-
"type": "boolean",
|
|
5744
|
-
"description": "Whether the Workflow should be remote or not in local development",
|
|
5745
|
-
"markdownDescription": "Whether the Workflow should be remote or not in local development"
|
|
5746
|
-
},
|
|
5747
5890
|
"limits": {
|
|
5748
5891
|
"type": "object",
|
|
5749
5892
|
"properties": {
|
|
@@ -5821,8 +5964,8 @@
|
|
|
5821
5964
|
"properties": {
|
|
5822
5965
|
"name": {
|
|
5823
5966
|
"type": "string",
|
|
5824
|
-
"description": "Name of the application",
|
|
5825
|
-
"markdownDescription": "Name of the application"
|
|
5967
|
+
"description": "Name of the application.\n\nThis is also the identifier used to reference the container from a Durable Object's `exports` entry via its `container` field.",
|
|
5968
|
+
"markdownDescription": "Name of the application.\n\nThis is also the identifier used to reference the container from a Durable\nObject's `exports` entry via its `container` field."
|
|
5826
5969
|
},
|
|
5827
5970
|
"max_instances": {
|
|
5828
5971
|
"type": "number",
|
|
@@ -6041,8 +6184,7 @@
|
|
|
6041
6184
|
}
|
|
6042
6185
|
},
|
|
6043
6186
|
"required": [
|
|
6044
|
-
"image"
|
|
6045
|
-
"class_name"
|
|
6187
|
+
"image"
|
|
6046
6188
|
],
|
|
6047
6189
|
"additionalProperties": false,
|
|
6048
6190
|
"description": "Configuration for a container application",
|
|
@@ -6237,5 +6379,10 @@
|
|
|
6237
6379
|
"additionalProperties": false
|
|
6238
6380
|
}
|
|
6239
6381
|
},
|
|
6240
|
-
"allowTrailingCommas": true
|
|
6382
|
+
"allowTrailingCommas": true,
|
|
6383
|
+
"allOf": [
|
|
6384
|
+
{
|
|
6385
|
+
"$ref": "#/definitions/RawConfig"
|
|
6386
|
+
}
|
|
6387
|
+
]
|
|
6241
6388
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depup/wrangler",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.125.0-depup.0",
|
|
4
4
|
"description": "Command-line interface for all things Cloudflare Workers (with updated dependencies)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"wrangler",
|
|
@@ -73,17 +73,17 @@
|
|
|
73
73
|
"esbuild": "^0.28.2",
|
|
74
74
|
"path-to-regexp": "^8.4.2",
|
|
75
75
|
"unenv": "2.0.0-rc.24",
|
|
76
|
-
"workerd": "^1.
|
|
76
|
+
"workerd": "^1.20260822.1",
|
|
77
77
|
"@cloudflare/kv-asset-handler": "0.5.0",
|
|
78
|
-
"
|
|
79
|
-
"
|
|
78
|
+
"miniflare": "5.20260820.0-alpha",
|
|
79
|
+
"@cloudflare/unenv-preset": "2.16.1"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
82
|
"@aws-sdk/client-s3": "^3.721.0",
|
|
83
83
|
"@aws-sdk/s3-request-presigner": "^3.721.0",
|
|
84
84
|
"@bomb.sh/tab": "^0.0.12",
|
|
85
85
|
"@cloudflare/types": "6.18.4",
|
|
86
|
-
"@cloudflare/workers-types": "^5.
|
|
86
|
+
"@cloudflare/workers-types": "^5.20260820.1",
|
|
87
87
|
"@cspotcode/source-map-support": "0.8.1",
|
|
88
88
|
"@netlify/build-info": "^10.5.1",
|
|
89
89
|
"@sentry/node": "^7.86.0",
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
"mime": "^3.0.0",
|
|
133
133
|
"minimatch": "^5.1.0",
|
|
134
134
|
"mock-socket": "^9.3.1",
|
|
135
|
-
"msw": "2.
|
|
135
|
+
"msw": "2.14.6",
|
|
136
136
|
"node-forge": "^1.3.2",
|
|
137
137
|
"open": "11.0.0",
|
|
138
138
|
"p-queue": "^9.0.0",
|
|
@@ -163,25 +163,25 @@
|
|
|
163
163
|
"yaml": "^2.8.1",
|
|
164
164
|
"yargs": "^17.7.2",
|
|
165
165
|
"zod": "4.4.3",
|
|
166
|
-
"@cloudflare/autoconfig": "0.2.
|
|
167
|
-
"@cloudflare/build-output-utils": "0.1.
|
|
168
|
-
"@cloudflare/cli-shared-helpers": "0.1.
|
|
169
|
-
"@cloudflare/codemod": "1.1.0",
|
|
170
|
-
"@cloudflare/config": "0.4.0",
|
|
166
|
+
"@cloudflare/autoconfig": "0.2.9",
|
|
167
|
+
"@cloudflare/build-output-utils": "0.1.3",
|
|
168
|
+
"@cloudflare/cli-shared-helpers": "0.1.25",
|
|
171
169
|
"@cloudflare/containers-shared": "0.16.0",
|
|
172
|
-
"@cloudflare/
|
|
170
|
+
"@cloudflare/config": "0.7.0",
|
|
171
|
+
"@cloudflare/deploy-helpers": "0.8.0",
|
|
173
172
|
"@cloudflare/pages-functions": "0.1.0",
|
|
174
|
-
"@cloudflare/pages-shared": "^0.13.
|
|
175
|
-
"@cloudflare/remote-bindings": "0.0.
|
|
176
|
-
"@cloudflare/runtime-types": "0.0.
|
|
177
|
-
"@cloudflare/
|
|
173
|
+
"@cloudflare/pages-shared": "^0.13.171",
|
|
174
|
+
"@cloudflare/remote-bindings": "0.0.14",
|
|
175
|
+
"@cloudflare/runtime-types": "0.0.16",
|
|
176
|
+
"@cloudflare/shared-ast-primitives": "1.1.0",
|
|
177
|
+
"@cloudflare/workers-auth": "0.6.5",
|
|
178
178
|
"@cloudflare/workers-shared": "0.19.9",
|
|
179
179
|
"@cloudflare/workers-tsconfig": "0.0.0",
|
|
180
|
-
"@cloudflare/workers-utils": "0.
|
|
181
|
-
"@cloudflare/workflows-shared": "0.
|
|
180
|
+
"@cloudflare/workers-utils": "0.34.0",
|
|
181
|
+
"@cloudflare/workflows-shared": "0.13.0"
|
|
182
182
|
},
|
|
183
183
|
"peerDependencies": {
|
|
184
|
-
"@cloudflare/workers-types": "^5.
|
|
184
|
+
"@cloudflare/workers-types": "^5.20260820.1"
|
|
185
185
|
},
|
|
186
186
|
"peerDependenciesMeta": {
|
|
187
187
|
"@cloudflare/workers-types": {
|
|
@@ -230,14 +230,14 @@
|
|
|
230
230
|
"to": "^8.4.2"
|
|
231
231
|
},
|
|
232
232
|
"workerd": {
|
|
233
|
-
"from": "1.
|
|
234
|
-
"to": "^1.
|
|
233
|
+
"from": "1.20260820.1",
|
|
234
|
+
"to": "^1.20260822.1"
|
|
235
235
|
}
|
|
236
236
|
},
|
|
237
237
|
"depsUpdated": 4,
|
|
238
238
|
"originalPackage": "wrangler",
|
|
239
|
-
"originalVersion": "4.
|
|
240
|
-
"processedAt": "2026-08-
|
|
239
|
+
"originalVersion": "4.125.0",
|
|
240
|
+
"processedAt": "2026-08-23T00:30:42.550Z",
|
|
241
241
|
"smokeTest": "failed"
|
|
242
242
|
}
|
|
243
243
|
}
|
package/wrangler-dist/cli.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Rule as Rule$1, CfModule, Environment as Environment$1, Entry, CfModuleType, Config as Config$1, StartDevWorkerInput, NodeJSCompatMode, CfScriptFormat, AsyncHook, CfAccount, AssetsOptions as AssetsOptions$1, Binding, ConfigBindingFieldName, RawConfig as RawConfig$1, NormalizeAndValidateConfigArgs, ResolveConfigPathOptions, ParseError, LoggerLevel, ComplianceConfig, ApiCredentials, UserError, FatalError } from '@cloudflare/workers-utils';
|
|
2
2
|
export { Binding, experimental_patchConfig, experimental_readRawConfig, defaultWranglerConfig as unstable_defaultWranglerConfig } from '@cloudflare/workers-utils';
|
|
3
|
-
import { Json as Json$1, WorkerdStructuredLog, DispatchFetch, Miniflare, WorkerRegistry,
|
|
3
|
+
import { Json as Json$1, WorkerdStructuredLog, DispatchFetch, Miniflare, WorkerRegistry, V4MiniflareOptions, Mutex, Response as Response$1, DurableObjectStorageOptions, DurableObjectStorageHandle, V4WorkerOptions, V4ModuleRule, RemoteProxyConnectionString, Request } from 'miniflare';
|
|
4
4
|
import * as undici from 'undici';
|
|
5
5
|
import { RequestInfo, RequestInit, Response, FormData } from 'undici';
|
|
6
6
|
import { Metafile } from 'esbuild';
|
|
@@ -572,7 +572,7 @@ declare class ProxyController extends Controller {
|
|
|
572
572
|
ready: DeferredPromise<ReadyEvent>;
|
|
573
573
|
localServerReady: DeferredPromise<void>;
|
|
574
574
|
proxyWorker?: Miniflare;
|
|
575
|
-
proxyWorkerOptions?:
|
|
575
|
+
proxyWorkerOptions?: V4MiniflareOptions;
|
|
576
576
|
private inspectorProxyWorkerWebSocket?;
|
|
577
577
|
protected latestConfig?: StartDevWorkerOptions;
|
|
578
578
|
protected latestBundle?: EsbuildBundle;
|
|
@@ -1077,6 +1077,24 @@ type WorkerInput = {
|
|
|
1077
1077
|
* Wrangler environment to load from the config file.
|
|
1078
1078
|
*/
|
|
1079
1079
|
env?: string;
|
|
1080
|
+
/**
|
|
1081
|
+
* Avoids rebuilding a Worker in a Wrangler project each time the test
|
|
1082
|
+
* harness starts or resets. Build the Worker once with
|
|
1083
|
+
* `wrangler deploy --dry-run --outdir`, then specify the same output
|
|
1084
|
+
* directory here.
|
|
1085
|
+
*
|
|
1086
|
+
* When using a named Wrangler environment, `env` must match the environment
|
|
1087
|
+
* used to build the output. Relative paths resolve from server `root`.
|
|
1088
|
+
*
|
|
1089
|
+
* @example
|
|
1090
|
+
* ```sh
|
|
1091
|
+
* wrangler deploy --dry-run --env test --outdir ./worker-output
|
|
1092
|
+
* ```
|
|
1093
|
+
* ```ts
|
|
1094
|
+
* { configPath: "./wrangler.jsonc", env: "test", prebuiltWorkerDir: "./worker-output" }
|
|
1095
|
+
* ```
|
|
1096
|
+
*/
|
|
1097
|
+
prebuiltWorkerDir?: string | URL;
|
|
1080
1098
|
/**
|
|
1081
1099
|
* Test-only vars that override vars from the Wrangler config.
|
|
1082
1100
|
*/
|
|
@@ -1280,8 +1298,14 @@ type UnsafeBinding = {
|
|
|
1280
1298
|
*/
|
|
1281
1299
|
type ContainerApp = {
|
|
1282
1300
|
/**
|
|
1283
|
-
* Name of the application
|
|
1284
|
-
*
|
|
1301
|
+
* Name of the application.
|
|
1302
|
+
*
|
|
1303
|
+
* This is also the identifier used to reference the container from a Durable
|
|
1304
|
+
* Object's `exports` entry via its `container` field.
|
|
1305
|
+
*
|
|
1306
|
+
* @optional Defaults to `worker_name-class_name` if not specified. A name is
|
|
1307
|
+
* required when `class_name` is not set, since there is no class name to
|
|
1308
|
+
* derive the default from.
|
|
1285
1309
|
*/
|
|
1286
1310
|
name?: string;
|
|
1287
1311
|
/**
|
|
@@ -1312,8 +1336,12 @@ type ContainerApp = {
|
|
|
1312
1336
|
image_vars?: Record<string, string>;
|
|
1313
1337
|
/**
|
|
1314
1338
|
* The class name of the Durable Object the container is connected to.
|
|
1339
|
+
*
|
|
1340
|
+
* @optional Instead of naming the Durable Object here, you can reference this
|
|
1341
|
+
* container from the Durable Object's `exports` entry via its `container`
|
|
1342
|
+
* field. Exactly one of the two directions must be configured.
|
|
1315
1343
|
*/
|
|
1316
|
-
class_name
|
|
1344
|
+
class_name?: string;
|
|
1317
1345
|
/**
|
|
1318
1346
|
* The scheduling policy of the application
|
|
1319
1347
|
* @optional
|
|
@@ -1525,11 +1553,22 @@ type DurableObjectExportStorage = "sqlite" | "legacy-kv";
|
|
|
1525
1553
|
* script via `transfer_from`.
|
|
1526
1554
|
* - `expecting-transfer` (live): receiving side of a two-phase transfer;
|
|
1527
1555
|
* `storage` and `transfer_from` are both required.
|
|
1556
|
+
*
|
|
1557
|
+
* The live states may additionally attach a container via `container`, which
|
|
1558
|
+
* names an entry in the top-level `containers` array. Tombstones cannot.
|
|
1528
1559
|
*/
|
|
1529
1560
|
type DurableObjectExport = {
|
|
1530
1561
|
type: "durable-object";
|
|
1531
1562
|
state?: "created";
|
|
1532
1563
|
storage: DurableObjectExportStorage;
|
|
1564
|
+
/**
|
|
1565
|
+
* Attach a container to this Durable Object. Must match the `name` of an
|
|
1566
|
+
* entry in the top-level `containers` array, and requires
|
|
1567
|
+
* `storage: "sqlite"`.
|
|
1568
|
+
*
|
|
1569
|
+
* @optional
|
|
1570
|
+
*/
|
|
1571
|
+
container?: string;
|
|
1533
1572
|
} | {
|
|
1534
1573
|
type: "durable-object";
|
|
1535
1574
|
state: "deleted";
|
|
@@ -1546,6 +1585,14 @@ type DurableObjectExport = {
|
|
|
1546
1585
|
state: "expecting-transfer";
|
|
1547
1586
|
storage: DurableObjectExportStorage;
|
|
1548
1587
|
transfer_from: string;
|
|
1588
|
+
/**
|
|
1589
|
+
* Attach a container to this Durable Object. Must match the `name` of an
|
|
1590
|
+
* entry in the top-level `containers` array, and requires
|
|
1591
|
+
* `storage: "sqlite"`.
|
|
1592
|
+
*
|
|
1593
|
+
* @optional
|
|
1594
|
+
*/
|
|
1595
|
+
container?: string;
|
|
1549
1596
|
};
|
|
1550
1597
|
interface WorkerEntrypointExport {
|
|
1551
1598
|
type: "worker";
|
|
@@ -1860,6 +1907,12 @@ interface EnvironmentInheritable {
|
|
|
1860
1907
|
* @inheritable
|
|
1861
1908
|
*/
|
|
1862
1909
|
observability: Observability | undefined;
|
|
1910
|
+
/**
|
|
1911
|
+
* Specify the Cloudflare Access authentication behavior of the Worker.
|
|
1912
|
+
*
|
|
1913
|
+
* @inheritable
|
|
1914
|
+
*/
|
|
1915
|
+
access: Access | undefined;
|
|
1863
1916
|
/**
|
|
1864
1917
|
* Specify the cache behavior of the Worker.
|
|
1865
1918
|
*
|
|
@@ -1933,8 +1986,6 @@ type WorkflowBinding = {
|
|
|
1933
1986
|
class_name: string;
|
|
1934
1987
|
/** The script where the Workflow is defined (if it's external to this Worker) */
|
|
1935
1988
|
script_name?: string;
|
|
1936
|
-
/** Whether the Workflow should be remote or not in local development */
|
|
1937
|
-
remote?: boolean;
|
|
1938
1989
|
/** Optional limits for the Workflow */
|
|
1939
1990
|
limits?: {
|
|
1940
1991
|
/** Maximum number of steps a Workflow instance can execute */
|
|
@@ -2132,6 +2183,26 @@ interface EnvironmentNonInheritable {
|
|
|
2132
2183
|
retry_delay?: number;
|
|
2133
2184
|
}[];
|
|
2134
2185
|
};
|
|
2186
|
+
/**
|
|
2187
|
+
* Specifies raw sockets that this Worker should listen on.
|
|
2188
|
+
* Each entry opens a listening socket on the
|
|
2189
|
+
* given port that delivers incoming connections directly to the Worker's
|
|
2190
|
+
* `connect(socket, env, ctx)` handler.
|
|
2191
|
+
*
|
|
2192
|
+
* NOTE: This field is not automatically inherited from the top level environment,
|
|
2193
|
+
* and so must be specified in every named environment.
|
|
2194
|
+
*
|
|
2195
|
+
* @default []
|
|
2196
|
+
* @nonInheritable
|
|
2197
|
+
*/
|
|
2198
|
+
connect: {
|
|
2199
|
+
/** The transport protocol to listen for. */
|
|
2200
|
+
protocol: "tcp";
|
|
2201
|
+
/** The port to listen on. */
|
|
2202
|
+
port: number;
|
|
2203
|
+
/** The address to bind to. Defaults to `127.0.0.1`. */
|
|
2204
|
+
address?: string;
|
|
2205
|
+
}[];
|
|
2135
2206
|
/**
|
|
2136
2207
|
* Specifies R2 buckets that are bound to this Worker environment.
|
|
2137
2208
|
*
|
|
@@ -2814,6 +2885,15 @@ interface Observability {
|
|
|
2814
2885
|
destinations?: string[];
|
|
2815
2886
|
};
|
|
2816
2887
|
}
|
|
2888
|
+
interface Access {
|
|
2889
|
+
/** Local dev simulation of Cloudflare Access authentication */
|
|
2890
|
+
dev?: {
|
|
2891
|
+
/** The Access application audience tag (aud) */
|
|
2892
|
+
aud: string;
|
|
2893
|
+
/** Mock identity object returned by ctx.access.getIdentity() */
|
|
2894
|
+
identity?: Record<string, unknown>;
|
|
2895
|
+
};
|
|
2896
|
+
}
|
|
2817
2897
|
interface CacheOptions {
|
|
2818
2898
|
/** If cache is enabled for this Worker */
|
|
2819
2899
|
enabled: boolean;
|
|
@@ -3168,7 +3248,7 @@ type VarBinding = Extract<Binding, {
|
|
|
3168
3248
|
declare function getVarsForDev(configPath: string | undefined, envFiles: string[] | undefined, vars: Config$1["vars"], env: string | undefined, silent?: boolean, secrets?: Config$1["secrets"]): Record<string, VarBinding>;
|
|
3169
3249
|
|
|
3170
3250
|
/**
|
|
3171
|
-
* @deprecated
|
|
3251
|
+
* @deprecated Set a compatibility date explicitly instead.
|
|
3172
3252
|
*/
|
|
3173
3253
|
declare function unstable_getDevCompatibilityDate(): `${number}${number}${number}${number}-${number}${number}-${number}${number}`;
|
|
3174
3254
|
|
|
@@ -3253,14 +3333,14 @@ type PlatformProxy<Env = Record<string, unknown>, CfProperties extends Record<st
|
|
|
3253
3333
|
* @returns An Object containing the generated proxies alongside other related utilities
|
|
3254
3334
|
*/
|
|
3255
3335
|
declare function getPlatformProxy<Env = Record<string, unknown>, CfProperties extends Record<string, unknown> = IncomingRequestCfProperties>(options?: GetPlatformProxyOptions): Promise<PlatformProxy<Env, CfProperties>>;
|
|
3256
|
-
type SourcelessWorkerOptions = Omit<
|
|
3257
|
-
modulesRules?:
|
|
3336
|
+
type SourcelessWorkerOptions = Omit<V4WorkerOptions, "script" | "scriptPath" | "modules" | "modulesRoot"> & {
|
|
3337
|
+
modulesRules?: V4ModuleRule[];
|
|
3258
3338
|
};
|
|
3259
3339
|
interface Unstable_MiniflareWorkerOptions {
|
|
3260
3340
|
workerOptions: SourcelessWorkerOptions;
|
|
3261
3341
|
define: Record<string, string>;
|
|
3262
3342
|
main?: string;
|
|
3263
|
-
externalWorkers:
|
|
3343
|
+
externalWorkers: V4WorkerOptions[];
|
|
3264
3344
|
}
|
|
3265
3345
|
declare function unstable_getMiniflareWorkerOptions(configPath: string, env?: string, options?: {
|
|
3266
3346
|
remoteProxyConnectionString?: RemoteProxyConnectionString;
|