58 KiB
Changelog
v0.16.2
🩹 Fixes
- Don't crash background service worker when using
import.meta.url(#402)
v0.16.1
🩹 Fixes
- Don't require config to run
wxt submit init(9318346)
📖 Documentation
- Add premid extension to homepage (#399)
🏡 Chore
- templates: Upgrade to wxt
^0.16.0(f0b2a12)
❤️ Contributors
- Florian Metz (@Timeraa)
v0.16.0
🚀 Enhancements
- ⚠️ ESM background support (#398)
📖 Documentation
- Document how to opt into ESM (1e12ce2)
🏡 Chore
- deps-dev: Bump lint-staged from 15.2.0 to 15.2.1 (#395)
- deps-dev: Bump p-map from 7.0.0 to 7.0.1 (#396)
- deps-dev: Bump @vitest/coverage-v8 from 1.0.1 to 1.2.2 (#397)
⚠️ Breaking Changes
In #398, HTML pages' JS entrypoints in the output directory have been moved. Unless you're doing some kind of post-build work referencing files, you don't have to make any changes.
- Before:
.output/ <target>/ chunks/ some-shared-chunk-<hash>.js popup-<hash>.js popup.html - After:
.output/ <target>/ chunks/ some-shared-chunk-<hash>.js popup.html popup.js
This effects all HTML files, not just the Popup. The hash has been removed, and it's been moved to the root of the build target folder, not inside the chunks/ directory. Moving files like this has not historically increased review times or triggered in-depth reviews when submitting updates to the stores.
v0.15.4
🩹 Fixes
- submit: Load
.env.submitautomatically when runningwxt submitandwxt submit init(#391)
v0.15.3
🩹 Fixes
- dev: Reload
<name>/index.htmlentrypoints properly on save (#390)
v0.15.2
🚀 Enhancements
- Add
submitcommand (#370)
🩹 Fixes
- dev: Resolve
scriptandlinkaliases (#387)
❤️ Contributors
- Nenad Novaković (@dvlden)
v0.15.1
🚀 Enhancements
- Allow passing custom preferences to chrome, enabling dev mode on
chrome://extensionsand allowing content script sourcemaps automatically (#384)
🩹 Fixes
- security: Upgrade to vite@5.0.12 to resolve CVE-2024-23331 (39b76d3)
📖 Documentation
- Fixed doc errors on the guide/extension-api page (#383)
🏡 Chore
- Fix vite version conflicts in demo extension (98d2792)
❤️ Contributors
- 0x7a7a (@0x7a7a)
v0.15.0
🚀 Enhancements
- zip: ⚠️ Add
includeSourcesand renameignoredSourcestoexcludeSources(#378)
🩹 Fixes
- Generate missing sourcemap in
wxt:unimportplugin (#381) - ⚠️ Move browser constants to
import.meta.env(#380) - Enable inline sourcemaps by default during development (#382)
📖 Documentation
- Fix typo (f9718a1)
🏡 Chore
- Update contributor docs (eb758bd)
⚠️ Breaking Changes
Renamed zip.ignoredSources to zip.excludeSources in #378
Renamed undocumented constants for detecting the build config at runtime in #380. Now documented here: https://wxt.dev/guide/multiple-browsers.html#runtime
__BROWSER__→import.meta.env.BROWSER__COMMAND__→import.meta.env.COMMAND__MANIFEST_VERSION__→import.meta.env.MANIFEST_VERSION__IS_CHROME__→import.meta.env.CHROME__IS_FIREFOX__→import.meta.env.FIREFOX__IS_SAFARI__→import.meta.env.SAFARI__IS_EDGE__→import.meta.env.EDGE__IS_OPERA__→import.meta.env.OPERA
❤️ Contributors
- Nenad Novaković (@dvlden)
v0.14.7
🩹 Fixes
- Improve error messages when importing and building entrypoints (3b63a51)
- storage: Throw better error message when importing outside a extension environment (35865ad)
- Upgrade
web-ext-run(62ecb6f)
📖 Documentation
- Add
matchesto content script examples (dab8efa) - Fix incorrect sample code (#372)
- Document defined constants for the build target (68874e6)
- Add missing
awaittocreateShadowRootUiexamples (fc45c37)
❤️ Contributors
- 東奈比 (@dongnaebi)
v0.14.6
🚀 Enhancements
🩹 Fixes
- Add subdependency bin directory so
wxt build --analyzeworks with PNPM (#363) - Sort build output files naturally (#364)
🤖 CI
- Check for type errors in demo before building (4b005b4)
v0.14.5
🚀 Enhancements
- Add
dev.reloadCommandconfig (#362)
🩹 Fixes
- Disable reload dev command when 4 commands are already registered (#361)
v0.14.4
🩹 Fixes
- Allow requiring built-in node modules from ESM CLI (#356)
🏡 Chore
- Add unit tests for passing flags via the CLI (#354)
v0.14.3
🩹 Fixes
- Make
getArrayFromFlagsresult can be undefined (#352)
❤️ Contributors
- Yuns (@yunsii)
v0.14.2
🚀 Enhancements
- Add
filterEntrypointsoption to speed up development (#344)
🔥 Performance
- Only call
findEntrypointonce per build (#342)
🩹 Fixes
- Improve error message and document use of imported variables outside an entrypoint's
mainfunction (#346) - Allow
browser.runtime.getURLto include hashes and query params for HTML paths (#350)
📖 Documentation
- Fix typos and outdated ui function usage (#347)
🏡 Chore
❤️ Contributors
- Yuns (@yunsii)
- Armin
v0.14.1
🩹 Fixes
- Use
Alt+R/Opt+Rto reload extension during development (b6ab7a9)
v0.14.0
🚀 Enhancements
- ⚠️ Refactor content script UI functions and add helper for "integrated" UIs (#333)
⚠️ Breaking Changes
createContentScriptUi and createContentScriptIframe, and some of their options, have been renamed:
createContentScriptUi({ ... })→createShadowRootUi({ ... })createContentScriptIframe({ ... })→createIframeUi({ ... })type: "inline" | "overlay" | "modal"has been changed toposition: "inline" | "overlay" | "modal"onRemoveis now called before the UI is removed from the DOM, previously it was called after the UI was removedmountoption has been renamed toonMount, to better match the related option,onRemove.
v0.13.5
🩹 Fixes
- Strip path from
web_accessible_resources[0].matches(#332)
📖 Documentation
- Add section about customizing other browser options during development (8683bd4)
🏡 Chore
- Update bug report template (9a2cc18)
v0.13.4
🩹 Fixes
- Disable minification during development (b7cdf15)
🏡 Chore
- Use
constinstead oflet(2770974)
v0.13.3
🚀 Enhancements
- DX: Add
ctrl+E/cmd+Eshortcut to reload extension during development (#322)
🏡 Chore
- deps-dev: Bump tsx from 4.6.2 to 4.7.0 (#320)
- deps-dev: Bump prettier from 3.1.0 to 3.1.1 (#318)
- deps-dev: Bump vitepress from 1.0.0-rc.31 to 1.0.0-rc.34 (#316)
- Refactor manifest generation E2E tests to unit tests (#323)
v0.13.2
🚀 Enhancements
- Add
isolateEventsoption tocreateContentScripUi(#313)
📖 Documentation
- Remove duplicate
entrypoints/path (76e63e2) - Update unlisted pages/scripts description (c99a281)
- Update content script entrypoint docs (1360eb7)
- Add example for setting up custom panels/panes in devtools (#308)
- Use example tags to automate relevant example lists (#311)
🏡 Chore
❤️ Contributors
- 冯不游
v0.13.1
🩹 Fixes
- storage: Support multiple
:characters in storage keys (#303) - Ship
vite/clienttypes internally for proper resolution using PNPM (#304)
📖 Documentation
🏡 Chore
- Update
scripts/build.tsshow current build step in progress, not completed count (#306)
v0.13.0
🚀 Enhancements
- ⚠️ New
wxt/storageAPIs (#300)
⚠️ Breaking Changes
wxt/storageno longer relies onunstorage. SomeunstorageAPIs, likeprefixStorage, have been removed, while others, likesnapshot, are methods on the newstorageobject. Most of the standard usage remains the same. See https://wxt.dev/guide/storage and https://wxt.dev/api/wxt/storage/ for more details (#300)
v0.12.5
🩹 Fixes
- Correct import in dev-only, noop background (#298)
v0.12.4
🩹 Fixes
- Disable Vite CJS warnings (#296)
v0.12.3
🩹 Fixes
- Correctly mock
webextension-polyfillfor Vitest (#294)
v0.12.2
🚀 Enhancements
- Support PNPM without hoisting dependencies (#291)
v0.12.1
🩹 Fixes
🏡 Chore
- Upgrade templates to
wxt@^0.12.0(#285)
v0.12.0
🚀 Enhancements
- ⚠️ Add support for "main world" content scripts (#284)
🩹 Fixes
📖 Documentation
🏡 Chore
- Convert WXT CLI to an ESM binary (#279)
⚠️ Breaking Changes
defineContentScript and defineBackground are now exported from wxt/sandbox instead of wxt/client. (#284)
- If you use auto-imports, no changes are required.
- If you have disabled auto-imports, you'll need to manually update your import statements:
- import { defineBackground, defineContentScript } from 'wxt/client'; + import { defineBackground, defineContentScript } from 'wxt/sandbox';
v0.11.2
🩹 Fixes
- Discover
.js,.jsx, and.tsxunlisted scripts correctly (#274) - Improve duplicate entrypoint name detection and catch the error before loading their config (#276)
📖 Documentation
- Improve content script UI docs (#268)
🏡 Chore
v0.11.1
🚀 Enhancements
- Add util for detecting URL changes in content scripts (#264)
🏡 Chore
- Upgrade templates to
wxt@^0.11.0(#263)
v0.11.0
🚀 Enhancements
- ⚠️ Vite 5 support (#261)
📖 Documentation
- Adds tl;dv to homepage (#260)
🏡 Chore
⚠️ Breaking Changes
- You will need to update any other Vite plugins to a version that supports Vite 5 (#261)
❤️ Contributors
- Ítalo Brasil (@italodeverdade)
v0.10.4
🚀 Enhancements
- Add config to customize
outDir(#258)
📖 Documentation
🏡 Chore
- deps-dev: Bump prettier from 3.0.3 to 3.1.0 (#254)
- deps-dev: Bump @types/lodash.merge from 4.6.8 to 4.6.9 (#255)
- deps-dev: Bump tsx from 3.14.0 to 4.6.1 (#252)
❤️ Contributors
- 冯不游
v0.10.3
🩹 Fixes
- auto-imports: Don't add imports to
node_moduledependencies (#247)
📖 Documentation
- Fix typo (317b1b6)
🏡 Chore
- Trigger docs upgrade via webhook (742b996)
- Use
normalize-pathinstead ofvite.normalizePath(#244) - Use
defufor merging some config objects (#243)
🤖 CI
v0.10.2
🩹 Fixes
- Apply
modeoption to build steps correctly (82ed821)
🏡 Chore
- Upgrade templates to v0.10 (#239)
v0.10.1
🩹 Fixes
- Remove WXT global to remove unused modules from production builds (3da3e07)
v0.10.0
🚀 Enhancements
- List
bunas an experimental option inwxt init(#233) - ⚠️ Allow plural directory and only png's for manifest icons (#237)
- Add
wxt/storageAPI (#234)
🩹 Fixes
- Don't use
bunto load entrypoint config (#232)
📖 Documentation
- Update main README links (207b750)
⚠️ Breaking Changes
- ⚠️ No longer discover icons with extensions other than
.png. If you previously used.jpg,.jpeg,.bmp, or.svg, you'll need to convert your icons to.pngfiles or manually add them to the manifest inside yourwxt.config.tsfile (#237)
❤️ Contributors
- Nenad Novaković (@dvlden)
v0.9.2
🚀 Enhancements
- Experimental option to exclude
webextension-polyfill(#231)
🤖 CI
- Fix sync-release workflow (d1b5230)
v0.9.1
🚀 Enhancements
- Add
aliasconfig for customizing path aliases (#216)
🩹 Fixes
- Move
webextension-polyfillfrom peer to regular dependencies (609ae2a) - Generate valid manifest for Firefox MV3 (#229)
📖 Documentation
- Add examples (c81dfff)
- Improve the "Used By" section on homepage (#220)
- Add UltraWideo to homepage (#193)
- Add StayFree to homepage (#221)
- Update feature comparison (67ffa44)
🏡 Chore
- Remove whitespace from genearted
.wxtfiles (#211) - Upgrade templates to
wxt@^0.9.0(#214) - Update Vite dependency range to
^4.0.0 || ^5.0.0-0(f1e8084)
🤖 CI
- Automatically sync GitHub releases with
CHANGELOG.mdon push (#218)
❤️ Contributors
- Aaron Klinker (@aaronklinker-st)
v0.9.0
🩹 Fixes
- ⚠️ Remove
libfrom.wxt/tsconfig.json(#209)
📖 Documentation
🏡 Chore
- Fix Svelte and React template READMEs (#207)
⚠️ Breaking Changes
- ⚠️ Removed
"WebWorker"types from.wxt/tsconfig.json(#209). These types are useful for MV3 projects using a service worker. To add them back to your project, add the following to your project's TSConfig:{ "extends": "./.wxt/tsconfig.json", + "compilerOptions": { + "lib": ["ESNext", "DOM", "WebWorker"] + } }
❤️ Contributors
- yyyanghj (@yyyanghj)
v0.8.7
🚀 Enhancements
createContentScriptIframeutility (#206)
🏡 Chore
- deps-dev: Bump happy-dom from 12.4.0 to 12.10.3 (#194)
- deps-dev: Bump tsx from 3.12.8 to 3.14.0 (#198)
- Upgrade types (f3874da)
- deps-dev: Upgrade
lint-stagedto^15.0.2(5f74a54) - deps-dev: Upgrade
execato^8.0.1(#200) - deps-dev: Upgrade
typedocto^0.25.3(#201) - deps-dev: Upgrade
vueto3.3.7(0b8d101) - deps-dev: Upgrade
vitepressto1.0.0-rc.24(5de18e5) - deps-dev: Update
@type/*packages for demo (cd4d00e) - deps-dev: Update
sassto1.69.5(183bb02) - Improve prettier git hook (0f09cbe)
- Run E2E tests in parallel (#204)
🤖 CI
- Separate validation into multiple jobs (#203)
v0.8.6
🩹 Fixes
- Inline WXT modules inside
WxtVitestplugin (b75c553)
v0.8.5
🚀 Enhancements
- Refactor project structure to export
initialize,prepare, andzipfunctions (#182)
🩹 Fixes
- Enable Vue SFC auto-imports in
vuetemplate (f8a0fb3)
📖 Documentation
- Improve
runner.binariesdocumentation (d9e9b43) - Update auto-imports.md (#186)
- Add
test.server.deps.inlineto Vitest guide (19756c6)
🏡 Chore
❤️ Contributors
- Nenad Novaković (@dvlden)
v0.8.4
🩹 Fixes
- Allow actions without a popup (#181)
v0.8.3
🚀 Enhancements
- Add testing utils under
wxt/testing(#178)
v0.8.2
🩹 Fixes
- firefox: Stop extending
AbortControllerto fix crash in content scripts (#176)
🏡 Chore
- Improve output consistency (#175)
v0.8.1
🩹 Fixes
- Output
action.browser_stylecorrectly (6a93f20)
📖 Documentation
- Generate full API docs with typedoc (#174)
v0.8.0
🚀 Enhancements
- ⚠️ Use
defineUnlistedScriptto define unlisted scripts (#167)
📖 Documentation
- Fix wrong links (#166)
🌊 Types
- ⚠️ Rename
BackgroundScriptDefintitiontoBackgroundDefinition(446f265)
⚠️ Breaking Changes
- ⚠️ Unlisted scripts must now
export default defineUnlistedScript(...)(#167) - ⚠️ Rename
BackgroundScriptDefintitiontoBackgroundDefinition(446f265)
❤️ Contributors
- 渣渣120 @WOSHIZHAZHA120
v0.7.5
🩹 Fixes
- More consistent
version_namegeneration between browsers (#163) - Ignore non-manifest fields when merging content script entries (#164)
- Add
browser_styleto popup options (#165)
v0.7.4
🩹 Fixes
- Support
react-refreshwhen pre-rendering HTML pages in dev mode (#158)
📖 Documentation
- Add migration guides (b58fb02)
🏡 Chore
- Upgrade templates to v0.7 (#156)
v0.7.3
🚀 Enhancements
- Support JS entrypoints (#155)
v0.7.2
🚀 Enhancements
- Allow customizing entrypoint options per browser (#154)
🩹 Fixes
📖 Documentation
🏡 Chore
- deps-dev: Bump @types/fs-extra from 11.0.1 to 11.0.2 (#144)
- deps-dev: Bump @faker-js/faker from 8.0.2 to 8.1.0 (#146)
- deps-dev: Bump vitest-mock-extended from 1.2.1 to 1.3.0 (#147)
- deps-dev: Bump vitest from 0.34.3 to 0.34.6 (#145)
- deps-dev: Bump typescript from 5.1 to 5.2 (#148)
v0.7.1
🚀 Enhancements
createContentScriptUihelper (#143)
📖 Documentation
- Add docs for
createContentScriptUi(65fcfc0)
🏡 Chore
- release: V0.7.1-alpha1 (2d4983e)
v0.7.0
🚀 Enhancements
- Content script
cssInjectionMode(#141)
🩹 Fixes
- Validate transformed manifest correctly (4b2012c)
- ⚠️ Output content script CSS to
content-scripts/<name>.css(#140) - Reorder typescript paths to give priority to
@and~over@@and~~(#142)
🏡 Chore
- Store user config metadata in memory (0591050)
⚠️ Breaking Changes
- ⚠️ Content script CSS used to be output to
assets/<name>.css, but is nowcontent-scripts/<name>.cssto match the docs. (#140)
v0.6.6
🚀 Enhancements
- Disable opening browser automatically during dev mode (#136)
v0.6.5
🩹 Fixes
- Don't crash when
<all_urls>matches is used in dev mode (b48cee9) - Support loading
tsxentrypoints (#134)
📖 Documentation
- Add tags for SEO and socials (96be879)
- Add more content to the homepage (5570793)
- Fix DX section sizing (41e1549)
- Add link to update extensions using WXT (24e69fe)
🏡 Chore
- Code coverage improvements (#131)
v0.6.4
🩹 Fixes
- content-scripts: Don't throw an error when including
includeorexcludeoptions on a content script (455e7f3) - Use
execaCommandinstead ofnode:child_process(#130)
🏡 Chore
v0.6.3
🚀 Enhancements
- client: Add
blockandaddEventListenerutils toContentScriptContext(#128)
v0.6.2
🚀 Enhancements
📖 Documentation
v0.6.1
🚀 Enhancements
- Add
transformManifestoption (#124)
🩹 Fixes
- Don't open browser during development when using WSL (#123)
📖 Documentation
- Load extension details from CWS (8e0a189)
v0.6.0
🚀 Enhancements
- Export
ContentScriptContextfromwxt/client(1f448d1) - ⚠️ Require a function for
viteconfiguration (#121)
🩹 Fixes
⚠️ Breaking Changes
- ⚠️ The
viteconfig option must now be a function. If you were using an object before, change it fromvite: { ... }tovite: () => ({ ... }). (#121)
v0.5.6
🚀 Enhancements
- Add
ContentScriptContextutil for stopping invalidated content scripts (#120)
v0.5.5
🩹 Fixes
- Automatically replace vite's
process.env.NODE_ENVoutput in lib mode with the mode (92039b8)
v0.5.4
🩹 Fixes
- Recognize
background/index.tsas an entrypoint (419fab8) - Don't warn about deep entrypoint subdirectories not being recognized (87e8df9)
v0.5.3
🩹 Fixes
- Allow function for vite config (4ec904e)
🏡 Chore
- Refactor how config is resolved (#118)
v0.5.2
🩹 Fixes
- Import client utils when getting entrypoint config (#117)
v0.5.1
🚀 Enhancements
🩹 Fixes
- Allow any string for target browser (b4de93d)
v0.5.0
🩹 Fixes
- types: Don't write to files if nothing changes (#107)
- ⚠️ Change default
publicDirto<srcDir>/public(5f15f9c)
📖 Documentation
- Add link to examples repo (46a5036)
- Fix typos (beafa6a)
- Make README pretty (b33b663)
- Add migration docs (e2350fe)
- Add vite customization docs (fe966b6)
🏡 Chore
- Move repo to wxt-dev org (ac7cbfc)
- deps-dev: Bump prettier from 3.0.1 to 3.0.3 (#111)
- deps-dev: Bump tsx from 3.12.7 to 3.12.8 (#109)
- deps-dev: Bump @types/node from 20.5.0 to 20.5.9 (#110)
- Add entrypoints debug log (dbd84c8)
⚠️ Breaking Changes
- ⚠️ Change default
publicDirto<srcDir>/public(5f15f9c)
v0.4.1
🚀 Enhancements
- cli: Add
wxt cleancommand to delete generated files (#106)
🩹 Fixes
- init: Don't show
cd .when initializing the current directory (e086374)
v0.4.0
🚀 Enhancements
- Add
--debugflag for printing debug logs for all CLI commands (#75) - Replace
web-extwithweb-ext-run(#101) - Generate types for
browser.i18n.getMessage(#103)
🩹 Fixes
- Allow adding custom content scripts (b428a62)
- Don't overwrite
wxt.config.tscontent scripts, append entrypoints to it (5f5f1d9) - ⚠️ Use relative path aliases inside
.wxt/tsconfig.json(#102)
📖 Documentation
- Add contribution guide (#76)
🏡 Chore
- Setup dependabot for upgrading dependencies (d66293c)
- Update social preview (e164bd5)
- Setup bug and feature issue templates (2bde917)
- Upgrade to prettier 3 (#77)
- deps-dev: Bump vitest from 0.32.4 to 0.34.1 (#81)
- deps-dev: Bump ora from 6.3.1 to 7.0.1 (#79)
- deps-dev: Bump @types/node from 20.4.5 to 20.5.0 (#78)
- deps-dev: Bump tsup from 7.1.0 to 7.2.0 (#80)
- deps-dev: Bump @vitest/coverage-v8 from 0.32.4 to 0.34.1 (#84)
- deps-dev: Bump vitepress from 1.0.0-beta.5 to 1.0.0-rc.4 (#85)
- deps-dev: Bump vitest-mock-extended from 1.1.4 to 1.2.0 (#87)
- deps-dev: Bump lint-staged from 13.3.0 to 14.0.0 (#89)
- Fix remote code E2E test (83e62a1)
- Fix failing demo build (b58a15e)
- deps-dev: Bump vitest-mock-extended from 1.2.0 to 1.2.1 (#97)
- deps-dev: Bump lint-staged from 14.0.0 to 14.0.1 (#100)
- deps-dev: Bump vitest from 0.34.1 to 0.34.3 (#99)
- Increase E2E test timeout because GitHub Actions Window runner is slow (2a0842b)
- deps-dev: Bump vitepress from 1.0.0-rc.4 to 1.0.0-rc.10 (#96)
- Fix test watcher restarting indefinetly (2c7922c)
- Remove explict icon config from templates (93bfee0)
- Use import aliases in Vue template (#104)
⚠️ Breaking Changes
- ⚠️ Use relative path aliases inside
.wxt/tsconfig.json(#102)
v0.3.2
🚀 Enhancements
- Discover icons from the public directory (#72)
- Don't allow auto-importing from subdirectories (d54d611)
📖 Documentation
- Document the
url:import prefix for remote code (323045a) - Fix typos (97f0938)
- Fix capitalization (39467d1)
- Generate markdown for config reference (#74)
🏡 Chore
- Upgrade dependencies (798f02f)
- Upgrade vite (
v4.3→v4.4) (547c185) - Update templates to work with CSS entrypoints (7f15305)
- Improve file list output in CI (#73)
🤖 CI
- Validate templates against
main(#66) - List vite version when validating project templates (ef140dc)
- Validate templates using tarball to avoid version conflicts within the
wxt/node_modulesdirectory (edfa075)
v0.3.1
🚀 Enhancements
📖 Documentation
- Add zip command to installation scripts (94a1097)
- Add output paths to entrypoint docs (3a336eb)
- Update installation docs (aea866c)
- Add publishing docs (4184b05)
- Add a section for extensions using WXT (709b61a)
- Add a comparison page to compare and contrast against Plasmo (38d4f9c)
🏡 Chore
- Update template projects to v0.3 (#56)
- Branding and logo (#60)
- Simplify binary setup (#62)
- Add Solid template (#63)
- Increate E2E test timeout to fix flakey test (dfe424f)
🤖 CI
❤️ Contributors
- BeanWei (@BeanWei)
v0.3.0
🚀 Enhancements
- ⚠️ Add type safety to
browser.runtime.getURL(58a84ec) - ⚠️ Change default
publicDirto<rootDir>/public(19c0948) - Windows support (#50)
🩹 Fixes
- Add
WebWorkerlib to generated tsconfig (2c70246)
📖 Documentation
- Update entrypoint directory links (0aebb67)
🌊 Types
- Allow any string for the
__BROWSER__global (6092235)
🤖 CI
- Improve checks against
demo/extension (9cc464f)
⚠️ Breaking Changes
- ⚠️ Add type safety to
browser.runtime.getURL(58a84ec) - ⚠️ Change default
publicDirto<rootDir>/public(19c0948)
v0.2.5
🚀 Enhancements
- Auto-import from subdirectories (547fee0)
- Include background script in dev mode if user doesn't define one (ca20a21)
🩹 Fixes
- Don't crash when generating types in dev mode (d8c1903)
- Properly load entrypoints that reference
import.meta(54b18cc)
🏡 Chore
- Update templates to wxt@0.2 (9d00eb2)
🤖 CI
- Validate project templates (9ac756f)
v0.2.4
🚀 Enhancements
- Add
wxt zipcommand (#47)
v0.2.3
🩹 Fixes
- Correctly lookup open port (#45)
- Read boolean maniest options from meta tags correctly (495c5c8)
- Some fields cannot be overridden from
config.manifest(#46)
v0.2.2
🩹 Fixes
- Register content scripts correctly in dev mode (2fb5a54)
v0.2.1
🚀 Enhancements
- Support all content script options (6f5bf89)
🩹 Fixes
- Remove HMR log (90fa6bf)
v0.2.0
🚀 Enhancements
- ⚠️ Rename
defineBackgroundScripttodefineBackground(5b48ae9) - Recongize unnamed content scripts (
content.tsandcontent/index.ts) (3db5cec)
📖 Documentation
- Update templates (f28a29e)
- Add docs for each type of entrypoint (77cbfc1)
- Add inline JSDoc for public types (375a2a6)
🏡 Chore
⚠️ Breaking Changes
- ⚠️ Rename
defineBackgroundScripttodefineBackground(5b48ae9)
v0.1.6
🩹 Fixes
🏡 Chore
v0.1.5
🩹 Fixes
- Include
vite/clienttypes (371be99)
v0.1.4
🩹 Fixes
- Fix regression where manifest was not listed first in build summary (fa2b656)
- Fix config hook implementations for vite plugins (49965e7)
📖 Documentation
- Update CLI screenshot (0a26673)
🏡 Chore
- Update prettier ignore (68611ae)
v0.1.3
🚀 Enhancements
- Add tsconfig path aliases (#32)
🩹 Fixes
- Merge
manifestoption from both inline and user config (05ca998) - Cleanup build summary with sourcemaps (ac0b28e)
📖 Documentation
- Create documentation site (#31)
🏡 Chore
- Upgrade to pnpm 8 (0ce7c9d)
v0.1.2
🚀 Enhancements
- Accept a function for
config.manifest(ee49837)
🩹 Fixes
- Add missing types for
webextension-polyfilland themanifestoption (636aa48) - Only add imports to JS files (b29c3c6)
- Generate valid type for
EntrypointPathwhen there are no entrypoints (6e7184d)
🌊 Types
- Change
config.vitetoUserConfig(ef6001e)
v0.1.1
🩹 Fixes
v0.1.0
Initial release of WXT. Full support for production builds and initial toolkit for development:
- HMR support when HTML page dependencies change
- Reload extension when background changes
- Reload HTML pages when saving them directly
- Re-register and reload tabs when content scripts change
🚀 Enhancements
- Content scripts reloading (#25)
📖 Documentation
- Update feature list (0255028)
🤖 CI
- Create github release (b7c078f)
v0.0.2
🚀 Enhancements
- Reload extension when source code is changed (#17)
- Setup background script web socket/reload (#22)
- Reload HTML files individually (#23)
🩹 Fixes
- Output chunks to a chunks directory (2dd7a99)
- Remove hash from content script css outputs (#20)
- Overwrite files with the same name when renaming entrypoints in dev mode (37986bf)
- Separate template builds to prevent sharing chunks (7f3a1e8)
- Show Vite warnings and errors (c51f0e0)
📖 Documentation
🏡 Chore
- Refactor build output type (#19)
- Refactor build outputs to support transpiled templates (a78aada)
- Rename
templatestovirtual-modules(#24) - Update cli screenshot (54eb118)
v0.0.1
🚀 Enhancements
- Add logger to config (232ff7a)
- Export and bootstrap the
/clientpackage (5b07c95) - Resolve entrypoints based on filesystem (a63f061)
- Separate output directories for each browser/manifest version (f09ffbb)
- Build entrypoints and output
manfiest.json(1e7c738) - Automatically add CSS files to content scripts (047ce04)
- Download and bundle remote URL imports (523c7df)
- Generate type declarations and config for project types and auto-imports (21debad)
- Good looking console output (e2cc995)
- Dev server working and a valid extension is built (505e419)
- Virtualized content script entrypoint (ca29537)
- Provide custom, typed globals defined by Vite (8c59a1c)
- Copy public directory to outputs (1a25f2b)
- Support browser and chrome styles for mv2 popups (7945c94)
- Support browser and chrome styles for mv2 popups (7abb577)
- Support more CLI flags for
buildanddev(#9) - Add more supported browser types (f114c5b)
- Open browser when starting dev server (#11)
🩹 Fixes
- Support
srcDirconfig (739d19f) - Root path customization now works (4faa3b3)
- Print durations as ms/s based on total time (3e37de9)
- Don't print error twice when background crashes (407627c)
- Load package.json from root not cwd (3ca16ee)
- Only allow a single entrypoint with a given name (8eb4e86)
- Respect the mv2 popup type (0f37ceb)
- Respect background type and persistent manifest options (573ef80)
- Make content script array orders consistent (f380378)
- Firefox manifest warnings in dev mode (50bb845)
📖 Documentation
- Update README (785ea54)
- Update README (99ccadb)
- Update description (07a262e)
- Update README (58a0ef4)
- Update README (23ed6f7)
- Add initial release milestone link to README (b400e54)
- Fix typo in README (5590c9d)
🏡 Chore
- Refactor cli files into their own directory (e6c0d84)
- Simplify
BuildOutputtype (1f6c4a0) - Move
.exvitedirectory intosrcDirinstead ofroot(53fb805) - Refactor CLI commands (b8952b6)
- Improve build summary sorting (ec57e8c)
- Remove comments (e3e9c0d)
- Refactor internal config creation (7c634f4)
- Check virtual entrypoints feature in README (70208f4)
- Add E2E tests and convert to vitest workspace (5813302)
- Rename package to wxt (51a1072)
- Fix header log's timestamp (8ca5657)
- Fix demo global usage (1ecfedd)
- Refactor folder structure (9ab3953)
- Fix release workflow (2e94f2a)