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. (#2931) 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 #2916
- fix(vue-i18n-core): clear the missing handler when
setMissingHandleris passednullby @kazupon in #2923 - fix(core-base): read the getters of class instances as named values by @kazupon in #2925
- fix(core-base): keep the locale of each detector with resolvedOnce by @kazupon in #2927
- fix(core-base): resolve linked keys of local composers as global composers do by @kazupon in #2929
⚡ Improvement Features
- fix(core-base): limit the path cache of resolveValue by @kazupon in #2918
- fix(core-base): limit the compile cache of default messages by @kazupon in #2922
🔒 Security Fixes
- fix(shared): read SVG and MathML content as browsers do in sanitizeTranslatedHtml by @kazupon in #2931
📈 Performance Fixes
- perf(core-base): share empty options between key only
translatecalls by @BobbieGoede in #2914
Full Changelog: v11.4.25...v11.4.26