v13.0.0
The v13.0.0 release is a major version to improve stability and general experience.
It comes with 2 easy changes related to installation. Existing code shouldn't be impacted.
Details can be found in the UPGRADING.md document.
Breaking changes
-
react-i18next and i18next
have been moved to peer-dependencies. They must be installed
in your app (#1966)# Add react-i18next > 12.0.0 and i18next > 22.0.4 to your app dependencies npm install react-i18next i18next --save # NPM yarn add react-i18next i18next # Yarn pnpm add react-i18next i18next --save # PNPM
This might solve issues with duplicates and multiple i18n context instances.
If you encounter any issue, please read the Troubleshoot doc
before posting an issue. -
Types augmentations are now handled by i18next instead of react-i18next (#1997).
See the upgrade document here.
New
- Support for NextJs 13 (excluding new experimental layout / rsc)
- Upgrade to i18next v22 and react-i18next v12, see #1966
- Support for node 18 lts #2017
Fix
- Fix types for appWithTranslation #1987
New minimum versions
We've dropped support for nextjs < 12.0.0 / react < 17.0.2 (#1983)
and node < 14 (#1974).