|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## v0.21.1 |
| 4 | + |
| 5 | +[compare changes](https://github.com/wxt-dev/wxt/compare/wxt-v0.20.27...wxt-v0.21.1) |
| 6 | + |
| 7 | +### 🚀 Features |
| 8 | + |
| 9 | +- Add `prepare:tsconfig` hook for updating `.wxt/tsconfig.json` file ([#2450](https://github.com/wxt-dev/wxt/pull/2450)) |
| 10 | +- Add watch options config ([#2439](https://github.com/wxt-dev/wxt/pull/2439)) |
| 11 | +- Export `getEntrypointBundlePath` from `wxt` ([#2463](https://github.com/wxt-dev/wxt/pull/2463)) |
| 12 | +- Add `{{modeSuffix}}` to zip templates and update defaults ([#1623](https://github.com/wxt-dev/wxt/pull/1623)) |
| 13 | +- Change default behavior of `getUnimportEslintOptions` true flag ([#2296](https://github.com/wxt-dev/wxt/pull/2296)) |
| 14 | +- New template variable `{{versionName}}` and change of the behaviour of `{{version}}` ([#1612](https://github.com/wxt-dev/wxt/pull/1612)) |
| 15 | +- **Firefox**: List files in sources zip ([#2513](https://github.com/wxt-dev/wxt/pull/2513)) |
| 16 | + |
| 17 | +### 🩹 Fixes |
| 18 | + |
| 19 | +- `wxt clean` removes `.wxt/` directory at project root ([#2415](https://github.com/wxt-dev/wxt/pull/2415)) |
| 20 | +- Handle spread content script configs ([#2448](https://github.com/wxt-dev/wxt/pull/2448)) |
| 21 | +- Avoid deprecated Rollup asset name access ([#2453](https://github.com/wxt-dev/wxt/pull/2453)) |
| 22 | +- **init**: Allow entering an empty directory for project path ([#2458](https://github.com/wxt-dev/wxt/pull/2458)) |
| 23 | +- Opening the browser issue in windows. ([#2436](https://github.com/wxt-dev/wxt/pull/2436)) |
| 24 | +- File reloading mechanism and add profile watch ignores ([#2112](https://github.com/wxt-dev/wxt/pull/2112)) |
| 25 | +- Docs sidebar header, background color issue ([#2504](https://github.com/wxt-dev/wxt/pull/2504)) |
| 26 | +- Deprecated `useAppConfig` in favour of `getAppConfig` ([#2487](https://github.com/wxt-dev/wxt/pull/2487)) |
| 27 | +- Make `web-ext` a peer dependency ([#2079](https://github.com/wxt-dev/wxt/pull/2079)) |
| 28 | +- Handle edge case where eslint version cannot be found ([`ab679ba`](https://github.com/wxt-dev/wxt/commit/ab679ba413772849e0c263315587334b42c25ed0)) |
| 29 | +- Remove `url:` import feature ([#2456](https://github.com/wxt-dev/wxt/pull/2456)) |
| 30 | +- **zip**: Make `includeSources`/`excludeSources` follow standard allowlist behavior ([#2114](https://github.com/wxt-dev/wxt/pull/2114)) |
| 31 | +- Remove `console.log` ([`0b352f6`](https://github.com/wxt-dev/wxt/commit/0b352f6eff1fbb45034b788a134742d03db81816)) |
| 32 | +- Loosen version of `@webext-core/isolated-element` ([`7d6caad`](https://github.com/wxt-dev/wxt/commit/7d6caad9b52bc263d0acb4263153fe0e05e24b76)) |
| 33 | +- Update content and unlisted script `globalName` default to `false` ([#2511](https://github.com/wxt-dev/wxt/pull/2511)) |
| 34 | +- **TS**: Update `.wxt/tsconfig.json` compiler options, require TS >=5.4 ([#2512](https://github.com/wxt-dev/wxt/pull/2512)) |
| 35 | + |
| 36 | +### 💅 Refactors |
| 37 | + |
| 38 | +- Make vite a default peer ([#1945](https://github.com/wxt-dev/wxt/pull/1945)) |
| 39 | +- Move to module-runner ([#1946](https://github.com/wxt-dev/wxt/pull/1946)) |
| 40 | + |
| 41 | +### 📖 Documentation |
| 42 | + |
| 43 | +- Move Bun tabs to first position in installation ([#2428](https://github.com/wxt-dev/wxt/pull/2428)) |
| 44 | +- Added package manager tab group synchronization across the entire installation page ([#2421](https://github.com/wxt-dev/wxt/pull/2421)) |
| 45 | +- Make vitepress components css files more readable and simply ([#2272](https://github.com/wxt-dev/wxt/pull/2272)) |
| 46 | +- Use bright green for example hover and link colors ([`d7f8ebe`](https://github.com/wxt-dev/wxt/commit/d7f8ebec3904ea6efa803c9d7b5dcd9b3ea59a01)) |
| 47 | +- Document PerBrowser options for entrypoints (#2304) ([#2403](https://github.com/wxt-dev/wxt/pull/2403)) |
| 48 | +- Show Edge Add-ons in showcase ([#2452](https://github.com/wxt-dev/wxt/pull/2452)) |
| 49 | +- Don't underline the comma when hovering over showcase item store links ([#2454](https://github.com/wxt-dev/wxt/pull/2454)) |
| 50 | +- Fix `undefined` issue for `ExampleSearch.vue` ([#2370](https://github.com/wxt-dev/wxt/pull/2370)) |
| 51 | +- Update extension-showcase.yml ([#2457](https://github.com/wxt-dev/wxt/pull/2457)) |
| 52 | +- Added "NiceTab" Edge Addons (edgeId) to extension showcase ([#2455](https://github.com/wxt-dev/wxt/pull/2455)) |
| 53 | +- Prioritize Bun in package manager options ([#2425](https://github.com/wxt-dev/wxt/pull/2425)) |
| 54 | +- Update BlogLayout.vue `useData` to correctly type ([#2369](https://github.com/wxt-dev/wxt/pull/2369)) |
| 55 | +- Revert #2380 - locationWatcher ([#2416](https://github.com/wxt-dev/wxt/pull/2416)) |
| 56 | +- Added "Teams Chat Exporter" Edge Addons (edgeId) to extension showcase ([#2472](https://github.com/wxt-dev/wxt/pull/2472)) |
| 57 | +- Cleanup the "extension APIs" page ([#2473](https://github.com/wxt-dev/wxt/pull/2473)) |
| 58 | +- Add MindSnap to showcase ([#2499](https://github.com/wxt-dev/wxt/pull/2499)) |
| 59 | +- Use consola's fancy reporter in init demo GIF ([#2485](https://github.com/wxt-dev/wxt/pull/2485)) |
| 60 | +- Update `wxt init` GIF ([`13be7c5`](https://github.com/wxt-dev/wxt/commit/13be7c5bfdedc6660fc799ded6d868736dffcb86)) |
| 61 | +- Update `wxt init` GIF ([`299b0ad`](https://github.com/wxt-dev/wxt/commit/299b0add803caab65f707ab73a677fc92f8e3379)) |
| 62 | +- Cleanup v0.21 migration guide ([`885f8f0`](https://github.com/wxt-dev/wxt/commit/885f8f0b76d8daa635957edcd0783cb3b2a41ade)) |
| 63 | +- Finalize migration guide for wxt v0.21 ([#2516](https://github.com/wxt-dev/wxt/pull/2516)) |
| 64 | +- Add section about install footprint ([`d8a86e7`](https://github.com/wxt-dev/wxt/commit/d8a86e76336be263271673028ee7677efeecf905)) |
| 65 | + |
| 66 | +### 🏡 Chore |
| 67 | + |
| 68 | +- Skip package manager tests when binaries are missing ([#2441](https://github.com/wxt-dev/wxt/pull/2441)) |
| 69 | +- **deps**: Bump actions/setup-go from 6.4.0 to 6.5.0 ([#2432](https://github.com/wxt-dev/wxt/pull/2432)) |
| 70 | +- Bump minimum supported Node version to >=22 ([`008f5a6`](https://github.com/wxt-dev/wxt/commit/008f5a66c9eb9e01a3dd1db0545e362254641089)) |
| 71 | +- **deps**: Remove `esbuild` dependency ([#2506](https://github.com/wxt-dev/wxt/pull/2506)) |
| 72 | +- Upgrade `@webext-core/isolated-element` v1 → v3 ([#2098](https://github.com/wxt-dev/wxt/pull/2098)) |
| 73 | +- Remove deprecated APIs ([#2488](https://github.com/wxt-dev/wxt/pull/2488)) |
| 74 | +- **deps**: Upgrade major dependencies ([#2508](https://github.com/wxt-dev/wxt/pull/2508)) |
| 75 | + |
| 76 | +### 🤖 CI |
| 77 | + |
| 78 | +- Fix VHS action ([#2459](https://github.com/wxt-dev/wxt/pull/2459)) |
| 79 | +- Use `@aklinker1/zero-changelog` for release notes ([#2515](https://github.com/wxt-dev/wxt/pull/2515)) |
| 80 | + |
| 81 | +### ⚠️ Breaking Changes |
| 82 | + |
| 83 | +- Add `{{modeSuffix}}` to zip templates and update defaults |
| 84 | +- Change default behavior of `getUnimportEslintOptions` true flag |
| 85 | +- New template variable `{{versionName}}` and change of the behaviour of `{{version}}` |
| 86 | +- Make `web-ext` a peer dependency |
| 87 | +- Remove `url:` import feature |
| 88 | +- **zip**: Make `includeSources`/`excludeSources` follow standard allowlist behavior |
| 89 | +- [#2511](https://github.com/wxt-dev/wxt/pull/2511): If your script needs to return a value, like for `browser.scripting.executeScript`, set `globalName: true` to maintain the old behavior. |
| 90 | +- [#2512](https://github.com/wxt-dev/wxt/pull/2512): Updates `.wxt/tsconfig.json` defaults to latest recommended settings for vite projects and requires Typescript 5.4 or later. See #2512 for details on what compiler options were changed. |
| 91 | +- Move to module-runner |
| 92 | +- Bump minimum supported Node version to >=22 |
| 93 | +- Upgrade `@webext-core/isolated-element` v1 → v3 |
| 94 | +- Remove deprecated APIs |
| 95 | +- **deps**: Upgrade major dependencies |
| 96 | + |
| 97 | +### ❤️ Contributors |
| 98 | + |
| 99 | +- [@z1lV3r](https://github.com/z1lV3r) |
| 100 | +- Peter Wong <www121ppp@gmail.com> |
| 101 | +- wangpeng618 <wangpeng618@jd.com> |
| 102 | +- Thribhuvan <thribhuvan003@gmail.com> |
| 103 | +- ТΞNSΛI <tensai@gmx.net> |
| 104 | +- silverfish2525 <silverfish25@proton.me> |
| 105 | +- [@PatrykKuniczak](https://github.com/PatrykKuniczak) |
| 106 | +- [@nishu-murmu](https://github.com/nishu-murmu) |
| 107 | +- Nazım Gediz Aydındoğmuş <nga@hotmail.com.tr> |
| 108 | +- Kai Gritun <kaigritun@gmail.com> |
| 109 | +- Kai Gritun <kai@kaigritun.com> |
| 110 | +- [@github-actions[bot]](https://github.com/github-actions[bot]) |
| 111 | +- [@ded-furby](https://github.com/ded-furby) |
| 112 | +- [@dashitongzhi](https://github.com/dashitongzhi) |
| 113 | +- [@cookesan](https://github.com/cookesan) |
| 114 | +- Shubhrajit Sadhukhan <champa.281982@gmail.com> |
| 115 | +- BlazerYoo <blazeryoo1921@gmail.com> |
| 116 | +- [@aklinker1](https://github.com/aklinker1) |
| 117 | +- [@lishaduck](https://github.com/lishaduck) |
| 118 | +- [@nnthanh01061999](https://github.com/nnthanh01061999) |
| 119 | +- [@cookesan](https://github.com/cookesan) |
| 120 | +- [@smashedr](https://github.com/smashedr) |
| 121 | +- [@dependabot[bot]](https://github.com/dependabot[bot]) |
| 122 | +- [@ded-furby](https://github.com/ded-furby) |
| 123 | +- [@ZerGo0](https://github.com/ZerGo0) |
| 124 | +- [@LUIDevo](https://github.com/LUIDevo) |
| 125 | +- [@dashitongzhi](https://github.com/dashitongzhi) |
| 126 | +- [@fkatsuhiro](https://github.com/fkatsuhiro) |
| 127 | + |
| 128 | + |
3 | 129 | ## v0.20.27 |
4 | 130 |
|
5 | 131 | [compare changes](https://github.com/wxt-dev/wxt/compare/wxt-v0.20.26...wxt-v0.20.27) |
@@ -3697,4 +3823,4 @@ Initial release of WXT. Full support for production builds and initial toolkit f |
3697 | 3823 | ### 🤖 CI |
3698 | 3824 |
|
3699 | 3825 | - Create validation workflow ([#12](https://github.com/wxt-dev/wxt/pull/12)) |
3700 | | -- Create release workflow ([#13](https://github.com/wxt-dev/wxt/pull/13)) |
| 3826 | +- Create release workflow ([#13](https://github.com/wxt-dev/wxt/pull/13)) |
0 commit comments