wxt-v0.19.17

wxt-dev/wxtwxt-v0.19.17Nov 28, 2024by github-actions[bot]

AI Summary

Adds server lifecycle hooks and fixes issues related to module re-initialization, ESLint config generation, and Chrome manifest compatibility.

Key Highlights

  • New server lifecycle hooks (`server:created`, `server:started`, `server:closed`)
  • Automatic conversion of MV3 `content_security_policy` to MV2
  • Vite dependency range updated to support v6

New Features

  • Server lifecycle hooks
  • Automatic CSP conversion
  • Optional content script `matches`

Full Release Notes

[compare changes](https://github.com/wxt-dev/wxt/compare/wxt-v0.19.16...wxt-v0.19.17)

### 🚀 Enhancements

- New `server:created`, `server:started`, and `server:closed` hooks ([#1179](https://github.com/wxt-dev/wxt/pull/1179))

### 🩹 Fixes

- Re-initialize WXT modules correctly during development ([#1176](https://github.com/wxt-dev/wxt/pull/1176))
- ESLint config being generated when ESLint is not installed. ([#1198](https://github.com/wxt-dev/wxt/pull/1198))
- Update `vite` dependency range to support v6 ([#1215](https://github.com/wxt-dev/wxt/pull/1215))
- Automatically convert MV3 `content_security_policy` to MV2 ([#1168](https://github.com/wxt-dev/wxt/pull/1168))
- Correctly remove child elements with integrated UI remove ([#1219](https://github.com/wxt-dev/wxt/pull/1219))
- Make content script `matches` optional ([#1220](https://github.com/wxt-dev/wxt/pull/1220))

### 📖 Documentation

- Fix analyze typo in type ([#1187](https://github.com/wxt-dev/wxt/pull/1187))

### ❤️ Contributors

- Aaron ([@aklinker1](http://github.com/aklinker1))
- 1natsu ([@1natsu172](http://github.com/1natsu172))
- Nishu ([@nishu-murmu](https://github.com/nishu-murmu))
- Florian Metz ([@Timeraa](http://github.com/Timeraa))