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/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
setMissingHandleris passednullby @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
translatecalls by @BobbieGoede in #2912
New Contributors
Full Changelog: v12.0.0-alpha.16...v12.0.0-alpha.17