wrangler 4.16.0 → 4.17.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.
@@ -240,6 +240,14 @@
240
240
  "$ref": "#/definitions/Observability",
241
241
  "description": "Specify the observability behavior of the Worker.\n\nFor reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#observability"
242
242
  },
243
+ "compliance_region": {
244
+ "type": "string",
245
+ "enum": [
246
+ "public",
247
+ "fedramp_high"
248
+ ],
249
+ "description": "Specify the compliance region mode of the Worker.\n\nAlthough if the user does not specify a compliance region, the default is `public`, it can be set to `undefined` in configuration to delegate to the CLOUDFLARE_COMPLIANCE_REGION environment variable."
250
+ },
243
251
  "define": {
244
252
  "type": "object",
245
253
  "additionalProperties": {
@@ -1192,6 +1200,14 @@
1192
1200
  "$ref": "#/definitions/Observability",
1193
1201
  "description": "Specify the observability behavior of the Worker.\n\nFor reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#observability"
1194
1202
  },
1203
+ "compliance_region": {
1204
+ "type": "string",
1205
+ "enum": [
1206
+ "public",
1207
+ "fedramp_high"
1208
+ ],
1209
+ "description": "Specify the compliance region mode of the Worker.\n\nAlthough if the user does not specify a compliance region, the default is `public`, it can be set to `undefined` in configuration to delegate to the CLOUDFLARE_COMPLIANCE_REGION environment variable."
1210
+ },
1195
1211
  "define": {
1196
1212
  "type": "object",
1197
1213
  "additionalProperties": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wrangler",
3
- "version": "4.16.0",
3
+ "version": "4.17.0",
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.20250508.0",
58
+ "workerd": "1.20250523.0",
59
59
  "@cloudflare/kv-asset-handler": "0.4.0",
60
- "miniflare": "4.20250508.3"
60
+ "miniflare": "4.20250523.0"
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.20250508.0",
65
+ "@cloudflare/workers-types": "^4.20250523.0",
66
66
  "@cspotcode/source-map-support": "0.8.1",
67
67
  "@iarna/toml": "^3.0.0",
68
68
  "@microsoft/api-extractor": "^7.47.0",
@@ -135,14 +135,14 @@
135
135
  "xdg-app-paths": "^8.3.0",
136
136
  "xxhash-wasm": "^1.0.1",
137
137
  "yargs": "^17.7.2",
138
- "@cloudflare/cli": "1.1.1",
139
138
  "@cloudflare/eslint-config-worker": "1.1.0",
140
- "@cloudflare/pages-shared": "^0.13.40",
139
+ "@cloudflare/pages-shared": "^0.13.41",
141
140
  "@cloudflare/workers-shared": "0.17.5",
142
- "@cloudflare/workers-tsconfig": "0.0.0"
141
+ "@cloudflare/workers-tsconfig": "0.0.0",
142
+ "@cloudflare/cli": "1.1.1"
143
143
  },
144
144
  "peerDependencies": {
145
- "@cloudflare/workers-types": "^4.20250508.0"
145
+ "@cloudflare/workers-types": "^4.20250523.0"
146
146
  },
147
147
  "peerDependenciesMeta": {
148
148
  "@cloudflare/workers-types": {
@@ -150,8 +150,7 @@
150
150
  }
151
151
  },
152
152
  "optionalDependencies": {
153
- "fsevents": "~2.3.2",
154
- "sharp": "^0.33.5"
153
+ "fsevents": "~2.3.2"
155
154
  },
156
155
  "engines": {
157
156
  "node": ">=18.0.0"
@@ -1205,14 +1205,14 @@ declare function deploy({ directory, accountId, projectName, branch, skipCaching
1205
1205
  type: string;
1206
1206
  };
1207
1207
  latest_stage: {
1208
- status: "canceled" | "active" | "idle" | "success" | "failure" | "skipped";
1209
1208
  name: "queued" | "build" | "deploy" | "initialize" | "clone_repo";
1209
+ status: "canceled" | "active" | "idle" | "success" | "failure" | "skipped";
1210
1210
  started_on: string | null;
1211
1211
  ended_on: string | null;
1212
1212
  };
1213
1213
  stages: {
1214
- status: "canceled" | "active" | "idle" | "success" | "failure" | "skipped";
1215
1214
  name: "queued" | "build" | "deploy" | "initialize" | "clone_repo";
1215
+ status: "canceled" | "active" | "idle" | "success" | "failure" | "skipped";
1216
1216
  started_on: string | null;
1217
1217
  ended_on: string | null;
1218
1218
  }[];
@@ -1942,6 +1942,13 @@ declare interface EnvironmentInheritable {
1942
1942
  * @inheritable
1943
1943
  */
1944
1944
  observability: Observability | undefined;
1945
+ /**
1946
+ * Specify the compliance region mode of the Worker.
1947
+ *
1948
+ * Although if the user does not specify a compliance region, the default is `public`,
1949
+ * it can be set to `undefined` in configuration to delegate to the CLOUDFLARE_COMPLIANCE_REGION environment variable.
1950
+ */
1951
+ compliance_region: "public" | "fedramp_high" | undefined;
1945
1952
  }
1946
1953
 
1947
1954
  declare interface EnvironmentMap {
@@ -2643,7 +2650,9 @@ export declare const experimental_readRawConfig: (args: ReadConfigCommandArgs, o
2643
2650
  };
2644
2651
 
2645
2652
  export declare function experimental_startMixedModeSession(bindings: BindingsOpt, options?: {
2646
- auth: NonNullable<StartDevWorkerInput["dev"]>["auth"];
2653
+ auth?: NonNullable<StartDevWorkerInput["dev"]>["auth"];
2654
+ /** If running in a non-public compliance region, set this here. */
2655
+ complianceRegion?: Unstable_Config["compliance_region"];
2647
2656
  }): Promise<MixedModeSession>;
2648
2657
 
2649
2658
  declare function fetch_2 (
@@ -26250,6 +26259,8 @@ declare interface StartDevWorkerInput {
26250
26259
  compatibilityDate?: string;
26251
26260
  /** The compatibility flags for the workerd runtime. */
26252
26261
  compatibilityFlags?: string[];
26262
+ /** Specify the compliance region mode of the Worker. */
26263
+ complianceRegion?: Unstable_Config["compliance_region"];
26253
26264
  env?: string;
26254
26265
  /** The bindings available to the worker. The specified bindind type will be exposed to the worker on the `env` object under the same key. */
26255
26266
  bindings?: Record<string, Binding>;
@@ -26374,6 +26385,7 @@ declare type StartDevWorkerOptions = Omit<StartDevWorkerInput, "assets"> & {
26374
26385
  entrypoint: string;
26375
26386
  assets?: AssetsOptions;
26376
26387
  name: string;
26388
+ complianceRegion: Unstable_Config["compliance_region"];
26377
26389
  };
26378
26390
 
26379
26391
  /** A faster version of `request`. */