Skip to content

Releases: wxt-dev/wxt

@wxt-dev/i18n v0.2.2

23 Oct 13:45
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Add support for configuring the locales directory (#1109)

❤️ Contributors

wxt v0.19.13

22 Oct 13:45
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • env: Load env from .env.[browser] variants (#1078)

🩹 Fixes

  • Don't use #private member variables in ContentScriptContext (#1103)

❤️ Contributors

@wxt-dev/unocss v1.0.0

22 Oct 13:34
6ba12e9
Compare
Choose a tag to compare

Initial release of WXT's UnoCSS module! UnoCSS has a few quirks that make it a little annoying to configure, so this module simplifies adding UnoCSS to your extension.

npm i --save-dev @wxt-dev/unocss unocss
pnpm i -D @wxt-dev/unocss unocss
yarn add --dev @wxt-dev/unocss unocss
bun i -D @wxt-dev/unocss unocss
// wxt.config.ts
export default defineConfig({
  modules: ['@wxt-dev/unocss'],
});

Then in any entrypoint you want to use UnoCSS in, just import it:

import "uno.css";

wxt v0.19.12

19 Oct 19:02
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Add support for WXT_ environment variable prefix (#1076)
  • config: Add outDirTemplate for customizing output directory structure (#1074)

🔥 Performance

  • Replace execa with nano-spawn for smaller package size (#1042)
  • Downgrade esbuild so a single version is shared between sub-dependencies (#1045)

🩹 Fixes

  • Use directory name when zip.name and package.json#name are not provided (#1028)
  • Ensure consistent hook execution order and add docs (#1081)

📖 Documentation

  • Rewrite and restructure the documentation website (#933)

🏡 Chore

  • Remove email from changelog (#1027)
  • deps: Bump magicast from 0.3.4 to 0.3.5 (#1017)
  • deps: Bump esbuild from 0.23.0 to 0.24.0 (#1018)
  • deps: Bump linkedom from 0.18.4 to 0.18.5 (#1034)
  • deps: Bump execa from 9.3.1 to 9.4.0 (#1031)
  • Upgrade all non-major dependencies (#1040)
  • Shrink down on dependencies (#1050)
  • Enable extensionApi: chrome in template projects (#1083)

❤️ Contributors

@wxt-dev/i18n v0.2.1

19 Oct 05:50
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Add missing "type" keyword to type export in generated file (22b5294)

📖 Documentation

  • Rewrite and restructure the documentation website (#933)

🏡 Chore

  • Fix typo in internal function name (21894d2)

❤️ Contributors

@wxt-dev/i18n v0.2.0

04 Oct 23:12
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • ⚠️ Remove invalid options argument (#1048)

To upgrade, if you were passing a final options argument, remove it. If you used the third argument to escape < symbol... You'll need to do it yourself:

- i18n.t("someKey", ["sub1"], { escapeLt: true });
+ i18n.t("someKey", ["sub1"]).replaceAll("<", "&lt;");

❤️ Contributors

@wxt-dev/i18n v0.1.1

04 Oct 18:24
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Friendly error messages for null and undefined values inside message files (#1041)

🏡 Chore

  • Add oxlint for linting (#947)
  • Upgrade all non-major dependencies (#1040)

❤️ Contributors

wxt v0.19.11

02 Oct 13:59
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • zip: Hooks (#993)
  • zip: wxt zip --sources and auto sources for opera (#1014)

🩹 Fixes

  • Reverse env files priority (#1016)
  • #1005 fixed, by updating type-definations to getItem method. (#1007, #1005)

🏡 Chore

  • Move some files around (#996)

❤️ Contributors

wxt v0.19.10

22 Sep 14:20
Compare
Choose a tag to compare

compare changes

🔥 Performance

  • Reduce hypersensitive onChange of watcher (#978)

🩹 Fixes

  • Fix config manifest type (#973)

📖 Documentation

  • Examples reference outDir vs. outputDir (#982)
  • Improved docs and links (#970)

🌊 Types

  • Fix ExtensionRunnerConfig.chromiumPref type (fda1e18)

❤️ Contributors

wxt v0.19.9

04 Sep 21:39
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • modules: Add wxt.hook alias for wxt.hooks.hook (c5f78d0)
  • Use @types/chrome for config manifest type (#969)

🩹 Fixes

  • Allow adding multiple hyphens in an entrypoint name (#949)
  • Duplicate BuildOutput.publicAssets (#951)
  • Properly overload import.meta.env with WXT's own environment globals (#966)

📖 Documentation

  • Add docs around importEntrypoint to relevant functions (143b5ac)

🌊 Types

  • modules: Use NestedHooks instead of Partial for hooks object (0ebb013)

🏡 Chore

  • Fix type error (#946)
  • Add oxlint for linting (#947)
  • deps: Bump ora from 8.0.1 to 8.1.0 (#961)
  • deps: Bump unimport from 3.9.1 to 3.11.1 (#960)
  • deps: Bump execa from 9.3.0 to 9.3.1 (#957)
  • Cleanup leftover E2E test artifacts (#968)

❤️ Contributors