29 KiB
29 KiB
Changelog
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)