From 8912cac52153a1d324f4e6d913c8f2cbe0d12ed4 Mon Sep 17 00:00:00 2001 From: James Opstad <13586373+jamesopstad@users.noreply.github.com> Date: Fri, 4 Jul 2025 15:27:27 +0100 Subject: [PATCH 1/4] Vite 7 changelog --- .../2025-07-04-vite-plugin-vite-7-support.mdx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/content/changelog/workers/2025-07-04-vite-plugin-vite-7-support.mdx diff --git a/src/content/changelog/workers/2025-07-04-vite-plugin-vite-7-support.mdx b/src/content/changelog/workers/2025-07-04-vite-plugin-vite-7-support.mdx new file mode 100644 index 000000000000000..fb293cce78a8156 --- /dev/null +++ b/src/content/changelog/workers/2025-07-04-vite-plugin-vite-7-support.mdx @@ -0,0 +1,14 @@ +--- +title: The Cloudflare Vite plugin now supports Vite 7 +description: The Cloudflare Vite plugin now supports Vite 7 +products: + - workers +date: 2025-07-04T01:00:00Z +--- + +[Vite 7](https://vite.dev/blog/announcing-vite7) is now supported in the Cloudflare Vite plugin. + +Note that the minimum Node.js versions supported by Vite 7 are 20.19 and 22.12. +We continue to support Vite 6 so you do not need to immediately upgrade. + +Thanks to the Vite team for mentioning our work in the [announcement blog post](https://vite.dev/blog/announcing-vite7#environment-api). From eac608423f318ee1d4e6a21df845afe68adb2fe4 Mon Sep 17 00:00:00 2001 From: James Opstad <13586373+jamesopstad@users.noreply.github.com> Date: Thu, 17 Jul 2025 14:12:28 +0100 Subject: [PATCH 2/4] Mentioned buildApp hook --- ...-support.mdx => 2025-07-17-vite-plugin-vite-7-support.mdx} | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) rename src/content/changelog/workers/{2025-07-04-vite-plugin-vite-7-support.mdx => 2025-07-17-vite-plugin-vite-7-support.mdx} (70%) diff --git a/src/content/changelog/workers/2025-07-04-vite-plugin-vite-7-support.mdx b/src/content/changelog/workers/2025-07-17-vite-plugin-vite-7-support.mdx similarity index 70% rename from src/content/changelog/workers/2025-07-04-vite-plugin-vite-7-support.mdx rename to src/content/changelog/workers/2025-07-17-vite-plugin-vite-7-support.mdx index fb293cce78a8156..2e5161c7dd9e2c5 100644 --- a/src/content/changelog/workers/2025-07-04-vite-plugin-vite-7-support.mdx +++ b/src/content/changelog/workers/2025-07-17-vite-plugin-vite-7-support.mdx @@ -3,10 +3,12 @@ title: The Cloudflare Vite plugin now supports Vite 7 description: The Cloudflare Vite plugin now supports Vite 7 products: - workers -date: 2025-07-04T01:00:00Z +date: 2025-07-17T01:00:00Z --- [Vite 7](https://vite.dev/blog/announcing-vite7) is now supported in the Cloudflare Vite plugin. +It includes a new `buildApp` hook that enables multiple plugins to coordinate building environments. +In a future release, we will utilize this to build auxiliary Workers in React Router applications. Note that the minimum Node.js versions supported by Vite 7 are 20.19 and 22.12. We continue to support Vite 6 so you do not need to immediately upgrade. From 735443e0973d7fcef663efc0d61fd09566462895 Mon Sep 17 00:00:00 2001 From: James Opstad <13586373+jamesopstad@users.noreply.github.com> Date: Wed, 23 Jul 2025 16:04:12 +0100 Subject: [PATCH 3/4] Update src/content/changelog/workers/2025-07-17-vite-plugin-vite-7-support.mdx Co-authored-by: Brendan Irvine-Broque --- .../changelog/workers/2025-07-17-vite-plugin-vite-7-support.mdx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/content/changelog/workers/2025-07-17-vite-plugin-vite-7-support.mdx b/src/content/changelog/workers/2025-07-17-vite-plugin-vite-7-support.mdx index 2e5161c7dd9e2c5..cd88c821d689756 100644 --- a/src/content/changelog/workers/2025-07-17-vite-plugin-vite-7-support.mdx +++ b/src/content/changelog/workers/2025-07-17-vite-plugin-vite-7-support.mdx @@ -13,4 +13,3 @@ In a future release, we will utilize this to build auxiliary Workers in React Ro Note that the minimum Node.js versions supported by Vite 7 are 20.19 and 22.12. We continue to support Vite 6 so you do not need to immediately upgrade. -Thanks to the Vite team for mentioning our work in the [announcement blog post](https://vite.dev/blog/announcing-vite7#environment-api). From 0591a98629ba885c085bf715d92f45c5734cd954 Mon Sep 17 00:00:00 2001 From: James Opstad <13586373+jamesopstad@users.noreply.github.com> Date: Tue, 2 Sep 2025 09:49:32 +0100 Subject: [PATCH 4/4] Link to Vite changelog --- .../workers/2025-07-17-vite-plugin-vite-7-support.mdx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/content/changelog/workers/2025-07-17-vite-plugin-vite-7-support.mdx b/src/content/changelog/workers/2025-07-17-vite-plugin-vite-7-support.mdx index cd88c821d689756..d983681bdb060c0 100644 --- a/src/content/changelog/workers/2025-07-17-vite-plugin-vite-7-support.mdx +++ b/src/content/changelog/workers/2025-07-17-vite-plugin-vite-7-support.mdx @@ -7,9 +7,7 @@ date: 2025-07-17T01:00:00Z --- [Vite 7](https://vite.dev/blog/announcing-vite7) is now supported in the Cloudflare Vite plugin. -It includes a new `buildApp` hook that enables multiple plugins to coordinate building environments. -In a future release, we will utilize this to build auxiliary Workers in React Router applications. +See the [Vite changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md#700-2025-06-24) for a list of changes. Note that the minimum Node.js versions supported by Vite 7 are 20.19 and 22.12. We continue to support Vite 6 so you do not need to immediately upgrade. -