Sourced from react-i18next's changelog.
17.0.1
- chore: bump minimum i18next peer dependency to
>= 26.0.1(forgot to do it in last version)- fix: migrate test setup from removed legacy
interpolation.formattoi18n.services.formatter.add()(i18next v26)17.0.0
Potentially breaking changes
- fix:
transKeepBasicHtmlNodesFornow correctly preserves HTML tag names when children contain interpolations or mixed content 230
- Previously,
<strong>{{name}}</strong>was incorrectly serialized as<1>{{name}}</1>— the tag name was only preserved for plain string children- This bug existed since the feature was introduced and affects auto-generated keys (when no explicit
i18nKeyis provided)- If you rely on auto-generated Trans keys containing indexed tags for kept HTML elements with interpolation children, you will need to update your translation files
Other changes
- updated dev dependencies (vitest, rollup plugins, happy-dom, typescript, etc.)