From fc25912477f2b5720b3f6c162efd6a044924aaaa Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 14 Apr 2026 07:34:35 +0000 Subject: [PATCH] Version Packages --- .changeset/content-scripts-css-hmr.md | 5 -- .changeset/curvy-rockets-relate.md | 5 -- .changeset/eighty-insects-happen.md | 5 -- .changeset/five-impalas-turn.md | 5 -- .changeset/fix-content-scripts-css.md | 5 -- .changeset/fix-whatwg-encoding-peer-deps.md | 9 ---- .changeset/fresh-baboons-flow.md | 5 -- .changeset/moody-rivers-hope.md | 5 -- .changeset/respect-vite-manifest-setting.md | 11 ----- .changeset/rolldown-vite-plugins-fix.md | 10 ---- .changeset/shaggy-hotels-buy.md | 5 -- .changeset/slimy-lions-join.md | 5 -- .changeset/vite8-beta-support.md | 5 -- .changeset/wicked-bottles-end.md | 5 -- packages/vite-plugin/CHANGELOG.md | 51 +++++++++++++++++++++ packages/vite-plugin/package.json | 2 +- 16 files changed, 52 insertions(+), 86 deletions(-) delete mode 100644 .changeset/content-scripts-css-hmr.md delete mode 100644 .changeset/curvy-rockets-relate.md delete mode 100644 .changeset/eighty-insects-happen.md delete mode 100644 .changeset/five-impalas-turn.md delete mode 100644 .changeset/fix-content-scripts-css.md delete mode 100644 .changeset/fix-whatwg-encoding-peer-deps.md delete mode 100644 .changeset/fresh-baboons-flow.md delete mode 100644 .changeset/moody-rivers-hope.md delete mode 100644 .changeset/respect-vite-manifest-setting.md delete mode 100644 .changeset/rolldown-vite-plugins-fix.md delete mode 100644 .changeset/shaggy-hotels-buy.md delete mode 100644 .changeset/slimy-lions-join.md delete mode 100644 .changeset/vite8-beta-support.md delete mode 100644 .changeset/wicked-bottles-end.md diff --git a/.changeset/content-scripts-css-hmr.md b/.changeset/content-scripts-css-hmr.md deleted file mode 100644 index b62ae63bf..000000000 --- a/.changeset/content-scripts-css-hmr.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@crxjs/vite-plugin': minor ---- - -feat: add HMR support for CSS declared in manifest content_scripts diff --git a/.changeset/curvy-rockets-relate.md b/.changeset/curvy-rockets-relate.md deleted file mode 100644 index f2e9ea568..000000000 --- a/.changeset/curvy-rockets-relate.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@crxjs/vite-plugin": minor ---- - -add: browser_specific_settings.gecko properties diff --git a/.changeset/eighty-insects-happen.md b/.changeset/eighty-insects-happen.md deleted file mode 100644 index 7ad3fa348..000000000 --- a/.changeset/eighty-insects-happen.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@crxjs/vite-plugin": patch ---- - -ci: migrate release workflow to npm trusted publishers diff --git a/.changeset/five-impalas-turn.md b/.changeset/five-impalas-turn.md deleted file mode 100644 index 51638210c..000000000 --- a/.changeset/five-impalas-turn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@crxjs/vite-plugin": patch ---- - -fix: sanitize colons from output filenames on Windows diff --git a/.changeset/fix-content-scripts-css.md b/.changeset/fix-content-scripts-css.md deleted file mode 100644 index 6e20b56de..000000000 --- a/.changeset/fix-content-scripts-css.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@crxjs/vite-plugin': patch ---- - -fix: copy CSS files declared in manifest content_scripts to output diff --git a/.changeset/fix-whatwg-encoding-peer-deps.md b/.changeset/fix-whatwg-encoding-peer-deps.md deleted file mode 100644 index 0c5212a26..000000000 --- a/.changeset/fix-whatwg-encoding-peer-deps.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@crxjs/vite-plugin': patch ---- - -Replace cheerio with node-html-parser to fix npm deprecation warning for -whatwg-encoding. - -Also adds explicit vite peerDependency declaration (^3.0.0 through ^7.0.0) to -enable proper version resolution when used with different vite versions. diff --git a/.changeset/fresh-baboons-flow.md b/.changeset/fresh-baboons-flow.md deleted file mode 100644 index f68ccc12f..000000000 --- a/.changeset/fresh-baboons-flow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@crxjs/vite-plugin": patch ---- - -ci: run compat tests against stable Vite 8, make the vite8 available as a peer dependency diff --git a/.changeset/moody-rivers-hope.md b/.changeset/moody-rivers-hope.md deleted file mode 100644 index 939a1f9a6..000000000 --- a/.changeset/moody-rivers-hope.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@crxjs/vite-plugin": patch ---- - -fix: UnoCSS/TailwindCSS HMR issues with virtual CSS modules diff --git a/.changeset/respect-vite-manifest-setting.md b/.changeset/respect-vite-manifest-setting.md deleted file mode 100644 index e4700db21..000000000 --- a/.changeset/respect-vite-manifest-setting.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"@crxjs/vite-plugin": patch ---- - -fix: respect user's build.manifest setting in Vite 4+ - -When users set `build.manifest: false` in their Vite config, the Vite manifest file (`.vite/manifest.json` in Vite 5+, or `manifest.json` in older versions) is now properly removed from the output bundle. - -CRXJS internally requires the Vite manifest to derive content script resources during build, so it forces `build.manifest: true`. Previously, this meant the Vite manifest was always included in the output even if the user explicitly disabled it. Now, CRXJS removes the manifest from the bundle after processing if the user didn't want it. - -Closes #1077 diff --git a/.changeset/rolldown-vite-plugins-fix.md b/.changeset/rolldown-vite-plugins-fix.md deleted file mode 100644 index c44aad4bc..000000000 --- a/.changeset/rolldown-vite-plugins-fix.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -'@crxjs/vite-plugin': minor ---- - -Fix "TypeError: plugins is not iterable" error when using rolldown-vite (Vite -7). - -In rolldown-vite, the buildStart hook doesn't receive options.plugins. This fix -uses the configResolved hook to get plugins from the resolved config, with -buildStart kept as a fallback for older Vite versions. diff --git a/.changeset/shaggy-hotels-buy.md b/.changeset/shaggy-hotels-buy.md deleted file mode 100644 index e9c7ff48c..000000000 --- a/.changeset/shaggy-hotels-buy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@crxjs/vite-plugin': minor ---- - -Fixed [#852](https://github.com/crxjs/chrome-extension-tools/issues/852), the plugin now emits a correct URL in `service-worker-loader.js` when the Vite option `server.https` is enabled. diff --git a/.changeset/slimy-lions-join.md b/.changeset/slimy-lions-join.md deleted file mode 100644 index 78cc482fe..000000000 --- a/.changeset/slimy-lions-join.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@crxjs/vite-plugin": minor ---- - -fix: resolve TypeScript types correctly for ESM and CJS consumers diff --git a/.changeset/vite8-beta-support.md b/.changeset/vite8-beta-support.md deleted file mode 100644 index f9d32af16..000000000 --- a/.changeset/vite8-beta-support.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@crxjs/vite-plugin': minor ---- - -feat: add Vite 8 beta support diff --git a/.changeset/wicked-bottles-end.md b/.changeset/wicked-bottles-end.md deleted file mode 100644 index 53e5f6d99..000000000 --- a/.changeset/wicked-bottles-end.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@crxjs/vite-plugin": patch ---- - -feat(client): Update the style and content of the development mode loading page diff --git a/packages/vite-plugin/CHANGELOG.md b/packages/vite-plugin/CHANGELOG.md index 08418121d..027d91ba8 100644 --- a/packages/vite-plugin/CHANGELOG.md +++ b/packages/vite-plugin/CHANGELOG.md @@ -1,5 +1,56 @@ # @crxjs/vite-plugin +## 2.5.0 + +### Minor Changes + +- 4756baf: feat: add HMR support for CSS declared in manifest content_scripts +- 4756baf: add: browser_specific_settings.gecko properties +- 4756baf: Fix "TypeError: plugins is not iterable" error when using + rolldown-vite (Vite 7). + + In rolldown-vite, the buildStart hook doesn't receive options.plugins. This + fix uses the configResolved hook to get plugins from the resolved config, with + buildStart kept as a fallback for older Vite versions. + +- 4756baf: Fixed + [#852](https://github.com/crxjs/chrome-extension-tools/issues/852), the plugin + now emits a correct URL in `service-worker-loader.js` when the Vite option + `server.https` is enabled. +- 4756baf: fix: resolve TypeScript types correctly for ESM and CJS consumers +- 4756baf: feat: add Vite 8 beta support + +### Patch Changes + +- 4756baf: ci: migrate release workflow to npm trusted publishers +- 570312a: fix: sanitize colons from output filenames on Windows +- 4756baf: fix: copy CSS files declared in manifest content_scripts to output +- 4756baf: Replace cheerio with node-html-parser to fix npm deprecation warning + for whatwg-encoding. + + Also adds explicit vite peerDependency declaration (^3.0.0 through ^7.0.0) to + enable proper version resolution when used with different vite versions. + +- 4756baf: ci: run compat tests against stable Vite 8, make the vite8 available + as a peer dependency +- 4756baf: fix: UnoCSS/TailwindCSS HMR issues with virtual CSS modules +- 4756baf: fix: respect user's build.manifest setting in Vite 4+ + + When users set `build.manifest: false` in their Vite config, the Vite manifest + file (`.vite/manifest.json` in Vite 5+, or `manifest.json` in older versions) + is now properly removed from the output bundle. + + CRXJS internally requires the Vite manifest to derive content script resources + during build, so it forces `build.manifest: true`. Previously, this meant the + Vite manifest was always included in the output even if the user explicitly + disabled it. Now, CRXJS removes the manifest from the bundle after processing + if the user didn't want it. + + Closes #1077 + +- 4756baf: feat(client): Update the style and content of the development mode + loading page + ## 2.3.0 ### Minor Changes diff --git a/packages/vite-plugin/package.json b/packages/vite-plugin/package.json index 454beadbc..8f4a3c5f8 100644 --- a/packages/vite-plugin/package.json +++ b/packages/vite-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@crxjs/vite-plugin", - "version": "2.4.0", + "version": "2.5.0", "description": "Build Chrome Extensions with this Vite plugin.", "keywords": [ "rollup-plugin",