wrangler 4.20.1 → 4.20.3
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/config-schema.json +86 -49
- package/package.json +6 -6
- package/wrangler-dist/cli.d.ts +77 -58
- package/wrangler-dist/cli.js +433 -303
- package/wrangler-dist/metafile-cjs.json +1 -1
- /package/templates/{mixedMode → remoteBindings}/proxyServerWorker/index.ts +0 -0
- /package/templates/{mixedMode → remoteBindings}/proxyServerWorker/wrangler.jsonc +0 -0
package/config-schema.json
CHANGED
@@ -305,7 +305,7 @@
|
|
305
305
|
"items": {
|
306
306
|
"$ref": "#/definitions/ContainerApp"
|
307
307
|
},
|
308
|
-
"description": "Container related configuration",
|
308
|
+
"description": "Container related configuration\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
|
309
309
|
"default": []
|
310
310
|
},
|
311
311
|
"kv_namespaces": {
|
@@ -325,9 +325,9 @@
|
|
325
325
|
"type": "string",
|
326
326
|
"description": "The ID of the KV namespace used during `wrangler dev`"
|
327
327
|
},
|
328
|
-
"
|
328
|
+
"experimental_remote": {
|
329
329
|
"type": "boolean",
|
330
|
-
"description": "Whether the KV namespace should be remote or not (only available under `--x-
|
330
|
+
"description": "Whether the KV namespace should be remote or not (only available under `--x-remote-bindings`)"
|
331
331
|
}
|
332
332
|
},
|
333
333
|
"required": [
|
@@ -387,9 +387,9 @@
|
|
387
387
|
"type": "number",
|
388
388
|
"description": "The number of seconds to wait before delivering a message"
|
389
389
|
},
|
390
|
-
"
|
390
|
+
"experimental_remote": {
|
391
391
|
"type": "boolean",
|
392
|
-
"description": "Whether the Queue producer should be remote or not (only available under `--x-
|
392
|
+
"description": "Whether the Queue producer should be remote or not (only available under `--x-remote-bindings`)"
|
393
393
|
}
|
394
394
|
},
|
395
395
|
"required": [
|
@@ -481,9 +481,9 @@
|
|
481
481
|
"type": "string",
|
482
482
|
"description": "The jurisdiction that the bucket exists in. Default if not present."
|
483
483
|
},
|
484
|
-
"
|
484
|
+
"experimental_remote": {
|
485
485
|
"type": "boolean",
|
486
|
-
"description": "Whether the R2 bucket should be remote or not (only available under `--x-
|
486
|
+
"description": "Whether the R2 bucket should be remote or not (only available under `--x-remote-bindings`)"
|
487
487
|
}
|
488
488
|
},
|
489
489
|
"required": [
|
@@ -527,9 +527,9 @@
|
|
527
527
|
"type": "string",
|
528
528
|
"description": "Internal use only."
|
529
529
|
},
|
530
|
-
"
|
530
|
+
"experimental_remote": {
|
531
531
|
"type": "boolean",
|
532
|
-
"description": "Whether the D1 database should be remote or not (only available under `--x-
|
532
|
+
"description": "Whether the D1 database should be remote or not (only available under `--x-remote-bindings`)"
|
533
533
|
}
|
534
534
|
},
|
535
535
|
"required": [
|
@@ -553,9 +553,9 @@
|
|
553
553
|
"type": "string",
|
554
554
|
"description": "The name of the index."
|
555
555
|
},
|
556
|
-
"
|
556
|
+
"experimental_remote": {
|
557
557
|
"type": "boolean",
|
558
|
-
"description": "Whether the Vectorize index should be remote or not (only available under `--x-
|
558
|
+
"description": "Whether the Vectorize index should be remote or not (only available under `--x-remote-bindings`)"
|
559
559
|
}
|
560
560
|
},
|
561
561
|
"required": [
|
@@ -620,9 +620,9 @@
|
|
620
620
|
"additionalProperties": {},
|
621
621
|
"description": "Optional properties that will be made available to the service via ctx.props."
|
622
622
|
},
|
623
|
-
"
|
623
|
+
"experimental_remote": {
|
624
624
|
"type": "boolean",
|
625
|
-
"description": "Whether the service binding should be remote or not (only available under `--x-
|
625
|
+
"description": "Whether the service binding should be remote or not (only available under `--x-remote-bindings`)"
|
626
626
|
}
|
627
627
|
},
|
628
628
|
"required": [
|
@@ -662,9 +662,9 @@
|
|
662
662
|
"binding": {
|
663
663
|
"type": "string"
|
664
664
|
},
|
665
|
-
"
|
665
|
+
"experimental_remote": {
|
666
666
|
"type": "boolean",
|
667
|
-
"description": "Whether the Browser binding should be remote or not (only available under `--x-
|
667
|
+
"description": "Whether the Browser binding should be remote or not (only available under `--x-remote-bindings`)"
|
668
668
|
}
|
669
669
|
},
|
670
670
|
"required": [
|
@@ -683,9 +683,9 @@
|
|
683
683
|
"staging": {
|
684
684
|
"type": "boolean"
|
685
685
|
},
|
686
|
-
"
|
686
|
+
"experimental_remote": {
|
687
687
|
"type": "boolean",
|
688
|
-
"description": "Whether the AI binding should be remote or not (only available under `--x-
|
688
|
+
"description": "Whether the AI binding should be remote or not (only available under `--x-remote-bindings`)"
|
689
689
|
}
|
690
690
|
},
|
691
691
|
"required": [
|
@@ -701,9 +701,9 @@
|
|
701
701
|
"binding": {
|
702
702
|
"type": "string"
|
703
703
|
},
|
704
|
-
"
|
704
|
+
"experimental_remote": {
|
705
705
|
"type": "boolean",
|
706
|
-
"description": "Whether the Images binding should be remote or not (only available under `--x-
|
706
|
+
"description": "Whether the Images binding should be remote or not (only available under `--x-remote-bindings`)"
|
707
707
|
}
|
708
708
|
},
|
709
709
|
"required": [
|
@@ -808,9 +808,9 @@
|
|
808
808
|
"type": "string",
|
809
809
|
"description": "The uuid of the uploaded mTLS certificate"
|
810
810
|
},
|
811
|
-
"
|
811
|
+
"experimental_remote": {
|
812
812
|
"type": "boolean",
|
813
|
-
"description": "Whether the mtls fetcher should be remote or not (only available under `--x-
|
813
|
+
"description": "Whether the mtls fetcher should be remote or not (only available under `--x-remote-bindings`)"
|
814
814
|
}
|
815
815
|
},
|
816
816
|
"required": [
|
@@ -847,9 +847,9 @@
|
|
847
847
|
"$ref": "#/definitions/DispatchNamespaceOutbound",
|
848
848
|
"description": "Details about the outbound Worker which will handle outbound requests from your namespace"
|
849
849
|
},
|
850
|
-
"
|
850
|
+
"experimental_remote": {
|
851
851
|
"type": "boolean",
|
852
|
-
"description": "Whether the Dispatch Namespace should be remote or not (only available under `--x-
|
852
|
+
"description": "Whether the Dispatch Namespace should be remote or not (only available under `--x-remote-bindings`)"
|
853
853
|
}
|
854
854
|
},
|
855
855
|
"required": [
|
@@ -1311,7 +1311,7 @@
|
|
1311
1311
|
"items": {
|
1312
1312
|
"$ref": "#/definitions/ContainerApp"
|
1313
1313
|
},
|
1314
|
-
"description": "Container related configuration",
|
1314
|
+
"description": "Container related configuration\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
|
1315
1315
|
"default": []
|
1316
1316
|
},
|
1317
1317
|
"kv_namespaces": {
|
@@ -1331,9 +1331,9 @@
|
|
1331
1331
|
"type": "string",
|
1332
1332
|
"description": "The ID of the KV namespace used during `wrangler dev`"
|
1333
1333
|
},
|
1334
|
-
"
|
1334
|
+
"experimental_remote": {
|
1335
1335
|
"type": "boolean",
|
1336
|
-
"description": "Whether the KV namespace should be remote or not (only available under `--x-
|
1336
|
+
"description": "Whether the KV namespace should be remote or not (only available under `--x-remote-bindings`)"
|
1337
1337
|
}
|
1338
1338
|
},
|
1339
1339
|
"required": [
|
@@ -1393,9 +1393,9 @@
|
|
1393
1393
|
"type": "number",
|
1394
1394
|
"description": "The number of seconds to wait before delivering a message"
|
1395
1395
|
},
|
1396
|
-
"
|
1396
|
+
"experimental_remote": {
|
1397
1397
|
"type": "boolean",
|
1398
|
-
"description": "Whether the Queue producer should be remote or not (only available under `--x-
|
1398
|
+
"description": "Whether the Queue producer should be remote or not (only available under `--x-remote-bindings`)"
|
1399
1399
|
}
|
1400
1400
|
},
|
1401
1401
|
"required": [
|
@@ -1487,9 +1487,9 @@
|
|
1487
1487
|
"type": "string",
|
1488
1488
|
"description": "The jurisdiction that the bucket exists in. Default if not present."
|
1489
1489
|
},
|
1490
|
-
"
|
1490
|
+
"experimental_remote": {
|
1491
1491
|
"type": "boolean",
|
1492
|
-
"description": "Whether the R2 bucket should be remote or not (only available under `--x-
|
1492
|
+
"description": "Whether the R2 bucket should be remote or not (only available under `--x-remote-bindings`)"
|
1493
1493
|
}
|
1494
1494
|
},
|
1495
1495
|
"required": [
|
@@ -1533,9 +1533,9 @@
|
|
1533
1533
|
"type": "string",
|
1534
1534
|
"description": "Internal use only."
|
1535
1535
|
},
|
1536
|
-
"
|
1536
|
+
"experimental_remote": {
|
1537
1537
|
"type": "boolean",
|
1538
|
-
"description": "Whether the D1 database should be remote or not (only available under `--x-
|
1538
|
+
"description": "Whether the D1 database should be remote or not (only available under `--x-remote-bindings`)"
|
1539
1539
|
}
|
1540
1540
|
},
|
1541
1541
|
"required": [
|
@@ -1559,9 +1559,9 @@
|
|
1559
1559
|
"type": "string",
|
1560
1560
|
"description": "The name of the index."
|
1561
1561
|
},
|
1562
|
-
"
|
1562
|
+
"experimental_remote": {
|
1563
1563
|
"type": "boolean",
|
1564
|
-
"description": "Whether the Vectorize index should be remote or not (only available under `--x-
|
1564
|
+
"description": "Whether the Vectorize index should be remote or not (only available under `--x-remote-bindings`)"
|
1565
1565
|
}
|
1566
1566
|
},
|
1567
1567
|
"required": [
|
@@ -1626,9 +1626,9 @@
|
|
1626
1626
|
"additionalProperties": {},
|
1627
1627
|
"description": "Optional properties that will be made available to the service via ctx.props."
|
1628
1628
|
},
|
1629
|
-
"
|
1629
|
+
"experimental_remote": {
|
1630
1630
|
"type": "boolean",
|
1631
|
-
"description": "Whether the service binding should be remote or not (only available under `--x-
|
1631
|
+
"description": "Whether the service binding should be remote or not (only available under `--x-remote-bindings`)"
|
1632
1632
|
}
|
1633
1633
|
},
|
1634
1634
|
"required": [
|
@@ -1668,9 +1668,9 @@
|
|
1668
1668
|
"binding": {
|
1669
1669
|
"type": "string"
|
1670
1670
|
},
|
1671
|
-
"
|
1671
|
+
"experimental_remote": {
|
1672
1672
|
"type": "boolean",
|
1673
|
-
"description": "Whether the Browser binding should be remote or not (only available under `--x-
|
1673
|
+
"description": "Whether the Browser binding should be remote or not (only available under `--x-remote-bindings`)"
|
1674
1674
|
}
|
1675
1675
|
},
|
1676
1676
|
"required": [
|
@@ -1689,9 +1689,9 @@
|
|
1689
1689
|
"staging": {
|
1690
1690
|
"type": "boolean"
|
1691
1691
|
},
|
1692
|
-
"
|
1692
|
+
"experimental_remote": {
|
1693
1693
|
"type": "boolean",
|
1694
|
-
"description": "Whether the AI binding should be remote or not (only available under `--x-
|
1694
|
+
"description": "Whether the AI binding should be remote or not (only available under `--x-remote-bindings`)"
|
1695
1695
|
}
|
1696
1696
|
},
|
1697
1697
|
"required": [
|
@@ -1707,9 +1707,9 @@
|
|
1707
1707
|
"binding": {
|
1708
1708
|
"type": "string"
|
1709
1709
|
},
|
1710
|
-
"
|
1710
|
+
"experimental_remote": {
|
1711
1711
|
"type": "boolean",
|
1712
|
-
"description": "Whether the Images binding should be remote or not (only available under `--x-
|
1712
|
+
"description": "Whether the Images binding should be remote or not (only available under `--x-remote-bindings`)"
|
1713
1713
|
}
|
1714
1714
|
},
|
1715
1715
|
"required": [
|
@@ -1814,9 +1814,9 @@
|
|
1814
1814
|
"type": "string",
|
1815
1815
|
"description": "The uuid of the uploaded mTLS certificate"
|
1816
1816
|
},
|
1817
|
-
"
|
1817
|
+
"experimental_remote": {
|
1818
1818
|
"type": "boolean",
|
1819
|
-
"description": "Whether the mtls fetcher should be remote or not (only available under `--x-
|
1819
|
+
"description": "Whether the mtls fetcher should be remote or not (only available under `--x-remote-bindings`)"
|
1820
1820
|
}
|
1821
1821
|
},
|
1822
1822
|
"required": [
|
@@ -1853,9 +1853,9 @@
|
|
1853
1853
|
"$ref": "#/definitions/DispatchNamespaceOutbound",
|
1854
1854
|
"description": "Details about the outbound Worker which will handle outbound requests from your namespace"
|
1855
1855
|
},
|
1856
|
-
"
|
1856
|
+
"experimental_remote": {
|
1857
1857
|
"type": "boolean",
|
1858
|
-
"description": "Whether the Dispatch Namespace should be remote or not (only available under `--x-
|
1858
|
+
"description": "Whether the Dispatch Namespace should be remote or not (only available under `--x-remote-bindings`)"
|
1859
1859
|
}
|
1860
1860
|
},
|
1861
1861
|
"required": [
|
@@ -2274,9 +2274,9 @@
|
|
2274
2274
|
"type": "string",
|
2275
2275
|
"description": "The script where the Workflow is defined (if it's external to this Worker)"
|
2276
2276
|
},
|
2277
|
-
"
|
2277
|
+
"experimental_remote": {
|
2278
2278
|
"type": "boolean",
|
2279
|
-
"description": "Whether the Workflow should be remote or not (only available under `--x-
|
2279
|
+
"description": "Whether the Workflow should be remote or not (only available under `--x-remote-bindings`)"
|
2280
2280
|
}
|
2281
2281
|
},
|
2282
2282
|
"required": [
|
@@ -2345,7 +2345,8 @@
|
|
2345
2345
|
"type": "string",
|
2346
2346
|
"enum": [
|
2347
2347
|
"regional",
|
2348
|
-
"moon"
|
2348
|
+
"moon",
|
2349
|
+
"default"
|
2349
2350
|
],
|
2350
2351
|
"description": "The scheduling policy of the application, default is regional"
|
2351
2352
|
},
|
@@ -2557,9 +2558,45 @@
|
|
2557
2558
|
"type": "boolean",
|
2558
2559
|
"description": "When developing, whether to build and connect to containers. This requires a Docker daemon to be running. Defaults to `true`.",
|
2559
2560
|
"default": true
|
2561
|
+
},
|
2562
|
+
"container_engine": {
|
2563
|
+
"$ref": "#/definitions/ContainerEngine",
|
2564
|
+
"description": "Either the Docker unix socket i.e. `unix:/var/run/docker.sock` or a full configuration. Note that windows is only supported via WSL at the moment"
|
2560
2565
|
}
|
2561
2566
|
},
|
2562
2567
|
"additionalProperties": false
|
2568
|
+
},
|
2569
|
+
"ContainerEngine": {
|
2570
|
+
"anyOf": [
|
2571
|
+
{
|
2572
|
+
"type": "object",
|
2573
|
+
"properties": {
|
2574
|
+
"localDocker": {
|
2575
|
+
"$ref": "#/definitions/DockerConfiguration"
|
2576
|
+
}
|
2577
|
+
},
|
2578
|
+
"required": [
|
2579
|
+
"localDocker"
|
2580
|
+
],
|
2581
|
+
"additionalProperties": false
|
2582
|
+
},
|
2583
|
+
{
|
2584
|
+
"type": "string"
|
2585
|
+
}
|
2586
|
+
]
|
2587
|
+
},
|
2588
|
+
"DockerConfiguration": {
|
2589
|
+
"type": "object",
|
2590
|
+
"properties": {
|
2591
|
+
"socketPath": {
|
2592
|
+
"type": "string",
|
2593
|
+
"description": "Socket used by miniflare to communicate with Docker"
|
2594
|
+
}
|
2595
|
+
},
|
2596
|
+
"required": [
|
2597
|
+
"socketPath"
|
2598
|
+
],
|
2599
|
+
"additionalProperties": false
|
2563
2600
|
}
|
2564
2601
|
},
|
2565
2602
|
"allowTrailingCommas": true
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "wrangler",
|
3
|
-
"version": "4.20.
|
3
|
+
"version": "4.20.3",
|
4
4
|
"description": "Command-line interface for all things Cloudflare Workers",
|
5
5
|
"keywords": [
|
6
6
|
"wrangler",
|
@@ -55,14 +55,14 @@
|
|
55
55
|
"esbuild": "0.25.4",
|
56
56
|
"path-to-regexp": "6.3.0",
|
57
57
|
"unenv": "2.0.0-rc.17",
|
58
|
-
"workerd": "1.
|
58
|
+
"workerd": "1.20250617.0",
|
59
59
|
"@cloudflare/kv-asset-handler": "0.4.0",
|
60
|
-
"miniflare": "4.
|
60
|
+
"miniflare": "4.20250617.1"
|
61
61
|
},
|
62
62
|
"devDependencies": {
|
63
63
|
"@aws-sdk/client-s3": "^3.721.0",
|
64
64
|
"@cloudflare/types": "6.18.4",
|
65
|
-
"@cloudflare/workers-types": "^4.
|
65
|
+
"@cloudflare/workers-types": "^4.20250617.0",
|
66
66
|
"@cspotcode/source-map-support": "0.8.1",
|
67
67
|
"@iarna/toml": "^3.0.0",
|
68
68
|
"@sentry/node": "^7.86.0",
|
@@ -138,12 +138,12 @@
|
|
138
138
|
"@cloudflare/cli": "1.1.1",
|
139
139
|
"@cloudflare/containers-shared": "0.1.0",
|
140
140
|
"@cloudflare/eslint-config-worker": "1.1.0",
|
141
|
-
"@cloudflare/pages-shared": "^0.13.
|
141
|
+
"@cloudflare/pages-shared": "^0.13.48",
|
142
142
|
"@cloudflare/workers-shared": "0.17.6",
|
143
143
|
"@cloudflare/workers-tsconfig": "0.0.0"
|
144
144
|
},
|
145
145
|
"peerDependencies": {
|
146
|
-
"@cloudflare/workers-types": "^4.
|
146
|
+
"@cloudflare/workers-types": "^4.20250617.0"
|
147
147
|
},
|
148
148
|
"peerDependenciesMeta": {
|
149
149
|
"@cloudflare/workers-types": {
|