Sourced from react-i18next's changelog.
17.0.11
- chore:
html-parse-stringifyupdated to^4.0.1. The parser powering<Trans>is now actively maintained under the i18next org (i18next/html-parse-stringify) after years without upstream releases. 4.x brings modern dual ESM/CJS packaging with anexportsmap, zero runtime dependencies, reworked TypeScript types and a long list of parser fixes (literal<in text, multiline/CRLF attribute values, comments containing>, doctype handling, quote-aware bracket handling).- refactor(Trans): the internal
escapeLiteralLessThanscanner (~80 lines) is replaced by the parser's newallowedTagsoption with identical semantics: only numbered tags, kept basic HTML tags and known component names are parsed as markup, any other tag-shaped sequence in the translation stays literal text. Rendered output is unchanged (all 493 tests pass, including the #1880 and #1893 escaping cases).
274e2e6
17.0.113c4c563
build1e7ccae
chore: html-parse-stringify ^4.0.1 + 17.0.11 changelog4412e25
html-parse-stringify ^4.0.0: replace escapeLiteralLessThan with the
parser's ...5787979
ci: types-compat falls back to latest when no @types/react
pre-release tag ex...