wrangler 4.129.1 → 4.130.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/config-schema.json +40 -5
- package/package.json +17 -17
- package/wrangler-dist/cli.d.ts +23 -0
- package/wrangler-dist/cli.js +3466 -2929
- package/wrangler-dist/experimental-config.d.mts +1309 -1383
- package/wrangler-dist/experimental-config.d.mts.map +1 -1
- package/wrangler-dist/experimental-config.mjs +22 -26
- package/wrangler-dist/experimental-config.mjs.map +1 -1
package/config-schema.json
CHANGED
|
@@ -4106,16 +4106,16 @@
|
|
|
4106
4106
|
"additionalProperties": false,
|
|
4107
4107
|
"properties": {
|
|
4108
4108
|
"logpush": {
|
|
4109
|
-
"$ref": "#/definitions/interface-769040647-
|
|
4109
|
+
"$ref": "#/definitions/interface-769040647-12589-22951-769040647-0-575102004818536"
|
|
4110
4110
|
},
|
|
4111
4111
|
"observability": {
|
|
4112
|
-
"$ref": "#/definitions/interface-769040647-
|
|
4112
|
+
"$ref": "#/definitions/interface-769040647-12589-22951-769040647-0-575102004818536"
|
|
4113
4113
|
},
|
|
4114
4114
|
"limits": {
|
|
4115
|
-
"$ref": "#/definitions/interface-769040647-
|
|
4115
|
+
"$ref": "#/definitions/interface-769040647-12589-22951-769040647-0-575102004818536"
|
|
4116
4116
|
},
|
|
4117
4117
|
"cache": {
|
|
4118
|
-
"$ref": "#/definitions/interface-769040647-
|
|
4118
|
+
"$ref": "#/definitions/interface-769040647-12589-22951-769040647-0-575102004818536"
|
|
4119
4119
|
},
|
|
4120
4120
|
"define": {
|
|
4121
4121
|
"type": "object",
|
|
@@ -5419,7 +5419,7 @@
|
|
|
5419
5419
|
"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`",
|
|
5420
5420
|
"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`"
|
|
5421
5421
|
},
|
|
5422
|
-
"interface-769040647-
|
|
5422
|
+
"interface-769040647-12589-22951-769040647-0-575102004818536": {
|
|
5423
5423
|
"type": "object",
|
|
5424
5424
|
"properties": {
|
|
5425
5425
|
"name": {
|
|
@@ -6038,6 +6038,11 @@
|
|
|
6038
6038
|
"description": "The class name of the Durable Object the container is connected to.",
|
|
6039
6039
|
"markdownDescription": "The class name of the Durable Object the container is connected to."
|
|
6040
6040
|
},
|
|
6041
|
+
"observability": {
|
|
6042
|
+
"$ref": "#/definitions/ContainerObservability",
|
|
6043
|
+
"description": "Specify the observability behavior of this container application.\n\nWhen set, this overrides the root `observability` config for this container.",
|
|
6044
|
+
"markdownDescription": "Specify the observability behavior of this container application.\n\nWhen set, this overrides the root `observability` config for this container."
|
|
6045
|
+
},
|
|
6041
6046
|
"scheduling_policy": {
|
|
6042
6047
|
"type": "string",
|
|
6043
6048
|
"enum": [
|
|
@@ -6229,6 +6234,36 @@
|
|
|
6229
6234
|
"required": [
|
|
6230
6235
|
"image"
|
|
6231
6236
|
],
|
|
6237
|
+
"additionalProperties": false
|
|
6238
|
+
},
|
|
6239
|
+
"ContainerObservability": {
|
|
6240
|
+
"type": "object",
|
|
6241
|
+
"properties": {
|
|
6242
|
+
"enabled": {
|
|
6243
|
+
"type": "boolean",
|
|
6244
|
+
"description": "If observability is enabled for this container application",
|
|
6245
|
+
"markdownDescription": "If observability is enabled for this container application"
|
|
6246
|
+
},
|
|
6247
|
+
"logs": {
|
|
6248
|
+
"type": "object",
|
|
6249
|
+
"properties": {
|
|
6250
|
+
"enabled": {
|
|
6251
|
+
"type": "boolean"
|
|
6252
|
+
}
|
|
6253
|
+
},
|
|
6254
|
+
"additionalProperties": false
|
|
6255
|
+
},
|
|
6256
|
+
"target_instance_percentage": {
|
|
6257
|
+
"type": "number",
|
|
6258
|
+
"description": "Percentage of instances to target with application-level observability hot reloads. Mutually exclusive with `target_instance_count`.",
|
|
6259
|
+
"markdownDescription": "Percentage of instances to target with application-level observability hot reloads.\nMutually exclusive with `target_instance_count`."
|
|
6260
|
+
},
|
|
6261
|
+
"target_instance_count": {
|
|
6262
|
+
"type": "number",
|
|
6263
|
+
"description": "Number of instances to target with application-level observability hot reloads. Mutually exclusive with `target_instance_percentage`.",
|
|
6264
|
+
"markdownDescription": "Number of instances to target with application-level observability hot reloads.\nMutually exclusive with `target_instance_percentage`."
|
|
6265
|
+
}
|
|
6266
|
+
},
|
|
6232
6267
|
"additionalProperties": false,
|
|
6233
6268
|
"description": "Configuration for a container application",
|
|
6234
6269
|
"markdownDescription": "Configuration for a container application"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wrangler",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.130.0",
|
|
4
4
|
"description": "Command-line interface for all things Cloudflare Workers",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"assembly",
|
|
@@ -66,17 +66,17 @@
|
|
|
66
66
|
"esbuild": "0.28.1",
|
|
67
67
|
"path-to-regexp": "6.3.0",
|
|
68
68
|
"unenv": "2.0.0-rc.24",
|
|
69
|
-
"workerd": "1.
|
|
70
|
-
"
|
|
69
|
+
"workerd": "1.20260908.1",
|
|
70
|
+
"miniflare": "5.20260908.0-alpha",
|
|
71
71
|
"@cloudflare/unenv-preset": "2.16.1",
|
|
72
|
-
"
|
|
72
|
+
"@cloudflare/kv-asset-handler": "0.5.0"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
75
|
"@aws-sdk/client-s3": "^3.721.0",
|
|
76
76
|
"@aws-sdk/s3-request-presigner": "^3.721.0",
|
|
77
77
|
"@bomb.sh/tab": "^0.0.12",
|
|
78
78
|
"@cloudflare/types": "6.18.4",
|
|
79
|
-
"@cloudflare/workers-types": "^5.
|
|
79
|
+
"@cloudflare/workers-types": "^5.20260908.1",
|
|
80
80
|
"@cspotcode/source-map-support": "0.8.1",
|
|
81
81
|
"@netlify/build-info": "10.5.1",
|
|
82
82
|
"@sentry/node": "^7.86.0",
|
|
@@ -156,25 +156,25 @@
|
|
|
156
156
|
"yaml": "^2.8.1",
|
|
157
157
|
"yargs": "^17.7.2",
|
|
158
158
|
"zod": "4.4.3",
|
|
159
|
-
"@cloudflare/
|
|
160
|
-
"@cloudflare/
|
|
161
|
-
"@cloudflare/cli-shared-helpers": "0.1.
|
|
162
|
-
"@cloudflare/
|
|
159
|
+
"@cloudflare/autoconfig": "0.4.3",
|
|
160
|
+
"@cloudflare/build-output-utils": "0.4.1",
|
|
161
|
+
"@cloudflare/cli-shared-helpers": "0.1.28",
|
|
162
|
+
"@cloudflare/deploy-helpers": "0.10.3",
|
|
163
|
+
"@cloudflare/config": "0.11.0",
|
|
163
164
|
"@cloudflare/containers-shared": "0.16.0",
|
|
165
|
+
"@cloudflare/pages-shared": "^0.13.178",
|
|
166
|
+
"@cloudflare/runtime-types": "0.0.23",
|
|
164
167
|
"@cloudflare/pages-functions": "0.1.0",
|
|
165
|
-
"@cloudflare/
|
|
166
|
-
"@cloudflare/
|
|
167
|
-
"@cloudflare/runtime-types": "0.0.22",
|
|
168
|
-
"@cloudflare/deploy-helpers": "0.10.2",
|
|
169
|
-
"@cloudflare/shared-ast-primitives": "1.1.0",
|
|
170
|
-
"@cloudflare/workers-auth": "0.6.9",
|
|
168
|
+
"@cloudflare/remote-bindings": "0.0.21",
|
|
169
|
+
"@cloudflare/workers-auth": "0.6.10",
|
|
171
170
|
"@cloudflare/workers-shared": "0.19.9",
|
|
172
|
-
"@cloudflare/
|
|
171
|
+
"@cloudflare/shared-ast-primitives": "1.1.0",
|
|
173
172
|
"@cloudflare/workers-tsconfig": "0.0.0",
|
|
173
|
+
"@cloudflare/workers-utils": "0.37.0",
|
|
174
174
|
"@cloudflare/workflows-shared": "0.13.0"
|
|
175
175
|
},
|
|
176
176
|
"peerDependencies": {
|
|
177
|
-
"@cloudflare/workers-types": "^5.
|
|
177
|
+
"@cloudflare/workers-types": "^5.20260908.1"
|
|
178
178
|
},
|
|
179
179
|
"peerDependenciesMeta": {
|
|
180
180
|
"@cloudflare/workers-types": {
|
package/wrangler-dist/cli.d.ts
CHANGED
|
@@ -1274,6 +1274,23 @@ type UnsafeBinding = {
|
|
|
1274
1274
|
/**
|
|
1275
1275
|
* Configuration for a container application
|
|
1276
1276
|
*/
|
|
1277
|
+
type ContainerObservability = {
|
|
1278
|
+
/** If observability is enabled for this container application */
|
|
1279
|
+
enabled?: boolean;
|
|
1280
|
+
logs?: {
|
|
1281
|
+
enabled?: boolean;
|
|
1282
|
+
};
|
|
1283
|
+
/**
|
|
1284
|
+
* Percentage of instances to target with application-level observability hot reloads.
|
|
1285
|
+
* Mutually exclusive with `target_instance_count`.
|
|
1286
|
+
*/
|
|
1287
|
+
target_instance_percentage?: number;
|
|
1288
|
+
/**
|
|
1289
|
+
* Number of instances to target with application-level observability hot reloads.
|
|
1290
|
+
* Mutually exclusive with `target_instance_percentage`.
|
|
1291
|
+
*/
|
|
1292
|
+
target_instance_count?: number;
|
|
1293
|
+
};
|
|
1277
1294
|
type ContainerApp = {
|
|
1278
1295
|
/**
|
|
1279
1296
|
* Name of the application.
|
|
@@ -1320,6 +1337,12 @@ type ContainerApp = {
|
|
|
1320
1337
|
* field. Exactly one of the two directions must be configured.
|
|
1321
1338
|
*/
|
|
1322
1339
|
class_name?: string;
|
|
1340
|
+
/**
|
|
1341
|
+
* Specify the observability behavior of this container application.
|
|
1342
|
+
*
|
|
1343
|
+
* When set, this overrides the root `observability` config for this container.
|
|
1344
|
+
*/
|
|
1345
|
+
observability?: ContainerObservability;
|
|
1323
1346
|
/**
|
|
1324
1347
|
* The scheduling policy of the application
|
|
1325
1348
|
* @optional
|