github wxt-dev/wxt wxt-v0.21.1
wxt v0.21.1

4 hours ago

upgrade guidecompare 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:tsconfig hook for updating .wxt/tsconfig.json file (#2450)
  • Add watch options config (#2439)
  • Export getEntrypointBundlePath from wxt (#2463)
  • Add {{modeSuffix}} to zip templates and update defaults (#1623)
  • Change default behavior of getUnimportEslintOptions true flag (#2296)
  • New template variable {{versionName}} and change of the behaviour of {{version}} (#1612)
  • Firefox: List files in sources zip (#2513)

🩹 Fixes

  • wxt clean removes .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 useAppConfig in favour of getAppConfig (#2487)
  • Make web-ext a peer dependency (#2079)
  • Handle edge case where eslint version cannot be found (ab679ba)
  • Remove url: import feature (#2456)
  • zip: Make includeSources/excludeSources follow standard allowlist behavior (#2114)
  • Remove console.log (0b352f6)
  • Loosen version of @webext-core/isolated-element (7d6caad)
  • Update content and unlisted script globalName default to false (#2511)
  • TS: Update .wxt/tsconfig.json compiler options, require TS >=5.4 (#2512)

💅 Refactors

  • Make vite a default peer (#1945)
  • Move to module-runner (#1946)

📖 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 undefined issue for ExampleSearch.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 useData to 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 init GIF (13be7c5)
  • Update wxt init GIF (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 esbuild dependency (#2506)
  • Upgrade @webext-core/isolated-element v1 → v3 (#2098)
  • Remove deprecated APIs (#2488)
  • deps: Upgrade major dependencies (#2508)

🤖 CI

  • Fix VHS action (#2459)
  • Use @aklinker1/zero-changelog for release notes (#2515)

⚠️ Breaking Changes

  • Add {{modeSuffix}} to zip templates and update defaults
  • Change default behavior of getUnimportEslintOptions true flag
  • New template variable {{versionName}} and change of the behaviour of {{version}}
  • Make web-ext a peer dependency
  • Remove url: import feature
  • zip: Make includeSources/excludeSources follow standard allowlist behavior
  • #2511: If your script needs to return a value, like for browser.scripting.executeScript, set globalName: true to maintain the old behavior.
  • #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.
  • Move to module-runner
  • Bump minimum supported Node version to >=22
  • Upgrade @webext-core/isolated-element v1 → v3
  • Remove deprecated APIs
  • deps: Upgrade major dependencies

❤️ Contributors

Don't miss a new wxt release

NewReleases is sending notifications on new releases.