Releases: crxjs/chrome-extension-tools
Adding Renovate
What's Changed
- RPCE 4.0 Vite Support & Plugin System by @jacksteamdev in #117
- Fix external XHR requests while using Vite and HMR by @remixz in #129
- Update v4 readme by @jacksteamdev in #128
- Configure Renovate by @renovate in #138
- chore(deps): pin dependencies by @renovate in #139
- chore(deps): pin dependency @types/jest to 27.0.3 by @renovate in #140
- fix(deps): update dependency json-ptr to v3 [security] by @renovate in #141
- chore(deps): update dependency @types/chrome to v0.0.171 by @renovate in #143
- Fix sw binary bug by @jacksteamdev in #145
- chore(deps): update dependency jest-chrome to v0.7.2 by @renovate in #144
New Contributors
Full Changelog: v3.6.6...v4.0.1-10
Updating the docs for v4
- Update README.md 2829f05
- Update README.md e990542
- docs: grammarly check 7c4d2d2
- feat: export default chromeExtension adcd4b3
- fix: ensure runtime reloader is added in vite serve 4efa0e8
- refactor: integrate simple reloader as runtime reloader 8f19357
- chore: make rollup normal dependency e972b52
- chore: update readme badges f591a40
- chore: update readme e596b63
Beta testing Vite support
What's Changed
- RPCE 4.0 Vite Support & Plugin System by @jacksteamdev in #117
- Fix external XHR requests while using Vite and HMR by @remixz in #129
New Contributors
Full Changelog: v3.6.6...v4.0.1-8
Updating NPM readme
Getting close to stable
Version 4 with full Vite support is just about ready!
To install: npm i rollup-plugin-chrome-extension@beta
See #117 for install details
- fix: export interface for types build cfe1b3f
- fix: make various stability improvements c79d4f7
- chore: update configs update typescript version add npm script 3378021
- refactor: refine machine concern files machine concern is orchestration asset machine concern is its own state f683183
- fix: order of build steps exclude files more reliably f753d62
- chore: update prettier config 6ee3504
- fix: spawn input html files after manifest parsed 196cdcf
- tests: force exit ci script e96c2c6
- fix: remove unused import 0cff812
- fix: dedupe added entries, allow excluded files at all times 8391cbd
- fix: try to avoid reference error 8892f05
- chore: update vite 6f46b2c
- tests: add html inputs test 982c801
- tests: fix snapshots e6ef047
- feat: load html pages from vite serve 91fe4ca
- refactor: move helper function 2bd248d
- refactor: rename emitted files map 5fe5085
- fix: resolve manifest dirname from root bc17030
- tests: mute console.error 0152081
- fix: avoid duplicate manifest file 76e39dd
- tests: move jest setup files to test folder 722cdea
- chore: don't bundle sourcemaps 5c11d45
- fix: remove unused import 30523b2
- fix: do not unsubscribe from stopped service f2afbdd
- fix: eliminate duplicate manifests 12ebc56
- fix: remove unused import 9c8bff0
- fix: handle errors more reliably 2fad191
Full Changelog: v3.6.6...v4.0.1-5
Fixing plugin options
Fixing TypeScript manifests
This PR makes it easier to load manifests as TS files.
Introducing extend-chrome.dev
We have a new docs site! Check it out at https://extend-chrome.dev/rollup-plugin
Supporting MV3
MV3 support is now available in the main
branch! 🎉
We haven't written the docs yet, but no special config is required. Even the simple reloader works, but only if a content script is open.
You can try it out on NPM:
npm i rollup-plugin-chrome-extension@latest -D
All that is required is a valid MV3 manifest.json
file. If you want to use our JSON schema in VSCode to get auto-completion and validation, add the following to .vscode/settings.json
:
{
"json.schemas": [
{
"fileMatch": ["manifest.json"],
"url": "https://raw.githubusercontent.com/extend-chrome/rollup-plugin-chrome-extension/main/manifest.schema.json"
}
],
}
Please report any issues you encounter! 🙏
Commits
Ironing out MV3 bugs
This release irons out some MV3 content script bugs.
- feat: simplify MV3 content script approach 2f149dc
- fix duplicate map calls e50361a
- fix duplicate match patterns 977c787
- fix: convert content script match patterns (#100) 620c076
- fix deprecation warning condition 9d71dda
Beta Testing
You can install this branch on npm:
npm i rollup-plugin-chrome-extension@beta -D