wxt-v0.20.0
wxt-dev/wxtwxt-v0.20.0Mar 28, 2025by github-actions[bot]
AI Summary
A major version release featuring significant architectural changes, including the removal of the webextension-polyfill, new import mechanisms, and various configuration adjustments.
Key Highlights
- Removes `webextension-polyfill` dependency
- Introduces individual exports and `#imports` module
- Renames `runner` to `webExt`
- Moves storage utilities to `wxt/utils/storage`
- Adds suffixes to non-production output directories
Breaking Changes
- Remove `webextension-polyfill`
- Introduce `#imports` module for imports
- Rename `runner` to `webExt`
- Move `wxt/storage` to `wxt/utils/storage`
- Make `publicDir` and `modulesDir` relative to project root
- Remove deprecated `jiti` entrypoint loader
- Remove `transformManfiest` option
New Features
- Auto-import types
- Reset inherited styles inside shadow root
Full Release Notes
Excited to release the next major version of WXT! Follow the [Upgrade guide](https://wxt.dev/guide/resources/upgrading.html) to update! --- [⚠️ breaking changes](https://wxt.dev/guide/resources/upgrading.html) • [compare changes](https://github.com/wxt-dev/wxt/compare/wxt-v0.19.29...wxt-v0.20.0) ### 🚀 Enhancements - ⚠️ Remove `webextension-polyfill` ([#1084](https://github.com/wxt-dev/wxt/pull/1084)) - ⚠️ Individual exports and introduce the `#imports` module ([#1258](https://github.com/wxt-dev/wxt/pull/1258)) - ⚠️ Reset inherited styles inside shadow root ([#1269](https://github.com/wxt-dev/wxt/pull/1269)) - ⚠️ Auto-import types ([#1315](https://github.com/wxt-dev/wxt/pull/1315)) ### 🩹 Fixes - ⚠️ Add suffix to non-production output directories ([#1086](https://github.com/wxt-dev/wxt/pull/1086)) - ⚠️ Remove deprecated `jiti` entrypoint loader ([#1087](https://github.com/wxt-dev/wxt/pull/1087)) - ⚠️ Rename `runner` to `webExt` ([#1180](https://github.com/wxt-dev/wxt/pull/1180)) - ⚠️ Remove `transformManfiest` option ([#1181](https://github.com/wxt-dev/wxt/pull/1181)) - Remove unnecessary `VITE_CJS_IGNORE_WARNING` flag ([b0ef178](https://github.com/wxt-dev/wxt/commit/b0ef178)) - ⚠️ Make `publicDir` and `modulesDir` relative to project root ([#1216](https://github.com/wxt-dev/wxt/pull/1216)) - ⚠️ Move `wxt/storage` to `wxt/utils/storage` ([#1271](https://github.com/wxt-dev/wxt/pull/1271)) - Add back `ExtensionRunnerConfig` as deprecated ([#1311](https://github.com/wxt-dev/wxt/pull/1311)) - Missing browser in shadow-root file ([#1317](https://github.com/wxt-dev/wxt/pull/1317)) ### 📖 Documentation - Fix api reference for `wxt/utils/storage` ([99b5076](https://github.com/wxt-dev/wxt/commit/99b5076)) - Fix broken links ([82d8024](https://github.com/wxt-dev/wxt/commit/82d8024)) ### 🏡 Chore - Fix type errors ([aad17c8](https://github.com/wxt-dev/wxt/commit/aad17c8)) - Remove duplicate test ([e54df0a](https://github.com/wxt-dev/wxt/commit/e54df0a)) ### ❤️ Contributors - Aaron ([@aklinker1](https://github.com/aklinker1)) - 1natsu ([@1natsu172](https://github.com/1natsu172))