yarn vue-i18n 12.0.0-alpha.17
v12.0.0-alpha.17

latest release: 11.4.26
45 minutes ago

escapeParameter: The sanitizer now writes an element whose content is text (<style>, <textarea>, <title> and similar) without /> and with its end tag, so <style/>…</style> becomes <style>…</style>. A MathML <annotation-xml> whose encoding has a character reference that the sanitizer does not decode (such as text&sol;html) is turned into text. Well-formed translations are not changed. (f3975d2) See GHSA-c5hr-7299-fgvf.

What's Changed

🐛 Bug Fixes

  • fix(core-base): stop at the locations and cacheKey of a message AST when resolving a key by @kazupon in #2915
  • fix(vue-i18n-core): clear the missing handler when setMissingHandler is passed null by @Maxiemad in #2920
  • fix(core-base): read the getters of class instances as named values by @kazupon in #2924
  • fix(core-base): keep the locale of each detector with resolvedOnce by @kazupon in #2926
  • fix(core-base): resolve linked keys of local composers as global composers do by @kazupon in #2928

⚡ Improvement Features

  • fix(core-base): limit the path cache of resolveValue by @kazupon in #2917
  • fix(core-base): limit the compile cache of default messages by @kazupon in #2921

🔒 Security Fixes

  • fix(shared): read SVG and MathML content as browsers do in sanitizeTranslatedHtml (f3975d2)

📈 Performance Fixes

  • perf(core-base): share empty options between key only translate calls by @BobbieGoede in #2912

New Contributors

Full Changelog: v12.0.0-alpha.16...v12.0.0-alpha.17

Don't miss a new vue-i18n release

NewReleases is sending notifications on new releases.