Skip to content

Releases

v11.4.23

Choose a tag to compare

@github-actions github-actions released this 19 Nov 12:09

What's Changed

πŸ› Bug Fixes

  • fix(vue-i18n-core): remove local composer when Suspense discards a pending branch by @FADL285 in #2796
  • fix(vue-i18n-core): also clean up useI18n() after await, the Legacy API mixin and v-t when Suspense discards a pending branch by @kazupon in #2799

New Contributors

Full Changelog: v11.4.22...v11.4.23

v12.0.0-alpha.13

v12.0.0-alpha.13 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 17 Nov 15:55

escapeParameter: The sanitizer now closes the elements that a translation leaves open, and removes end tags that close no element of the translation, in the same way as browsers do when the translation is rendered on the client. A <form> that the translation does not close, and <foreignObject>, <desc>, <mi> and similar SVG and MathML elements outside SVG and MathML, are turned into text. Well-formed translations are not changed. (a3b3d0a8) See GHSA-786j-gfwp-vhm5.

What's Changed

πŸ”’ Security Fixes

  • fix(shared): close the elements that a translation leaves open in sanitizeTranslatedHtml (a3b3d0a8)

Full Changelog: v12.0.0-alpha.12...v12.0.0-alpha.13

v12.0.0-alpha.12

v12.0.0-alpha.12 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 17 Nov 04:57

escapeParameter: A parameter that is not a string, such as an array or an object, is now escaped after it is turned into text, in the same way as a string parameter. Message functions still receive the parameters as they are passed. (945f0b54) See GHSA-4fx6-3h3f-fh66.

What's Changed

πŸ”’ Security Fixes

  • fix(core-base): escape the text of non-string parameters with escapeParameter (945f0b54)

Full Changelog: v12.0.0-alpha.11...v12.0.0-alpha.12

v11.4.22

Choose a tag to compare

@github-actions github-actions released this 17 Nov 15:50

escapeParameter: The sanitizer now closes the elements that a translation leaves open, and removes end tags that close no element of the translation, in the same way as browsers do when the translation is rendered on the client. A <form> that the translation does not close, and <foreignObject>, <desc>, <mi> and similar SVG and MathML elements outside SVG and MathML, are turned into text. Well-formed translations are not changed. (#2793) See GHSA-786j-gfwp-vhm5.

What's Changed

πŸ”’ Security Fixes

  • fix(shared): close the elements that a translation leaves open in sanitizeTranslatedHtml by @kazupon in #2793

Full Changelog: v11.4.21...v11.4.22

v11.4.21

Choose a tag to compare

@github-actions github-actions released this 17 Nov 05:01

escapeParameter: A parameter that is not a string, such as an array or an object, is now escaped after it is turned into text, in the same way as a string parameter. Message functions still receive the parameters as they are passed. (#2792) See GHSA-4fx6-3h3f-fh66.

What's Changed

πŸ”’ Security Fixes

  • fix(core-base): escape the text of non-string parameters with escapeParameter by @kazupon in #2792

Full Changelog: v11.4.20...v11.4.21

v12.0.0-alpha.11

v12.0.0-alpha.11 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 14 Nov 07:52

Behavior change: a line break or a tab right after a linked key (@:key) now ends the key, as a space does. Such messages now render the linked message, and a line break that was dropped after a linked message is kept. Messages compiled at build time get this when they are compiled again with the new @intlify/message-compiler. (#2779)

What's Changed

πŸ› Bug Fixes

  • fix(message-compiler): end a linked key at a line break or a tab by @kazupon in #2779

πŸ“οΈ Documentations

  • docs: describe where a linked key ends, and fix the capitalize example by @kazupon in #2781

Full Changelog: v12.0.0-alpha.10...v12.0.0-alpha.11

v11.4.20

Choose a tag to compare

@github-actions github-actions released this 14 Nov 07:56

Behavior change: a line break or a tab right after a linked key (@:key) now ends the key, as a space does. Such messages now render the linked message, and a line break that was dropped after a linked message is kept. Messages compiled at build time get this when they are compiled again with the new @intlify/message-compiler. (#2780)

What's Changed

πŸ› Bug Fixes

  • fix(message-compiler): end a linked key at a line break or a tab by @kazupon in #2780

πŸ“οΈ Documentations

  • docs: describe where a linked key ends, and fix the capitalize example by @kazupon in #2782

Full Changelog: v11.4.19...v11.4.20

v12.0.0-alpha.10

v12.0.0-alpha.10 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 12 Nov 15:08

escapeParameter: The sanitizer now reads tags and attributes in the same way as browsers do, and checks every attribute. A tag, a comment, or an element like <textarea> that is not closed at the end of a translation is turned into text, and so is <plaintext>. Some outputs change their form with the same result in the browser: < that does not start a tag becomes &lt;, and onclick= inside an attribute value is kept as it is. < in the content of <textarea>, <style> and similar elements also becomes &lt;: it looks the same in <textarea> and <title>, but stays as &lt; in <style> and <xmp>. (addbc3aa) See GHSA-9qc3-h48f-7h96 and GHSA-7356-3q55-jvxm.

What's Changed

πŸ”’ Security Fixes

  • fix(shared): read tags with the rules of the HTML tokenizer in sanitizeTranslatedHtml (addbc3aa)

πŸ“οΈ Documentations

New Contributors

Full Changelog: v12.0.0-alpha.9...v12.0.0-alpha.10

v11.4.19

Choose a tag to compare

@github-actions github-actions released this 12 Nov 15:23

escapeParameter: The sanitizer now reads tags and attributes in the same way as browsers do, and checks every attribute. A tag, a comment, or an element like <textarea> that is not closed at the end of a translation is turned into text, and so is <plaintext>. Some outputs change their form with the same result in the browser: < that does not start a tag becomes &lt;, and onclick= inside an attribute value is kept as it is. < in the content of <textarea>, <style> and similar elements also becomes &lt;: it looks the same in <textarea> and <title>, but stays as &lt; in <style> and <xmp>. (#2769) See GHSA-9qc3-h48f-7h96 and GHSA-7356-3q55-jvxm.

What's Changed

πŸ”’ Security Fixes

  • fix(shared): read tags with the rules of the HTML tokenizer in sanitizeTranslatedHtml by @kazupon in #2769

Full Changelog: v11.4.18...v11.4.19

v12.0.0-alpha.9

v12.0.0-alpha.9 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 03 Nov 11:11

escapeParameter: The sanitizer now also turns <script> in translations into text. A <script> does not run with v-html in the browser, but it runs when the translation is rendered on the server (SSR). (a66ace0a) See GHSA-jrxq-gc2q-9357.

What's Changed

πŸ”’ Security Fixes

  • fix(shared): neutralize script elements in sanitizeTranslatedHtml (a66ace0a)

Full Changelog: v12.0.0-alpha.8...v12.0.0-alpha.9