Skip to content

Releases: wxt-dev/wxt

v0.2.0

15 Jul 18:52
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • ⚠️ Rename defineBackgroundScript to defineBackground (5b48ae9)
  • Recongize unnamed content scripts (content.ts and content/index.ts) (3db5cec)

📖 Documentation

  • Update templates (f28a29e)
  • Add docs for each type of entrypoint (77cbfc1)
  • Add inline JSDoc for public types (375a2a6)

🏡 Chore

  • Run wxt prepare on postinstall (c1ea9ba)
  • Don't format lockfile (5c7e041)

⚠️ Breaking Changes

  • ⚠️ Rename defineBackgroundScript to defineBackground (5b48ae9)

v0.1.6

14 Jul 14:43
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Resolve tsconfig paths in vite (ea92a27)
  • Add logs when a hot reload happens (977246f)

🏡 Chore

  • React and Vue starter templates (#33)
  • Svelte template (#34)

v0.1.5

13 Jul 22:53
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Include vite/client types (371be99)

v0.1.4

13 Jul 21:47
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Fix regression where manifest was not listed first in build summary (fa2b656)
  • Fix config hook implementations for vite plugins (49965e7)

📖 Documentation

🏡 Chore

v0.1.3

11 Jul 22:54
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Add tsconfig path aliases (#32)

🩹 Fixes

  • Merge manifest option from both inline and user config (05ca998)
  • Cleanup build summary with sourcemaps (ac0b28e)

📖 Documentation

  • Create documentation site (#31)

🏡 Chore

v0.1.2

11 Jul 14:45
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Accept a function for config.manifest (ee49837)

🩹 Fixes

  • Add missing types for webextension-polyfill and the manifest option (636aa48)
  • Only add imports to JS files (b29c3c6)
  • Generate valid type for EntrypointPath when there are no entrypoints (6e7184d)

🌊 Types

  • Change config.vite to UserConfig (ef6001e)

v0.1.1

11 Jul 03:21
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Allow dashes in entrypoint names (2e51e73)
  • Unable to read entrypoint options (#28)

v0.1.0

10 Jul 23:24
Compare
Choose a tag to compare

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

compare changes

🚀 Enhancements

  • Content scripts reloading (#25)

📖 Documentation

🤖 CI

v0.0.2

03 Jul 02:56
Compare
Choose a tag to compare

compare changes

🚀 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

  • Add milestone progress badge to README (684197d)
  • Fix milestone link in README (e14f81d)

🏡 Chore

  • Refactor build output type (#19)
  • Refactor build outputs to support transpiled templates (a78aada)
  • Rename templates to virtual-modules (#24)
  • Update cli screenshot (54eb118)

v0.0.1

26 Jun 15:15
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Add logger to config (232ff7a)
  • Export and bootstrap the /client package (5b07c95)
  • Resolve entrypoints based on filesystem (a63f061)
  • Separate output directories for each browser/manifest version (f09ffbb)
  • Build entrypoints and output manifest.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 build and dev (#9)
  • Add more supported browser types (f114c5b)
  • Open browser when starting dev server (#11)

🩹 Fixes

  • Support srcDir config (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

🏡 Chore

  • Refactor cli files into their own directory (e6c0d84)
  • Simplify BuildOutput type (1f6c4a0)
  • Move .exvite directory into srcDir instead of root (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)

🤖 CI

  • Create validation workflow (#12)
  • Create release workflow (#13)