wrangler 4.147.0 → 4.149.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.
@@ -125,6 +125,7 @@ function createDevOptions(parsedArgs) {
125
125
  containerEngine: undefined,
126
126
  tunnel: undefined,
127
127
  tunnelName: undefined,
128
+ tunnelAllowedMail: undefined,
128
129
  envFile: undefined,
129
130
  onReady: undefined,
130
131
  };
@@ -1858,8 +1858,8 @@
1858
1858
  "items": {
1859
1859
  "type": "string"
1860
1860
  },
1861
- "description": "The inbound email addresses handled by the Worker being deployed.\n\nEach entry is a literal recipient address (e.g. `\"support@example.com\"`) or a `*@domain` catch-all (e.g. `\"*@example.com\"`). Every entry creates an Email Routing rule whose action routes mail to this Worker.\n\nThis field is top-level only and applies to every environment of the Worker; it cannot be set under `env.*`.",
1862
- "markdownDescription": "The inbound email addresses handled by the Worker being deployed.\n\nEach entry is a literal recipient address (e.g. `\"support@example.com\"`)\nor a `*@domain` catch-all (e.g. `\"*@example.com\"`). Every entry creates an\nEmail Routing rule whose action routes mail to this Worker.\n\nThis field is top-level only and applies to every environment of the\nWorker; it cannot be set under `env.*`."
1861
+ "description": "The inbound email addresses handled by the Worker being deployed.\n\nEach entry is a literal recipient address (e.g. `\"support@example.com\"`) or a `*@domain` catch-all (e.g. `\"*@example.com\"`). Every entry creates an Email Routing rule whose action routes mail to this Worker.\n\nA `*@domain` catch-all must use the zone apex (e.g. `\"*@example.com\"`, not `\"*@mail.example.com\"`). The zone catch-all also receives mail for every subdomain in the zone that has no literal rule.\n\nThis field is top-level only and applies to every environment of the Worker; it cannot be set under `env.*`.",
1862
+ "markdownDescription": "The inbound email addresses handled by the Worker being deployed.\n\nEach entry is a literal recipient address (e.g. `\"support@example.com\"`)\nor a `*@domain` catch-all (e.g. `\"*@example.com\"`). Every entry creates an\nEmail Routing rule whose action routes mail to this Worker.\n\nA `*@domain` catch-all must use the zone apex (e.g. `\"*@example.com\"`,\nnot `\"*@mail.example.com\"`). The zone catch-all also receives mail for\nevery subdomain in the zone that has no literal rule.\n\nThis field is top-level only and applies to every environment of the\nWorker; it cannot be set under `env.*`."
1863
1863
  }
1864
1864
  }
1865
1865
  },
@@ -4237,6 +4237,11 @@
4237
4237
  "description": "How to handle requests that do not match an asset.",
4238
4238
  "markdownDescription": "How to handle requests that do not match an asset."
4239
4239
  },
