wrangler 4.78.0 → 4.79.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.78.0",
3
+ "version": "4.79.0",
4
4
  "description": "Command-line interface for all things Cloudflare Workers",
5
5
  "keywords": [
6
6
  "assembly",
@@ -54,23 +54,22 @@
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.20260317.1",
57
+ "workerd": "1.20260329.1",
58
58
  "@cloudflare/kv-asset-handler": "0.4.2",
59
59
  "@cloudflare/unenv-preset": "2.16.0",
60
- "miniflare": "4.20260317.3"
60
+ "miniflare": "4.20260329.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.20260317.1",
66
+ "@cloudflare/workers-types": "^4.20260329.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",
70
70
  "@sentry/types": "^7.86.0",
71
71
  "@sentry/utils": "^7.86.0",
72
72
  "@types/command-exists": "^1.2.0",
73
- "@types/cross-spawn": "^6.0.2",
74
73
  "@types/esprima": "^4.0.3",
75
74
  "@types/glob-to-regexp": "^0.4.1",
76
75
  "@types/javascript-time-ago": "^2.0.3",
@@ -98,7 +97,6 @@
98
97
  "cmd-shim": "^4.1.0",
99
98
  "command-exists": "^1.2.9",
100
99
  "concurrently": "^8.2.2",
101
- "cross-spawn": "^7.0.3",
102
100
  "date-fns": "^4.1.0",
103
101
  "devtools-protocol": "^0.0.1182435",
104
102
  "dotenv": "^16.3.1",
@@ -146,16 +144,17 @@
146
144
  "xxhash-wasm": "^1.0.1",
147
145
  "yaml": "^2.8.1",
148
146
  "yargs": "^17.7.2",
147
+ "@cloudflare/cli": "1.3.0",
148
+ "@cloudflare/codemod": "1.1.0",
149
149
  "@cloudflare/containers-shared": "0.13.1",
150
- "@cloudflare/cli": "1.2.1",
150
+ "@cloudflare/pages-shared": "^0.13.120",
151
151
  "@cloudflare/workers-shared": "0.19.1",
152
- "@cloudflare/pages-shared": "^0.13.119",
153
152
  "@cloudflare/workers-tsconfig": "0.0.0",
154
- "@cloudflare/workflows-shared": "0.7.1",
155
- "@cloudflare/workers-utils": "0.14.0"
153
+ "@cloudflare/workers-utils": "0.14.0",
154
+ "@cloudflare/workflows-shared": "0.7.2"
156
155
  },
157
156
  "peerDependencies": {
158
- "@cloudflare/workers-types": "^4.20260317.1"
157
+ "@cloudflare/workers-types": "^4.20260329.1"
159
158
  },
160
159
  "peerDependenciesMeta": {
161
160
  "@cloudflare/workers-types": {
@@ -2485,8 +2485,45 @@ type FrameworkInfo = {
2485
2485
  id: string;
2486
2486
  name: string;
2487
2487
  class: typeof Framework;
2488
+ } & ({
2489
+ supported: false;
2490
+ } | {
2491
+ supported: true;
2492
+ frameworkPackageInfo: AutoConfigFrameworkPackageInfo;
2493
+ });
2494
+ /**
2495
+ * AutoConfig information for a package that defines a framework.
2496
+ */
2497
+ type AutoConfigFrameworkPackageInfo = {
2498
+ /** The package name (e.g. "astro" for the Astro framework and "@solidjs/start" for the SolidStart framework) */
2499
+ name: string;
2500
+ /** The minimum version (if any) of the package/framework that autoconfig supports */
2501
+ minimumVersion: string;
2502
+ /** The latest major version of the package/framework that autoconfig supports */
2503
+ maximumKnownMajorVersion: string;
2488
2504
  };
2489
2505
 
2506
+ declare abstract class Framework {
2507
+ #private;
2508
+ readonly id: FrameworkInfo["id"];
2509
+ readonly name: FrameworkInfo["name"];
2510
+ get frameworkVersion(): string;
2511
+ constructor(frameworkInfo: Pick<FrameworkInfo, "id" | "name">);
2512
+ isConfigured(_projectPath: string): boolean;
2513
+ abstract configure(options: ConfigurationOptions): Promise<ConfigurationResults> | ConfigurationResults;
2514
+ configurationDescription?: string;
2515
+ /**
2516
+ * Validates the installed framework version against the supported range and
2517
+ * stores it for later access via the `frameworkVersion` getter.
2518
+ * Warns via `logger` if the version exceeds `maximumKnownMajorVersion`.
2519
+ *
2520
+ * @param projectPath - Path to the project root used to resolve the installed version.
2521
+ * @param frameworkPackageInfo - Package metadata including name and version bounds.
2522
+ * @throws {AssertionError} If the installed version cannot be determined.
2523
+ * @throws {AutoConfigFrameworkConfigurationError} If the version is below `minimumVersion`.
2524
+ */
2525
+ validateFrameworkVersion(projectPath: string, frameworkPackageInfo: AutoConfigFrameworkPackageInfo): void;
2526
+ }
2490
2527
  type ConfigurationOptions = {
2491
2528
  outputDir: string;
2492
2529
  projectPath: string;
@@ -2508,15 +2545,6 @@ type ConfigurationResults = {
2508
2545
  deployCommandOverride?: string;
2509
2546
  versionCommandOverride?: string;
2510
2547
  };
2511
- declare abstract class Framework {
2512
- readonly id: string;
2513
- readonly name: string;
2514
- constructor(frameworkInfo: Pick<FrameworkInfo, "id" | "name">);
2515
- isConfigured(_projectPath: string): boolean;
2516
- abstract configure(options: ConfigurationOptions): Promise<ConfigurationResults> | ConfigurationResults;
2517
- configurationDescription?: string;
2518
- autoConfigSupported: boolean;
2519
- }
2520
2548
 
2521
2549
  type AutoConfigDetailsBase = {
2522
2550
  /** The name of the worker */
@@ -2872,6 +2900,7 @@ type Teams =
2872
2900
  | "Product: D1"
2873
2901
  | "Product: Queues"
2874
2902
  | "Product: AI"
2903
+ | "Product: AI Search"
2875
2904
  | "Product: Hyperdrive"
2876
2905
  | "Product: Pipelines"
2877
2906
  | "Product: Vectorize"