upgrade guide • compare changes
There was an issue with CI, v0.21.1 is the first release of v0.21, there is no v0.21.0
🚀 Features
- Add
prepare:tsconfighook for updating.wxt/tsconfig.jsonfile (#2450) - Add watch options config (#2439)
- Export
getEntrypointBundlePathfromwxt(#2463) - Add
{{modeSuffix}}to zip templates and update defaults (#1623) - Change default behavior of
getUnimportEslintOptionstrue flag (#2296) - New template variable
{{versionName}}and change of the behaviour of{{version}}(#1612) - Firefox: List files in sources zip (#2513)
🩹 Fixes
wxt cleanremoves.wxt/directory at project root (#2415)- Handle spread content script configs (#2448)
- Avoid deprecated Rollup asset name access (#2453)
- init: Allow entering an empty directory for project path (#2458)
- Opening the browser issue in windows. (#2436)
- File reloading mechanism and add profile watch ignores (#2112)
- Docs sidebar header, background color issue (#2504)
- Deprecated
useAppConfigin favour ofgetAppConfig(#2487) - Make
web-exta peer dependency (#2079) - Handle edge case where eslint version cannot be found (
ab679ba) - Remove
url:import feature (#2456) - zip: Make
includeSources/excludeSourcesfollow standard allowlist behavior (#2114) - Remove
console.log(0b352f6) - Loosen version of
@webext-core/isolated-element(7d6caad) - Update content and unlisted script
globalNamedefault tofalse(#2511) - TS: Update
.wxt/tsconfig.jsoncompiler options, require TS >=5.4 (#2512)
💅 Refactors
📖 Documentation
- Move Bun tabs to first position in installation (#2428)
- Added package manager tab group synchronization across the entire installation page (#2421)
- Make vitepress components css files more readable and simply (#2272)
- Use bright green for example hover and link colors (
d7f8ebe) - Document PerBrowser options for entrypoints (#2304) (#2403)
- Show Edge Add-ons in showcase (#2452)
- Don't underline the comma when hovering over showcase item store links (#2454)
- Fix
undefinedissue forExampleSearch.vue(#2370) - Update extension-showcase.yml (#2457)
- Added "NiceTab" Edge Addons (edgeId) to extension showcase (#2455)
- Prioritize Bun in package manager options (#2425)
- Update BlogLayout.vue
useDatato correctly type (#2369) - Revert #2380 - locationWatcher (#2416)
- Added "Teams Chat Exporter" Edge Addons (edgeId) to extension showcase (#2472)
- Cleanup the "extension APIs" page (#2473)
- Add MindSnap to showcase (#2499)
- Use consola's fancy reporter in init demo GIF (#2485)
- Update
wxt initGIF (13be7c5) - Update
wxt initGIF (299b0ad) - Cleanup v0.21 migration guide (
885f8f0) - Finalize migration guide for wxt v0.21 (#2516)
- Add section about install footprint (
d8a86e7)
🏡 Chore
- Skip package manager tests when binaries are missing (#2441)
- deps: Bump actions/setup-go from 6.4.0 to 6.5.0 (#2432)
- Bump minimum supported Node version to >=22 (
008f5a6) - deps: Remove
esbuilddependency (#2506) - Upgrade
@webext-core/isolated-elementv1 → v3 (#2098) - Remove deprecated APIs (#2488)
- deps: Upgrade major dependencies (#2508)
🤖 CI
⚠️ Breaking Changes
- Add
{{modeSuffix}}to zip templates and update defaults - Change default behavior of
getUnimportEslintOptionstrue flag - New template variable
{{versionName}}and change of the behaviour of{{version}} - Make
web-exta peer dependency - Remove
url:import feature - zip: Make
includeSources/excludeSourcesfollow standard allowlist behavior - #2511: If your script needs to return a value, like for
browser.scripting.executeScript, setglobalName: trueto maintain the old behavior. - #2512: Updates
.wxt/tsconfig.jsondefaults to latest recommended settings for vite projects and requires Typescript 5.4 or later. See #2512 for details on what compiler options were changed. - Move to module-runner
- Bump minimum supported Node version to >=22
- Upgrade
@webext-core/isolated-elementv1 → v3 - Remove deprecated APIs
- deps: Upgrade major dependencies
❤️ Contributors
- @z1lV3r
- Peter Wong www121ppp@gmail.com
- wangpeng618 wangpeng618@jd.com
- Thribhuvan thribhuvan003@gmail.com
- ТΞNSΛI tensai@gmx.net
- silverfish2525 silverfish25@proton.me
- @PatrykKuniczak
- @nishu-murmu
- Nazım Gediz Aydındoğmuş nga@hotmail.com.tr
- Kai Gritun kaigritun@gmail.com
- Kai Gritun kai@kaigritun.com
- @github-actions[bot]
- @ded-furby
- @dashitongzhi
- @cookesan
- Shubhrajit Sadhukhan champa.281982@gmail.com
- BlazerYoo blazeryoo1921@gmail.com
- @aklinker1
- @lishaduck
- @nnthanh01061999
- @cookesan
- @smashedr
- @dependabot[bot]
- @ded-furby
- @ZerGo0
- @LUIDevo
- @dashitongzhi
- @fkatsuhiro