wrangler 4.81.0 → 4.82.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wrangler",
3
- "version": "4.81.0",
3
+ "version": "4.82.0",
4
4
  "description": "Command-line interface for all things Cloudflare Workers",
5
5
  "keywords": [
6
6
  "assembly",
@@ -54,16 +54,16 @@
54
54
  "esbuild": "0.27.3",
55
55
  "path-to-regexp": "6.3.0",
56
56
  "unenv": "2.0.0-rc.24",
57
- "workerd": "1.20260405.1",
57
+ "workerd": "1.20260410.1",
58
58
  "@cloudflare/kv-asset-handler": "0.4.2",
59
59
  "@cloudflare/unenv-preset": "2.16.0",
60
- "miniflare": "4.20260405.0"
60
+ "miniflare": "4.20260410.0"
61
61
  },
62
62
  "devDependencies": {
63
63
  "@aws-sdk/client-s3": "^3.721.0",
64
64
  "@bomb.sh/tab": "^0.0.12",
65
65
  "@cloudflare/types": "6.18.4",
66
- "@cloudflare/workers-types": "^4.20260405.1",
66
+ "@cloudflare/workers-types": "^4.20260410.1",
67
67
  "@cspotcode/source-map-support": "0.8.1",
68
68
  "@netlify/build-info": "^10.2.0",
69
69
  "@sentry/node": "^7.86.0",
@@ -117,7 +117,7 @@
117
117
  "mock-socket": "^9.3.1",
118
118
  "msw": "2.12.4",
119
119
  "node-forge": "^1.3.2",
120
- "open": "^8.4.0",
120
+ "open": "^11.0.0",
121
121
  "p-queue": "^9.0.0",
122
122
  "patch-console": "^1.0.0",
123
123
  "pretty-bytes": "^6.0.0",
@@ -147,14 +147,14 @@
147
147
  "@cloudflare/cli": "1.4.0",
148
148
  "@cloudflare/codemod": "1.1.0",
149
149
  "@cloudflare/containers-shared": "0.13.1",
150
- "@cloudflare/pages-shared": "^0.13.122",
150
+ "@cloudflare/pages-shared": "^0.13.124",
151
151
  "@cloudflare/workers-shared": "0.19.1",
152
- "@cloudflare/workers-tsconfig": "0.0.0",
153
- "@cloudflare/workflows-shared": "0.8.0",
154
- "@cloudflare/workers-utils": "0.15.0"
152
+ "@cloudflare/workers-utils": "0.16.0",
153
+ "@cloudflare/workflows-shared": "0.9.0",
154
+ "@cloudflare/workers-tsconfig": "0.0.0"
155
155
  },
156
156
  "peerDependencies": {
157
- "@cloudflare/workers-types": "^4.20260405.1"
157
+ "@cloudflare/workers-types": "^4.20260410.1"
158
158
  },
159
159
  "peerDependenciesMeta": {
160
160
  "@cloudflare/workers-types": {
@@ -1392,6 +1392,18 @@ interface EnvironmentInheritable {
1392
1392
  */
1393
1393
  exclude: string[];
1394
1394
  };
1395
+ /**
1396
+ * Configuration for Worker Previews.
1397
+ *
1398
+ * Previews are branches of your Worker's main instance used to test features
1399
+ * in development outside of production. This block defines the settings
1400
+ * used when creating Preview deployments via `wrangler preview`.
1401
+ *
1402
+ * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#previews
1403
+ *
1404
+ * @inheritable
1405
+ */
1406
+ previews: PreviewsConfig | undefined;
1395
1407
  }
1396
1408
  type DurableObjectBindings = {
1397
1409
  /** The name of the binding used to refer to the Durable Object */
@@ -2012,6 +2024,23 @@ interface EnvironmentNonInheritable {
2012
2024
  /** Whether the timer is enabled */
2013
2025
  enable_timer?: boolean;
2014
2026
  }[];
2027
+ /**
2028
+ * Specifies Flagship feature flag bindings that are bound to this Worker environment.
2029
+ *
2030
+ * NOTE: This field is not automatically inherited from the top level environment,
2031
+ * and so must be specified in every named environment.
2032
+ *
2033
+ * @default []
2034
+ * @nonInheritable
2035
+ */
2036
+ flagship: {
2037
+ /** The binding name used to refer to the bound Flagship service. */
2038
+ binding: string;
2039
+ /** The Flagship app ID to bind to. */
2040
+ app_id: string;
2041
+ /** Whether to use the remote Flagship service for flag evaluation in local dev. */
2042
+ remote?: boolean;
2043
+ }[];
2015
2044
  /**
2016
2045
  * Specifies rate limit bindings that are bound to this Worker environment.
2017
2046
  *
@@ -2203,6 +2232,21 @@ type DockerConfiguration = {
2203
2232
  type ContainerEngine = {
2204
2233
  localDocker: DockerConfiguration;
2205
2234
  } | string;
2235
+ /**
2236
+ * Configuration for Worker Previews.
2237
+ *
2238
+ * This defines the settings used when creating Preview deployments.
2239
+ * Previews are branches of your Worker's main instance used to test features
2240
+ * during feature development outside of production.
2241
+ *
2242
+ * The `previews` block contains any intentionally divergent configuration intended solely for Previews, including:
2243
+ * - All non-inheritable properties (environment variables and bindings like KV, D1, R2, etc.)
2244
+ * - Select inheritable properties: `logpush`, `observability`, `limits`
2245
+ *
2246
+ * @inheritable
2247
+ */
2248
+ interface PreviewsConfig extends EnvironmentNonInheritable, Pick<EnvironmentInheritable, "logpush" | "observability" | "limits"> {
2249
+ }
2206
2250
 
2207
2251
  /**
2208
2252
  * This is the static type definition for the configuration object.
@@ -2931,7 +2975,8 @@ type Teams =
2931
2975
  | "Product: SSL"
2932
2976
  | "Product: WVPC"
2933
2977
  | "Product: Tunnels"
2934
- | "Product: Email Service";
2978
+ | "Product: Email Service"
2979
+ | "Product: Browser Rendering";
2935
2980
 
2936
2981
  /** Convert literal string types like 'foo-bar' to 'FooBar' */
2937
2982
  type PascalCase<S extends string> = string extends S ? string : S extends `${infer T}-${infer U}` ? `${Capitalize<T>}${PascalCase<U>}` : Capitalize<S>;