Skip to content

Releases: wxt-dev/wxt

wxt v0.19.7

19 Aug 15:41
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • testing: Run WXT modules when setting up test environment (#926)
  • modules: Add addAlias helper (#928)

🩹 Fixes

  • testing: Stub chrome and browser globals with fakeBrowser automatically (#925)
  • Ensure TSConfig paths start with ../ or ./ so they are valid (#927)

📖 Documentation

  • Fix module name for wxt/browser/chrome (751706d)

🏡 Chore

  • Remove warning log for missing public directory (5f2e1c3)

i18n-v0.1.0

19 Aug 14:32
5821ae0
Compare
Choose a tag to compare

First release of @wxt-dev/i18n! It's meant to be a simpler, type-safe alternative to the browser.i18n APIs. If you're using the browser.i18n APIs, give it a try! If you're using a different i18n library, you can try it out, but you don't have to switch to it - keep doing what's working for you.

It features:

  • Full type-safety
  • A simpler messages file format
  • Plural forms
  • Translations in the manifest (like the vanilla APIs)
  • Translations in CSS (like the vanilla APIs)
  • Support for both WXT extensions and non-WXT extensions

Coming soon:

  • Number formatting (currency, rounding, commas)
  • Support for more plural forms (like Arabic's few/many)

Quickstart with WXT

Read the docs for a full overview: https://wxt.dev/guide/i18n/introduction.html

pnpm i -D @wxt-dev/i18n
// wxt.config.ts
export default defineConfig({
  modules: ["@wxt-dev/i18n/module"],
  manifest: {
    default_locale: "en"
  }
});
# <srcDir>/locales/en.yml
helloWorld: Hello world!
// Auto-imported or import manually from:
// import { i18n } from "#i18n";

i18n.t("helloWorld"); // "Hello world!"

wxt v0.19.6

16 Aug 20:17
Compare
Choose a tag to compare

compare changes

🔥 Performance

  • Ignore non-source code from the file watcher (#919)

🩹 Fixes

  • Typo in sidepanel options (browse_stylebrowser_style) (#914)
  • types: Don't report type errors when using string templates with browser.i18n.getMessage (#916)

❤️ Contributors

wxt v0.19.5

12 Aug 15:37
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Allow zipping hidden files by listing them explicitly in includeSources (#902)
  • Allow excluding files when zipping (#906)

🩹 Fixes

  • #907 move wxt devDeps execa to dependencies (#908, #907)
  • Update chromium setting for enabling content script sourcemaps (e6529e6)

❤️ Contributors

@wxt-dev/module-vue v1.0.1

06 Aug 04:23
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Upgrade wxt peer to >= 0.18.6 (7edf1c8)

🏡 Chore

  • Add changelog (21e8ca0)
  • Extract build cache script to NPM package (#737)
  • deps: Upgrade non-major deps (#778)
  • deps: Bump all non-major dependencies (#834)
  • deps: Upgrade all dependencies (#869)
  • Add more metadata for npm (#885)

❤️ Contributors

@wxt-dev/module-svelte v1.0.1

06 Aug 12:29
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Upgrade wxt peer to >= 0.18.6 (7edf1c8)

📖 Documentation

  • Fix link to unimport (#826)

🏡 Chore

  • Add changelog (21e8ca0)
  • Extract build cache script to NPM package (#737)
  • deps: Upgrade non-major deps (#778)
  • deps: Bump all non-major dependencies (#834)
  • deps: Upgrade all dependencies (#869)
  • Add more metadata for npm (#885)

❤️ Contributors

@wxt-dev/module-solid v1.1.2

06 Aug 13:07
Compare
Choose a tag to compare

compare changes

🏡 Chore

  • deps: Bump all non-major dependencies (#834)
  • deps: Upgrade all dependencies (#869)
  • Add more metadata for npm (#885)

❤️ Contributors

@wxt-dev/module-react v1.1.1

06 Aug 01:55
Compare
Choose a tag to compare

compare changes

🏡 Chore

  • deps: Bump all non-major dependencies (#834)
  • deps: Upgrade all dependencies (#869)
  • Add more metadata for npm (#885)

❤️ Contributors

@wxt-dev/auto-icons v1.0.2

05 Aug 23:53
Compare
Choose a tag to compare

compare changes

📖 Documentation

  • auto-icons: Fix configuration example typo (#905)

🏡 Chore

  • Add more metadata for npm (#885)

❤️ Contributors

wxt v0.19.4

04 Aug 14:31
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Add injectScript helper (#900)

🩹 Fixes

  • Do not clear .wxt/tsconfig.json in findEntrypoints if it exists (#898)
  • types: PublicPath type resolution with extensionApi: "chrome" (#901)
  • Fix createIframeUi page option types (3a8e613)

❤️ Contributors