wrangler 4.134.0 → 4.136.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.
@@ -1486,8 +1486,8 @@
1486
1486
  },
1487
1487
  "remote": {
1488
1488
  "type": "boolean",
1489
- "description": "Set to `true` to suppress the remote binding warning in local dev. Flagship bindings are always remote.",
1490
- "markdownDescription": "Set to `true` to suppress the remote binding warning in local dev. Flagship bindings are always remote."
1489
+ "description": "Set to `true` to evaluate flags against the remote Flagship app during local dev, instead of the local simulator.",
1490
+ "markdownDescription": "Set to `true` to evaluate flags against the remote Flagship app during local dev, instead of the local simulator."
1491
1491
  }
1492
1492
  },
1493
1493
  "required": [
@@ -3262,8 +3262,8 @@
3262
3262
  },
3263
3263
  "remote": {
3264
3264
  "type": "boolean",
3265
- "description": "Set to `true` to suppress the remote binding warning in local dev. Flagship bindings are always remote.",
3266
- "markdownDescription": "Set to `true` to suppress the remote binding warning in local dev. Flagship bindings are always remote."
3265
+ "description": "Set to `true` to evaluate flags against the remote Flagship app during local dev, instead of the local simulator.",
3266
+ "markdownDescription": "Set to `true` to evaluate flags against the remote Flagship app during local dev, instead of the local simulator."
3267
3267
  }
3268
3268
  },
