wrangler 4.133.0 → 4.135.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": [
@@ -3969,6 +3969,19 @@
3969
3969
  "markdownDescription": "Whether query strings are removed from request URLs in logs and traces.",
3970
3970
  "default": false
3971
3971
  },
3972
+ "issues": {
3973
+ "type": "object",
3974
+ "properties": {
3975
+ "enabled": {
3976
+ "type": "boolean",
3977
+ "description": "Whether real-time Issues are enabled.",
3978
+ "markdownDescription": "Whether real-time Issues are enabled."
3979
+ }
3980
+ },
3981
+ "additionalProperties": false,
3982
+ "description": "Real-time Issues settings for this Worker.",
3983
+ "markdownDescription": "Real-time Issues settings for this Worker."
3984
+ },
3972
3985
  "logs": {
3973
3986
  "type": "object",
3974
3987
  "properties": {
@@ -4087,19 +4100,19 @@
4087
4100
  "additionalProperties": false,
4088
4101
  "properties": {
4089
4102
  "logpush": {
4090
- "$ref": "#/definitions/interface-769040647-14205-24567-769040647-0-585212004818536"
4103
+ "$ref": "#/definitions/interface-769040647-14205-24567-769040647-0-586662004818536"
4091
4104
  },
4092
4105
  "observability": {
4093
- "$ref": "#/definitions/interface-769040647-14205-24567-769040647-0-585212004818536"
4106
+ "$ref": "#/definitions/interface-769040647-14205-24567-769040647-0-586662004818536"
4094
4107
  },
4095
4108
  "limits": {
4096
- "$ref": "#/definitions/interface-769040647-14205-24567-769040647-0-585212004818536"
4109
+ "$ref": "#/definitions/interface-769040647-14205-24567-769040647-0-586662004818536"
4097
4110
  },
4098
4111
  "placement": {
4099
- "$ref": "#/definitions/interface-769040647-14205-24567-769040647-0-585212004818536"
4112
+ "$ref": "#/definitions/interface-769040647-14205-24567-769040647-0-586662004818536"
4100
4113
  },
4101
4114
  "cache": {
4102
- "$ref": "#/definitions/interface-769040647-14205-24567-769040647-0-585212004818536"
4115
+ "$ref": "#/definitions/interface-769040647-14205-24567-769040647-0-586662004818536"
4103
4116
  },
4104
4117
  "define": {
4105
4118
  "type": "object",
@@ -5200,8 +5213,8 @@
5200
5213
  },
5201
5214
  "remote": {
5202
5215
  "type": "boolean",
5203
- "description": "Set to `true` to suppress the remote binding warning in local dev. Flagship bindings are always remote.",
5204
- "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."
5205
5218
  }
5206
5219
  },
5207
5220
  "required": [
@@ -5381,7 +5394,7 @@
5381
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`",
5382
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`"
5383
5396
  },
5384
- "interface-769040647-14205-24567-769040647-0-585212004818536": {
5397
+ "interface-769040647-14205-24567-769040647-0-586662004818536": {
5385
5398
  "type": "object",
5386
5399
  "properties": {
5387
5400
  "name": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wrangler",
3
- "version": "4.133.0",
3
+ "version": "4.135.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.20260916.1",
74
+ "workerd": "1.20260918.1",
75
75
  "@cloudflare/kv-asset-handler": "0.5.0",
76
76
  "@cloudflare/unenv-preset": "2.16.1",
77
- "miniflare": "5.20260916.0-alpha"
77
+ "miniflare": "5.20260918.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.20260916.1",
84
+ "@cloudflare/workers-types": "^5.20260918.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.4.7",
165
- "@cloudflare/build-output-utils": "0.5.1",
166
- "@cloudflare/cli-shared-helpers": "0.1.32",
167
- "@cloudflare/config": "0.13.0",
168
- "@cloudflare/containers-shared": "0.16.4",
169
- "@cloudflare/deploy-helpers": "0.12.1",
170
- "@cloudflare/pages-shared": "^0.13.183",
164
+ "@cloudflare/autoconfig": "0.5.1",
165
+ "@cloudflare/build-output-utils": "0.6.0",
166
+ "@cloudflare/containers-shared": "0.17.0",
167
+ "@cloudflare/cli-shared-helpers": "0.1.34",
168
+ "@cloudflare/config": "0.15.0",
169
+ "@cloudflare/deploy-helpers": "0.13.0",
171
170
  "@cloudflare/pages-functions": "0.1.0",
172
- "@cloudflare/remote-bindings": "0.0.26",
173
- "@cloudflare/runtime-types": "0.0.28",
171
+ "@cloudflare/remote-bindings": "0.0.28",
172
+ "@cloudflare/runtime-types": "0.0.30",
173
+ "@cloudflare/workers-auth": "0.7.3",
174
+ "@cloudflare/workers-shared": "0.19.9",
174
175
  "@cloudflare/shared-ast-primitives": "1.1.0",
175
- "@cloudflare/workers-auth": "0.7.1",
176
+ "@cloudflare/workers-utils": "0.40.1",
176
177
  "@cloudflare/workers-tsconfig": "0.0.0",
177
- "@cloudflare/workers-shared": "0.19.9",
178
- "@cloudflare/workers-utils": "0.39.1",
179
- "@cloudflare/workflows-shared": "0.14.0"
178
+ "@cloudflare/workflows-shared": "0.14.0",
179
+ "@cloudflare/pages-shared": "^0.13.185"
180
180
  },
181
181
  "peerDependencies": {
182
- "@cloudflare/workers-types": "^5.20260916.1"
182
+ "@cloudflare/workers-types": "^5.20260918.1"
183
183
  },
184
184
  "peerDependenciesMeta": {
185
185
  "@cloudflare/workers-types": {
@@ -7,7 +7,7 @@ import { Metafile } from 'esbuild';
7
7
  import Protocol from 'devtools-protocol/types/protocol-mapping';
8
8
  import Protocol$1 from 'devtools-protocol';
9
9
  import { EventEmitter } from 'node:events';
10
- import { ContainerNormalizedConfig } from '@cloudflare/containers-shared';
10
+ import { ContainerNormalizedConfig, ContainerDevPlan } from '@cloudflare/containers-shared';
11
11
  import { Rpc, ExportedHandler, DurableObjectNamespace, D1Database, Workflow, Service } from '@cloudflare/workers-types';
12
12
  import { FetcherScheduledOptions, FetcherScheduledResult, IncomingRequestCfProperties } from '@cloudflare/workers-types/experimental';
13
13
  import { RouterConfig, AssetConfig } from '@cloudflare/workers-shared';
@@ -402,6 +402,7 @@ type StartDevWorkerOptions = Omit<StartDevWorkerInput, "assets" | "config" | "co
402
402
  entrypoint: string;
403
403
  assets?: AssetsOptions$1;
404
404
  containers?: ContainerNormalizedConfig[];
405
+ containerDevPlan?: ContainerDevPlan;
405
406
  name: string;
406
407
  complianceRegion: Config$1["compliance_region"];
407
408
  };
@@ -1116,6 +1117,7 @@ type ReadConfigCommandArgs = NormalizeAndValidateConfigArgs & {
1116
1117
  };
1117
1118
  type ReadConfigOptions = ResolveConfigPathOptions & {
1118
1119
  hideWarnings?: boolean;
1120
+ isPreview?: boolean;
1119
1121
  preserveOriginalMain?: boolean;
1120
1122
  };
1121
1123
 
@@ -2742,7 +2744,7 @@ interface EnvironmentNonInheritable {
2742
2744
  binding: string;
2743
2745
  /** The Flagship app ID to bind to. */
2744
2746
  app_id?: string;
2745
- /** Set to `true` to suppress the remote binding warning in local dev. Flagship bindings are always remote. */
2747
+ /** Set to `true` to evaluate flags against the remote Flagship app during local dev, instead of the local simulator. */
2746
2748
  remote?: boolean;
2747
2749
  }[];
2748
2750
  /**
@@ -2892,6 +2894,11 @@ interface Observability {
2892
2894
  * @default false
2893
2895
  */
2894
2896
  redact_query_string?: boolean;
2897
+ /** Real-time Issues settings for this Worker. */
2898
+ issues?: {
2899
+ /** Whether real-time Issues are enabled. */
2900
+ enabled?: boolean;
2901
+ };
2895
2902
  logs?: {
2896
2903
  enabled?: boolean;
2897
2904
  /** The sampling rate */
@@ -3470,6 +3477,7 @@ interface DevArgs {
3470
3477
  }
3471
3478
  interface BuildArgs {
3472
3479
  mode?: string;
3480
+ preview?: boolean;
3473
3481
  }
3474
3482
  declare class ArgParseError extends Error {
3475
3483
  constructor(message: string);