4240
+ "base_path": {
4241
+ "type": "string",
4242
+ "description": "The public URL prefix under which the application is served, e.g. `/subpath/`.",
4243
+ "markdownDescription": "The public URL prefix under which the application is served, e.g. `/subpath/`."
4244
+ },
4240
4245
  "run_worker_first": {
4241
4246
  "anyOf": [
4242
4247
  {
@@ -4404,19 +4409,19 @@
4404
4409
  "type": "object",
4405
4410
  "properties": {
4406
4411
  "logpush": {
4407
- "$ref": "#/definitions/interface-769040647-14867-25229-769040647-0-614072004818536"
4412
+ "$ref": "#/definitions/interface-769040647-14867-25229-769040647-0-615212004818536"
4408
4413
  },
4409
4414
  "observability": {
4410
- "$ref": "#/definitions/interface-769040647-14867-25229-769040647-0-614072004818536"
4415
+ "$ref": "#/definitions/interface-769040647-14867-25229-769040647-0-615212004818536"
4411
4416
  },
4412
4417
  "limits": {
4413
- "$ref": "#/definitions/interface-769040647-14867-25229-769040647-0-614072004818536"
4418
+ "$ref": "#/definitions/interface-769040647-14867-25229-769040647-0-615212004818536"
4414
4419
  },
4415
4420
  "placement": {
4416
- "$ref": "#/definitions/interface-769040647-14867-25229-769040647-0-614072004818536"
4421
+ "$ref": "#/definitions/interface-769040647-14867-25229-769040647-0-615212004818536"
4417
4422
  },
4418
4423
  "cache": {
4419
- "$ref": "#/definitions/interface-769040647-14867-25229-769040647-0-614072004818536"
4424
+ "$ref": "#/definitions/interface-769040647-14867-25229-769040647-0-615212004818536"
4420
4425
  },
4421
4426
  "define": {
4422
4427
  "type": "object",
@@ -5781,7 +5786,7 @@
5781
5786
  "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`",
5782
5787
  "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`"
5783
5788
  },
5784
- "interface-769040647-14867-25229-769040647-0-614072004818536": {
5789
+ "interface-769040647-14867-25229-769040647-0-615212004818536": {
5785
5790
  "type": "object",
5786
5791
  "properties": {
5787
5792
  "name": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wrangler",
3
- "version": "4.147.0",
3
+ "version": "4.149.0",
4
4
  "description": "Command-line interface for all things Cloudflare Workers",
5
5
  "keywords": [
6
6
  "assembly",
@@ -68,20 +68,20 @@
68
68
  },
69
69
  "dependencies": {
70
70
  "blake3-wasm": "2.1.5",
71
- "esbuild": "0.28.1",
71
+ "esbuild": "0.28.2",
72
72
  "path-to-regexp": "6.3.0",
73
73
  "unenv": "2.0.0-rc.24",
74
- "workerd": "1.20261001.1",
75
- "@cloudflare/kv-asset-handler": "0.5.0",
74
+ "workerd": "1.20261006.1",
76
75
  "@cloudflare/unenv-preset": "2.16.2",
77
- "miniflare": "5.20261001.0-alpha"
76
+ "@cloudflare/kv-asset-handler": "0.5.0",
77
+ "miniflare": "5.20261006.1-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.20261001.1",
84
+ "@cloudflare/workers-types": "^5.20261006.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",
@@ -160,26 +160,26 @@
160
160
  "xxhash-wasm": "^1.0.1",
161
161
  "yaml": "^2.8.1",
162
162
  "yargs": "^17.7.2",
163
- "zod": "4.4.3",
164
- "@cloudflare/build-output-utils": "0.8.5",
165
- "@cloudflare/autoconfig": "0.7.5",
166
- "@cloudflare/cli-shared-helpers": "0.2.3",
167
- "@cloudflare/config": "0.23.0",
168
- "@cloudflare/containers-shared": "0.21.3",
169
- "@cloudflare/deploy-helpers": "0.19.2",
170
- "@cloudflare/pages-functions": "0.1.0",
171
- "@cloudflare/pages-shared": "^0.13.193",
172
- "@cloudflare/remote-bindings": "0.0.43",
173
- "@cloudflare/runtime-types": "0.1.7",
163
+ "zod": "4.6.5",
164
+ "@cloudflare/autoconfig": "0.7.7",
165
+ "@cloudflare/cli-shared-helpers": "0.2.5",
166
+ "@cloudflare/build-output-utils": "0.9.0",
167
+ "@cloudflare/config": "0.24.1",
168
+ "@cloudflare/containers-shared": "0.21.5",
169
+ "@cloudflare/pages-functions": "0.1.1",
170
+ "@cloudflare/remote-bindings": "0.0.45",
171
+ "@cloudflare/runtime-types": "0.1.9",
172
+ "@cloudflare/deploy-helpers": "0.20.1",
174
173
  "@cloudflare/shared-ast-primitives": "1.1.0",
175
- "@cloudflare/workers-auth": "0.12.0",
176
- "@cloudflare/workers-shared": "0.20.0",
174
+ "@cloudflare/pages-shared": "^0.13.195",
175
+ "@cloudflare/workers-auth": "0.13.1",
176
+ "@cloudflare/workers-shared": "0.20.1",
177
+ "@cloudflare/workers-utils": "0.47.1",
177
178
  "@cloudflare/workers-tsconfig": "0.0.0",
178
- "@cloudflare/workers-utils": "0.46.0",
179
- "@cloudflare/workflows-shared": "0.15.0"
179
+ "@cloudflare/workflows-shared": "0.15.1"
180
180
  },
181
181
  "peerDependencies": {
182
- "@cloudflare/workers-types": "^5.20261001.1"
182
+ "@cloudflare/workers-types": "^5.20261006.1"
183
183
  },
184
184
  "peerDependenciesMeta": {
185
185
  "@cloudflare/workers-types": {
@@ -688,6 +688,7 @@ declare const dev: {
688
688
  types: boolean | undefined;
689
689
  tunnel: boolean | undefined;
690
690
  tunnelName: string | undefined;
691
+ tunnelAllowedMail: string[] | undefined;
691
692
  experimentalNewConfig: boolean;
692
693
  _: (string | number)[];
693
694
  $0: string;
@@ -2948,6 +2949,10 @@ type Assets = {
2948
2949
  html_handling?: "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | "none";
2949
2950
  /** How to handle requests that do not match an asset. */
2950
2951
  not_found_handling?: "single-page-application" | "404-page" | "none";
2952
+ /**
2953
+ * The public URL prefix under which the application is served, e.g. `/subpath/`.
2954
+ */
2955
+ base_path?: string;
2951
2956
  /**
2952
2957
  * Matches will be routed to the User Worker, and matches to negative rules will go to the Asset Worker.
2953
2958
  *
@@ -3229,6 +3234,10 @@ interface ConfigFields<Dev extends RawDevConfig> {
3229
3234
  * or a `*@domain` catch-all (e.g. `"*@example.com"`). Every entry creates an
3230
3235
  * Email Routing rule whose action routes mail to this Worker.
3231
3236
  *
3237
+ * A `*@domain` catch-all must use the zone apex (e.g. `"*@example.com"`,
3238
+ * not `"*@mail.example.com"`). The zone catch-all also receives mail for
3239
+ * every subdomain in the zone that has no literal rule.
3240
+ *
3232
3241
  * This field is top-level only and applies to every environment of the
3233
3242
  * Worker; it cannot be set under `env.*`.
3234
3243
  *
@@ -3833,9 +3842,11 @@ type CommandDefinition<NamedArgDefs extends NamedArgDefinitions = NamedArgDefini
3833
3842
  suggestSkillsAfterHandler?: boolean | ((args: HandlerArgs<NamedArgDefs>) => boolean);
3834
3843
  /**
3835
3844
  * Whether this command can authenticate with a temporary preview account
3836
- * (via the hidden `--temporary` flag) when no real credentials are available.
3837
- * Only enable this for commands whose API calls are covered by the temporary
3838
- * preview-account deploy token (Workers, KV, D1, Hyperdrive, Queues, SSL/Certs).
3845
+ * (via the hidden `--temporary` and `--event-code` flags) when no real
3846
+ * credentials are available. Only enable this for commands whose API calls
3847
+ * are covered by the temporary preview-account deploy token (Workers, KV,
3848
+ * D1, Hyperdrive, Queues, SSL/Certs). R2 and Containers commands are also
3849
+ * enabled, but only work on event accounts created with `--event-code`.
3839
3850
  * @default false
3840
3851
  */
3841
3852
  supportTemporary?: boolean;