Releases: crxjs/chrome-extension-tools
Releases · crxjs/chrome-extension-tools
Release list
vite-plugin-v2.7.0
What's Changed
- Allow full-reload HMR events with a path by @flacoshinobi in #1155
- feat: add MAIN world content script HMR by @Toumash in #1186
- chore(deps): simplify and update vite-plugin dependencies by @Toumash in #1199
- fix(vite-plugin): handle self imports in content script hmr by @Toumash in #1203
New Contributors
- @flacoshinobi made their first contribution in #1155
Full Changelog: vite-plugin-v2.6.1...vite-plugin-v2.7.0
vite-plugin-v2.6.1
Full vite 8 support 🎊
We're happy to announce that we're supporting and automatically testing each change against full vite compatibility matrix
What's Changed
- fix: 990 fix to the broken build --watch command by @salmin89 in #1163
- feat: allow extension origins in dev CORS by @Toumash in #1175
- test: test plugin across Vite 3, 6, 7, and 8 by @Toumash in #1169
- test: replace fixed e2e waits by @Toumash in #1174
- chore: Remove Windows lint job from Vite plugin CI by @Toumash in #1176
- ci: speed up vite e2e runner by @Toumash in #1177
- test: move Vite compat tests and re-enable CI by @Toumash in #1179
- chore: upgrade Vitest to 0.34.6 by @Toumash in #1181
- fix: publish ESM declarations for vite plugin by @Toumash in #1182
- test: add local vite matrix test runner by @Toumash in #1183
- fix(vite-plugin): move @rollup/pluginutils to devDependencies by @Toumash in #1164
- chore(deps): bump rollup from 2.79.2 to 2.80.0 by @dependabot[bot] in #1126
- chore(deps): bump eslint from 8.43.0 to 9.26.0 by @dependabot[bot] in #1113
- docs: local vite-plugin testing without publishing by @Toumash in #1187
- fix: dev loading page readiness loop by @Toumash in #1184
- chore(deps): bump ajv from 8.17.1 to 8.18.0 by @dependabot[bot] in #1118
- Fix pnpm lockfile by @Toumash in #1191
- fix: coalesce file writer readiness waits by @Toumash in #1194
Full Changelog: vite-plugin-v2.5.0...vite-plugin-v2.6.1
vite-plugin-v2.5.0
What's Changed
- chore: update deps as per npmx.dev recommendation by @FliPPeDround in #1141
- chore(deps): bump lodash from 4.17.23 to 4.18.1 by @dependabot[bot] in #1151
- fix: sanitize colons from output filenames on Windows by @Toumash in #1154
- feat(vite-plugin): add liveReload option to disable automatic extension reload and HMR by @Toumash in #1147
- feat: made data_collection_permissions optional by @salmin89 in #1157
- chore: upgrade chokidar to lts by @salmin89 in #1162
- Version Packages by @github-actions[bot] in #1140
- feat: 1101 support iife content scripts by @salmin89 in #1158
- tests: poll for file changes instead of wait a fixed amount of time by @salmin89 in #1170
Full Changelog: vite-plugin-v2.4.0...vite-plugin-v2.5.0
vite-plugin-v2.4.0
🚀 Features
- Actually use vite 7 - by @Toumash (88000)
- Add vite 7 ci/cd jobs - by @Toumash (925e9)
- Add Discord notifications after changeset publish - by @Toumash (387a5)
- Add manual workflow_dispatch trigger with [TEST] mode for Discord notifications - by @Toumash (75c33)
- Add Vite 8.0.0-beta.7 support and CI testing - by @Toumash (46a45)
- Add HMR support for CSS declared in manifest content_scripts - by @Toumash (dc705)
- client:
- Update the style and content of the development mode loading page - by @FliPPeDround (25b38)
- vite-plugin:
- Support https dev server - by @siketyan (f0328)
- Use bump release - by @FliPPeDround (9fcd4)
🐞 Bug Fixes
- Use version import from vite instead of bundle-based detection - by @Toumash (fa30d)
- Move vite7 tests to tests folder and use injected dependency - by @Toumash (efab3)
- Re-install after build to link injected plugin in CI - by @Toumash (21034)
- Replace cheerio with node-html-parser and add vite peerDependency - by @Toumash (11d03)
- Use configResolved to get plugins for rolldown-vite compatibility - by @Toumash (5d8e1)
- Align compat tests with original test semantics - by @Toumash (cb805)
- Move each test into its own folder to avoid Windows ENOTEMPTY errors - by @Toumash (c7c60)
- Skip release steps when testing Discord notifications - by @Toumash (b7a0c)
- Gracefully skip Discord notification if webhook URL is not configured - by @Toumash (8a024)
- Separate test-discord job to avoid production environment requirement - by @Toumash (a1aea)
- Resolve TypeScript types correctly for ESM and CJS consumers - by @Toumash (d93c3)
- UnoCSS/TailwindCSS HMR issues with virtual CSS modules - by @Toumash (5e1f3)
- Add ts-nocheck for UnoCSS test files to fix lint - by @Toumash (b3133)
- Copy CSS files declared in manifest content_scripts to output - by @Toumash (a7257)
- Remove unused imports and variables in plugin-contentScripts_declared - by @Toumash (f651a)
- Apply feedback - by @siketyan and @Toumash (9b49a)
- client: Fallback message - by @FliPPeDround (4c072)
View changes on GitHub
@crxjs/vite-plugin@2.3.0
Minor Changes
- ee17090: * adds support for main world content scripts declared from manifest
- shows warning during development for detected main world scripts so that the
dev is not surprised the hmr does not work for it - does not touch
chrome.scripting.registerContentScriptsscripts, as they
already work
- shows warning during development for detected main world scripts so that the
@crxjs/vite-plugin@2.2.1
Patch Changes
- 5ff5465: feat(vite-plugin): limit path string checking to literals
@crxjs/vite-plugin@2.2.0
@crxjs/vite-plugin@2.1.0
rollup-plugin-chrome-extension@3.6.15
Patch Changes
- 548fb58: Add optional_host_permissions to manifest schemas