3269
3269
  "required": [
@@ -4100,19 +4100,19 @@
4100
4100
  "additionalProperties": false,
4101
4101
  "properties": {
4102
4102
  "logpush": {
4103
- "$ref": "#/definitions/interface-769040647-14205-24567-769040647-0-586562004818536"
4103
+ "$ref": "#/definitions/interface-769040647-14289-24651-769040647-0-587502004818536"
4104
4104
  },
4105
4105
  "observability": {
4106
- "$ref": "#/definitions/interface-769040647-14205-24567-769040647-0-586562004818536"
4106
+ "$ref": "#/definitions/interface-769040647-14289-24651-769040647-0-587502004818536"
4107
4107
  },
4108
4108
  "limits": {
4109
- "$ref": "#/definitions/interface-769040647-14205-24567-769040647-0-586562004818536"
4109
+ "$ref": "#/definitions/interface-769040647-14289-24651-769040647-0-587502004818536"
4110
4110
  },
4111
4111
  "placement": {
4112
- "$ref": "#/definitions/interface-769040647-14205-24567-769040647-0-586562004818536"
4112
+ "$ref": "#/definitions/interface-769040647-14289-24651-769040647-0-587502004818536"
4113
4113
  },
4114
4114
  "cache": {
4115
- "$ref": "#/definitions/interface-769040647-14205-24567-769040647-0-586562004818536"
4115
+ "$ref": "#/definitions/interface-769040647-14289-24651-769040647-0-587502004818536"
4116
4116
  },
4117
4117
  "define": {
4118
4118
  "type": "object",
@@ -5213,8 +5213,8 @@
5213
5213
  },
5214
5214
  "remote": {
5215
5215
  "type": "boolean",
5216
- "description": "Set to `true` to suppress the remote binding warning in local dev. Flagship bindings are always remote.",
5217
- "markdownDescription": "Set to `true` to suppress the remote binding warning in local dev. Flagship bindings are always remote."
5216
+ "description": "Set to `true` to evaluate flags against the remote Flagship app during local dev, instead of the local simulator.",
5217
+ "markdownDescription": "Set to `true` to evaluate flags against the remote Flagship app during local dev, instead of the local simulator."
5218
5218
  }
5219
5219
  },
5220
5220
  "required": [
@@ -5394,7 +5394,7 @@
5394
5394
  "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`",
5395
5395
  "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`"
5396
5396
  },
5397
- "interface-769040647-14205-24567-769040647-0-586562004818536": {
5397
+ "interface-769040647-14289-24651-769040647-0-587502004818536": {
5398
5398
  "type": "object",
5399
5399
  "properties": {
5400
5400
  "name": {
@@ -6000,8 +6000,8 @@
6000
6000
  "additionalProperties": {
6001
6001
  "$ref": "#/definitions/DurableObjectContainerImage"
6002
6002
  },
6003
- "description": "Named images available to a Durable Object-managed container through `ctx.container.images` and `env.EXPERIMENTAL_CLOUDFLARE_CONTAINER_IMAGES[className]`.\n\nOnly supported when `scheduling_policy` is `\"durable_object\"`.",
6004
- "markdownDescription": "Named images available to a Durable Object-managed container through\n`ctx.container.images` and\n`env.EXPERIMENTAL_CLOUDFLARE_CONTAINER_IMAGES[className]`.\n\nOnly supported when `scheduling_policy` is `\"durable_object\"`."
6003
+ "description": "Named images available to a Durable Object-managed container through `ctx.container.images`.\n\nOnly supported when `scheduling_policy` is `\"durable_object\"`. When omitted, run `wrangler deploy` to provision the application before uploading versions. Version deployments use its existing application.",
6004
+ "markdownDescription": "Named images available to a Durable Object-managed container through\n`ctx.container.images`.\n\nOnly supported when `scheduling_policy` is `\"durable_object\"`.\nWhen omitted, run `wrangler deploy` to provision the application before\nuploading versions. Version deployments use its existing application."
6005
6005
  },
6006
6006
  "image_build_context": {
6007
6007
  "type": "string",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wrangler",
3
- "version": "4.134.0",
3
+ "version": "4.136.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.20260917.1",
74
+ "workerd": "1.20260921.1",
75
75
  "@cloudflare/kv-asset-handler": "0.5.0",
76
76
  "@cloudflare/unenv-preset": "2.16.1",
77
- "miniflare": "5.20260917.0-alpha"
77
+ "miniflare": "5.20260921.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.20260917.1",
84
+ "@cloudflare/workers-types": "^5.20260921.1",
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/autoconfig": "0.5.0",
165
- "@cloudflare/build-output-utils": "0.5.2",
166
- "@cloudflare/cli-shared-helpers": "0.1.33",
167
- "@cloudflare/config": "0.14.0",
168
- "@cloudflare/containers-shared": "0.16.5",
169
- "@cloudflare/deploy-helpers": "0.12.2",
170
- "@cloudflare/remote-bindings": "0.0.27",
164
+ "@cloudflare/autoconfig": "0.6.0",
165
+ "@cloudflare/build-output-utils": "0.7.0",
166
+ "@cloudflare/cli-shared-helpers": "0.1.35",
167
+ "@cloudflare/containers-shared": "0.18.0",
168
+ "@cloudflare/deploy-helpers": "0.14.0",
171
169
  "@cloudflare/pages-functions": "0.1.0",
172
- "@cloudflare/runtime-types": "0.0.29",
173
- "@cloudflare/pages-shared": "^0.13.184",
170
+ "@cloudflare/pages-shared": "^0.13.186",
171
+ "@cloudflare/config": "0.16.0",
172
+ "@cloudflare/remote-bindings": "0.0.29",
173
+ "@cloudflare/runtime-types": "0.0.31",
174
174
  "@cloudflare/shared-ast-primitives": "1.1.0",
175
- "@cloudflare/workers-auth": "0.7.2",
175
+ "@cloudflare/workers-auth": "0.7.4",
176
176
  "@cloudflare/workers-shared": "0.19.9",
177
177
  "@cloudflare/workers-tsconfig": "0.0.0",
178
- "@cloudflare/workers-utils": "0.40.0",
178
+ "@cloudflare/workers-utils": "0.41.0",
179
179
  "@cloudflare/workflows-shared": "0.14.0"
180
180
  },
181
181
  "peerDependencies": {
182
- "@cloudflare/workers-types": "^5.20260917.1"
182
+ "@cloudflare/workers-types": "^5.20260921.1"
183
183
  },
184
184
  "peerDependenciesMeta": {
185
185
  "@cloudflare/workers-types": {
@@ -1117,6 +1117,7 @@ type ReadConfigCommandArgs = NormalizeAndValidateConfigArgs & {
1117
1117
  };
1118
1118
  type ReadConfigOptions = ResolveConfigPathOptions & {
1119
1119
  hideWarnings?: boolean;
1120
+ isPreview?: boolean;
1120
1121
  preserveOriginalMain?: boolean;
1121
1122
  };
1122
1123
 
@@ -1338,10 +1339,11 @@ type ContainerApp = {
1338
1339
  image?: string;
1339
1340
  /**
1340
1341
  * Named images available to a Durable Object-managed container through
1341
- * `ctx.container.images` and
1342
- * `env.EXPERIMENTAL_CLOUDFLARE_CONTAINER_IMAGES[className]`.
1342
+ * `ctx.container.images`.
1343
1343
  *
1344
1344
  * Only supported when `scheduling_policy` is `"durable_object"`.
1345
+ * When omitted, run `wrangler deploy` to provision the application before
1346
+ * uploading versions. Version deployments use its existing application.
1345
1347
  */
1346
1348
  images?: Record<string, DurableObjectContainerImage>;
1347
1349
  /**
@@ -2743,7 +2745,7 @@ interface EnvironmentNonInheritable {
2743
2745
  binding: string;
2744
2746
  /** The Flagship app ID to bind to. */
2745
2747
  app_id?: string;
2746
- /** Set to `true` to suppress the remote binding warning in local dev. Flagship bindings are always remote. */
2748
+ /** Set to `true` to evaluate flags against the remote Flagship app during local dev, instead of the local simulator. */
2747
2749
  remote?: boolean;
2748
2750
  }[];
2749
2751
  /**
@@ -3476,6 +3478,7 @@ interface DevArgs {
3476
3478
  }
3477
3479
  interface BuildArgs {
3478
3480
  mode?: string;
3481
+ preview?: boolean;
3479
3482
  }
3480
3483
  declare class ArgParseError extends Error {
3481
3484
  constructor(message: string);