wrangler 4.144.0 → 4.145.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.
@@ -1068,6 +1068,26 @@
1068
1068
  "markdownDescription": "A browser that will be usable from the Worker.\n\nNOTE: This field is not automatically inherited from the top level environment,\nand so must be specified in every named environment.\n\nFor reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#browser-rendering",
1069
1069
  "default": {}
1070
1070
  },
1071
+ "analytics": {
1072
+ "type": "object",
1073
+ "properties": {
1074
+ "binding": {
1075
+ "type": "string"
1076
+ },
1077
+ "remote": {
1078
+ "type": "boolean",
1079
+ "description": "Whether the binding should connect to the remote service during local development.",
1080
+ "markdownDescription": "Whether the binding should connect to the remote service during local development."
1081
+ }
1082
+ },
1083
+ "required": [
1084
+ "binding"
1085
+ ],
1086
+ "additionalProperties": false,
1087
+ "description": "An Analytics SQL binding.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
1088
+ "markdownDescription": "An Analytics SQL binding.\n\nNOTE: This field is not automatically inherited from the top level environment,\nand so must be specified in every named environment.",
1089
+ "default": {}
1090
+ },
1071
1091
  "ai": {
1072
1092
  "type": "object",
1073
1093
  "properties": {
@@ -1403,6 +1423,37 @@
1403
1423
  "markdownDescription": "Specifies list of Pipelines bound to this Worker environment\n\nNOTE: This field is not automatically inherited from the top level environment,\nand so must be specified in every named environment.",
1404
1424
  "default": []
1405
1425
  },
1426
+ "k2": {
1427
+ "type": "array",
1428
+ "items": {
1429
+ "type": "object",
1430
+ "properties": {
1431
+ "binding": {
1432
+ "type": "string",
1433
+ "description": "The binding name exposed on the Worker's env object.",
1434
+ "markdownDescription": "The binding name exposed on the Worker's env object."
1435
+ },
1436
+ "stream": {
1437
+ "type": "string",
1438
+ "description": "The ID of the K2 stream.",
1439
+ "markdownDescription": "The ID of the K2 stream."
1440
+ },
1441
+ "remote": {
1442
+ "type": "boolean",
1443
+ "description": "Always uses the real stream in development. Set true to suppress the usage warning; false is unsupported.",
1444
+ "markdownDescription": "Always uses the real stream in development. Set true to suppress the usage warning; false is unsupported."
1445
+ }
1446
+ },
1447
+ "required": [
1448
+ "binding",
1449
+ "stream"
1450
+ ],
1451
+ "additionalProperties": false
1452
+ },
1453
+ "description": "K2 producer bindings. Create streams using the Dashboard or API.\n\nThis field must be specified separately in each named environment.",
1454
+ "markdownDescription": "K2 producer bindings. Create streams using the Dashboard or API.\n\nThis field must be specified separately in each named environment.",
1455
+ "default": []
1456
+ },
1406
1457
  "secrets_store_secrets": {
1407
1458
  "type": "array",
1408
1459
  "items": {
@@ -2867,6 +2918,26 @@
2867
2918
  "markdownDescription": "A browser that will be usable from the Worker.\n\nNOTE: This field is not automatically inherited from the top level environment,\nand so must be specified in every named environment.\n\nFor reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#browser-rendering",
2868
2919
  "default": {}
2869
2920
  },
2921
+ "analytics": {
2922
+ "type": "object",
2923
+ "properties": {
2924
+ "binding": {
2925
+ "type": "string"
2926
+ },
2927
+ "remote": {
2928
+ "type": "boolean",
2929
+ "description": "Whether the binding should connect to the remote service during local development.",
2930
+ "markdownDescription": "Whether the binding should connect to the remote service during local development."
2931
+ }
2932
+ },
2933
+ "required": [
2934
+ "binding"
2935
+ ],
2936
+ "additionalProperties": false,
2937
+ "description": "An Analytics SQL binding.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
2938
+ "markdownDescription": "An Analytics SQL binding.\n\nNOTE: This field is not automatically inherited from the top level environment,\nand so must be specified in every named environment.",
2939
+ "default": {}
2940
+ },
2870
2941
  "ai": {
2871
2942
  "type": "object",
2872
2943
  "properties": {
@@ -3202,6 +3273,37 @@
3202
3273
  "markdownDescription": "Specifies list of Pipelines bound to this Worker environment\n\nNOTE: This field is not automatically inherited from the top level environment,\nand so must be specified in every named environment.",
3203
3274
  "default": []
3204
3275
  },
3276
+ "k2": {
3277
+ "type": "array",
3278
+ "items": {
3279
+ "type": "object",
3280
+ "properties": {
3281
+ "binding": {
3282
+ "type": "string",
3283
+ "description": "The binding name exposed on the Worker's env object.",
3284
+ "markdownDescription": "The binding name exposed on the Worker's env object."
3285
+ },
3286
+ "stream": {
3287
+ "type": "string",
3288
+ "description": "The ID of the K2 stream.",
3289
+ "markdownDescription": "The ID of the K2 stream."
3290
+ },
3291
+ "remote": {
3292
+ "type": "boolean",
3293
+ "description": "Always uses the real stream in development. Set true to suppress the usage warning; false is unsupported.",
3294
+ "markdownDescription": "Always uses the real stream in development. Set true to suppress the usage warning; false is unsupported."
3295
+ }
3296
+ },
3297
+ "required": [
3298
+ "binding",
3299
+ "stream"
3300
+ ],
3301
+ "additionalProperties": false
3302
+ },
3303
+ "description": "K2 producer bindings. Create streams using the Dashboard or API.\n\nThis field must be specified separately in each named environment.",
3304
+ "markdownDescription": "K2 producer bindings. Create streams using the Dashboard or API.\n\nThis field must be specified separately in each named environment.",
3305
+ "default": []
3306
+ },
3205
3307
  "secrets_store_secrets": {
3206
3308
  "type": "array",
3207
3309
  "items": {
@@ -4302,19 +4404,19 @@
4302
4404
  "type": "object",
4303
4405
  "properties": {
4304
4406
  "logpush": {
4305
- "$ref": "#/definitions/interface-769040647-14860-25222-769040647-0-605262004818536"
4407
+ "$ref": "#/definitions/interface-769040647-14860-25222-769040647-0-614002004818536"
4306
4408
  },
4307
4409
  "observability": {
4308
- "$ref": "#/definitions/interface-769040647-14860-25222-769040647-0-605262004818536"
4410
+ "$ref": "#/definitions/interface-769040647-14860-25222-769040647-0-614002004818536"
4309
4411
  },
4310
4412
  "limits": {
4311
- "$ref": "#/definitions/interface-769040647-14860-25222-769040647-0-605262004818536"
4413
+ "$ref": "#/definitions/interface-769040647-14860-25222-769040647-0-614002004818536"
4312
4414
  },
4313
4415
  "placement": {
4314
- "$ref": "#/definitions/interface-769040647-14860-25222-769040647-0-605262004818536"
4416
+ "$ref": "#/definitions/interface-769040647-14860-25222-769040647-0-614002004818536"
4315
4417
  },
4316
4418
  "cache": {
4317
- "$ref": "#/definitions/interface-769040647-14860-25222-769040647-0-605262004818536"
4419
+ "$ref": "#/definitions/interface-769040647-14860-25222-769040647-0-614002004818536"
4318
4420
  },
4319
4421
  "define": {
4320
4422
  "type": "object",
@@ -4994,6 +5096,26 @@
4994
5096
  "markdownDescription": "A browser that will be usable from the Worker.\n\nNOTE: This field is not automatically inherited from the top level environment,\nand so must be specified in every named environment.\n\nFor reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#browser-rendering",
4995
5097
  "default": {}
4996
5098
  },
5099
+ "analytics": {
5100
+ "type": "object",
5101
+ "properties": {
5102
+ "binding": {
5103
+ "type": "string"
5104
+ },
5105
+ "remote": {
5106
+ "type": "boolean",
5107
+ "description": "Whether the binding should connect to the remote service during local development.",
5108
+ "markdownDescription": "Whether the binding should connect to the remote service during local development."
5109
+ }
5110
+ },
5111
+ "required": [
5112
+ "binding"
5113
+ ],
5114
+ "additionalProperties": false,
5115
+ "description": "An Analytics SQL binding.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
5116
+ "markdownDescription": "An Analytics SQL binding.\n\nNOTE: This field is not automatically inherited from the top level environment,\nand so must be specified in every named environment.",
5117
+ "default": {}
5118
+ },
4997
5119
  "ai": {
4998
5120
  "type": "object",
4999
5121
  "properties": {
@@ -5329,6 +5451,37 @@
5329
5451
  "markdownDescription": "Specifies list of Pipelines bound to this Worker environment\n\nNOTE: This field is not automatically inherited from the top level environment,\nand so must be specified in every named environment.",
5330
5452
  "default": []
5331
5453
  },
5454
+ "k2": {
5455
+ "type": "array",
5456
+ "items": {
5457
+ "type": "object",
5458
+ "properties": {
5459
+ "binding": {
5460
+ "type": "string",
5461
+ "description": "The binding name exposed on the Worker's env object.",
5462
+ "markdownDescription": "The binding name exposed on the Worker's env object."
5463
+ },
5464
+ "stream": {
5465
+ "type": "string",
5466
+ "description": "The ID of the K2 stream.",
5467
+ "markdownDescription": "The ID of the K2 stream."
5468
+ },
5469
+ "remote": {
5470
+ "type": "boolean",
5471
+ "description": "Always uses the real stream in development. Set true to suppress the usage warning; false is unsupported.",
5472
+ "markdownDescription": "Always uses the real stream in development. Set true to suppress the usage warning; false is unsupported."
5473
+ }
5474
+ },
5475
+ "required": [
5476
+ "binding",
5477
+ "stream"
5478
+ ],
5479
+ "additionalProperties": false
5480
+ },
5481
+ "description": "K2 producer bindings. Create streams using the Dashboard or API.\n\nThis field must be specified separately in each named environment.",
5482
+ "markdownDescription": "K2 producer bindings. Create streams using the Dashboard or API.\n\nThis field must be specified separately in each named environment.",
5483
+ "default": []
5484
+ },
5332
5485
  "secrets_store_secrets": {
5333
5486
  "type": "array",
5334
5487
  "items": {
@@ -5628,7 +5781,7 @@
5628
5781
  "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`, `placement`, `cache`",
5629
5782
  "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`, `placement`, `cache`"
5630
5783
  },
5631
- "interface-769040647-14860-25222-769040647-0-605262004818536": {
5784
+ "interface-769040647-14860-25222-769040647-0-614002004818536": {
5632
5785
  "type": "object",
5633
5786
  "properties": {
5634
5787
  "name": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wrangler",
3
- "version": "4.144.0",
3
+ "version": "4.145.0",
4
4
  "description": "Command-line interface for all things Cloudflare Workers",
5
5
  "keywords": [
6
6
  "assembly",
@@ -71,17 +71,17 @@
71
71
  "esbuild": "0.28.1",
72
72
  "path-to-regexp": "6.3.0",
73
73
  "unenv": "2.0.0-rc.24",
74
- "workerd": "1.20260926.1",
74
+ "workerd": "1.20260930.2",
75
75
  "@cloudflare/kv-asset-handler": "0.5.0",
76
76
  "@cloudflare/unenv-preset": "2.16.2",
77
- "miniflare": "5.20260926.1-alpha"
77
+ "miniflare": "5.20260930.0-alpha"
78
78
  },
79
79
  "devDependencies": {
80
80
  "@aws-sdk/client-s3": "^3.721.0",
81
81
  "@aws-sdk/s3-request-presigner": "^3.721.0",
82
82
  "@bomb.sh/tab": "^0.0.12",
83
83
  "@cloudflare/types": "6.18.4",
84
- "@cloudflare/workers-types": "^5.20260926.1",
84
+ "@cloudflare/workers-types": "^5.20260930.2",
85
85
  "@cspotcode/source-map-support": "0.8.1",
86
86
  "@netlify/build-info": "10.5.1",
87
87
  "@sentry/node": "^7.86.0",
@@ -161,25 +161,25 @@
161
161
  "yaml": "^2.8.1",
162
162
  "yargs": "^17.7.2",
163
163
  "zod": "4.4.3",
164
- "@cloudflare/build-output-utils": "0.8.3",
165
- "@cloudflare/autoconfig": "0.7.2",
166
- "@cloudflare/cli-shared-helpers": "0.2.0",
167
- "@cloudflare/config": "0.21.0",
168
- "@cloudflare/containers-shared": "0.21.0",
169
- "@cloudflare/deploy-helpers": "0.18.3",
164
+ "@cloudflare/autoconfig": "0.7.3",
165
+ "@cloudflare/build-output-utils": "0.8.4",
166
+ "@cloudflare/cli-shared-helpers": "0.2.1",
167
+ "@cloudflare/config": "0.22.0",
168
+ "@cloudflare/containers-shared": "0.21.1",
169
+ "@cloudflare/deploy-helpers": "0.19.0",
170
+ "@cloudflare/pages-shared": "^0.13.192",
171
+ "@cloudflare/remote-bindings": "0.0.40",
172
+ "@cloudflare/runtime-types": "0.1.6",
170
173
  "@cloudflare/pages-functions": "0.1.0",
171
- "@cloudflare/pages-shared": "^0.13.191",
172
- "@cloudflare/remote-bindings": "0.0.39",
173
- "@cloudflare/runtime-types": "0.1.5",
174
174
  "@cloudflare/shared-ast-primitives": "1.1.0",
175
- "@cloudflare/workers-auth": "0.9.5",
176
- "@cloudflare/workers-tsconfig": "0.0.0",
175
+ "@cloudflare/workers-auth": "0.10.0",
177
176
  "@cloudflare/workers-shared": "0.20.0",
178
- "@cloudflare/workers-utils": "0.44.0",
177
+ "@cloudflare/workers-tsconfig": "0.0.0",
178
+ "@cloudflare/workers-utils": "0.45.0",
179
179
  "@cloudflare/workflows-shared": "0.15.0"
180
180
  },
181
181
  "peerDependencies": {
182
- "@cloudflare/workers-types": "^5.20260926.1"
182
+ "@cloudflare/workers-types": "^5.20260930.2"
183
183
  },
184
184
  "peerDependenciesMeta": {
185
185
  "@cloudflare/workers-types": {
@@ -2536,6 +2536,20 @@ interface EnvironmentNonInheritable {
2536
2536
  /** Whether the Browser binding should be remote or not in local development */
2537
2537
  remote?: boolean;
2538
2538
  } | undefined;
2539
+ /**
2540
+ * An Analytics SQL binding.
2541
+ *
2542
+ * NOTE: This field is not automatically inherited from the top level environment,
2543
+ * and so must be specified in every named environment.
2544
+ *
2545
+ * @default {}
2546
+ * @nonInheritable
2547
+ */
2548
+ analytics: {
2549
+ binding: string;
2550
+ /** Whether the binding should connect to the remote service during local development. */
2551
+ remote?: boolean;
2552
+ } | undefined;
2539
2553
  /**
2540
2554
  * Binding to the AI project.
2541
2555
  *
@@ -2721,6 +2735,21 @@ interface EnvironmentNonInheritable {
2721
2735
  /** Whether the pipeline should be remote or not in local development */
2722
2736
  remote?: boolean;
2723
2737
  }[];
2738
+ /**
2739
+ * K2 producer bindings. Create streams using the Dashboard or API.
2740
+ *
2741
+ * This field must be specified separately in each named environment.
2742
+ * @default []
2743
+ * @nonInheritable
2744
+ */
2745
+ k2: {
2746
+ /** The binding name exposed on the Worker's env object. */
2747
+ binding: string;
2748
+ /** The ID of the K2 stream. */
2749
+ stream: string;
2750
+ /** Always uses the real stream in development. Set true to suppress the usage warning; false is unsupported. */
2751
+ remote?: boolean;
2752
+ }[];
2724
2753
  /**
2725
2754
  * Specifies Secret Store bindings that are bound to this Worker environment.
2726
2755
  *
@@ -3627,8 +3656,8 @@ type Teams =
3627
3656
  | "Workers: Workers Observability"
3628
3657
  | "Product: KV"
3629
3658
  | "Product: R2"
3630
- | "Product: R2 Data Catalog"
3631
- | "Product: R2 SQL"
3659
+ | "Product: Basin Catalog"
3660
+ | "Product: Basin SQL"
3632
3661
  | "Product: D1"
3633
3662
  | "Product: Queues"
3634
3663
  | "Product: AI"