yarn @intlify/unplugin-vue-i18n 12.0.0-alpha.4
v12.0.0-alpha.4

2 hours ago

What's Changed

🐛 Bug Fixes

  • fix: validate the top-level value of JSON and YAML resources by @kazupon in #613
  • fix: accept YAML resources that start with a BOM by @kazupon in #615
  • fix(unplugin-vue-i18n): support aliased import.meta.glob patterns on Vite 8 by @kazupon in #617
  • fix(bundle-utils): write non-literal JSON values like negative numbers by @kazupon in #621
  • fix(unplugin-vue-i18n): export empty messages when no resources match on Vite by @kazupon in #630
  • fix(unplugin-vue-i18n): keep virtual ids of locale resources stable across runs on Vite 8 by @kazupon in #633

⚡ Improvement Features

  • fix(unplugin-vue-i18n): invalidate virtual locale modules on file change by @kazupon in #602
  • fix(bundle-utils): report syntax errors in JS and TS resources by @kazupon in #623
  • fix(unplugin-vue-i18n): resolve the src of SFC i18n blocks on Vite 8 by @kazupon in #626
  • fix(unplugin-vue-i18n): support root-relative JSON locale imports on Vite 8 by @kazupon in #628
  • fix(unplugin-vue-i18n): do not treat app files as locale resources without include by @kazupon in #629
  • fix(unplugin-vue-i18n): warn about empty messages on webpack and rspack too by @kazupon in #631
  • fix(unplugin-vue-i18n): resolve src i18n block sidecars from the SFC, not the virtual id by @kazupon in #635
  • fix(unplugin-vue-i18n): stop using virtual ids for JSON locales on Vite 8 by @kazupon in #637
  • test(unplugin-vue-i18n): cover exclude for direct imports and the messages bundle by @kazupon in #644
  • fix(bundle-utils): keep the text of compile errors when NODE_ENV is production by @kazupon in #646
  • fix: read JS / TS i18n custom blocks as JS / TS by @kazupon in #653

👕 Refactoring

  • chore(release): generate changelog before tagging by @kazupon in #606
  • test(unplugin-vue-i18n): read the module the app imports in the HMR tests by @kazupon in #624
  • test(unplugin-vue-i18n): cover ?raw / ?url imports of locale resources by @kazupon in #640
  • test(unplugin-vue-i18n): cover edits to the locale files of the messages bundle by @kazupon in #648
  • test(unplugin-vue-i18n): cover HMR of files outside include with the messages bundle by @kazupon in #650

Full Changelog: v12.0.0-alpha.3...v12.0.0-alpha.4

Don't miss a new unplugin-vue-i18n release

NewReleases is sending notifications on new releases.