👀 Highlights
⚡ Locale Messages HMR (vite only)
We have added Hot Module Replacement (HMR) support for locale messages and vue-i18n configurations*, editing translations in locale files should now update instantly while preserving the page state.
This feature is enabled in development environments by default but can be disabled in case you run into issues by setting experimental.hmr: false
.
*HMR in vue-i18n is supported for the messages, numberFormats and datetimeFormats properties in vue-i18n configuration files, other changes will fall back to page reload.
🔧 Webpack & Rspack
This release resolves issues with Webpack and Rspack related to virtual files, please let us know if you run into issues with this release 🙏
🩹 Unhead v2 + Nuxt 3.16
Make sure to update to this release for compatibility with Nuxt 3.16.
📃 Changes
🚀 Features
- Locale messages HMR - by @BobbieGoede in #3363 (84467)
- Hash file imports - by @BobbieGoede in #3376 (45037)
- Use
oxc-parser
instead ofsucrase
+@babel/parser
- by @BobbieGoede in #3382 (77455)
🐞 Bug Fixes
- Generate types from server plugin - by @BobbieGoede in #3366 (96582)
- Unhead v2 compatibility - by @harlan-zw in #3379 (8d02b)
- Handle new
pages.enabled
property in nuxt - by @danielroe in #3380 (bafd6) - Handle new granular debug option - by @danielroe in #3381 (4a8d7)
- Use serialized value of
nuxt.options.pages
for compatibility - by @BobbieGoede in #3387 (710d4) - Use
@oxc-parser/wasm
in stackblitz env - by @BobbieGoede in #3388 (4c684) - Use
@oxc-parser/wasm
as parser fallback - by @BobbieGoede in #3391 (e9b76) webpack
andrspack
virtual file resolution - by @BobbieGoede in #3385 (af965)