Skip to content

Latest commit

 

History

History
95 lines (58 loc) · 3.01 KB

CHANGELOG.md

File metadata and controls

95 lines (58 loc) · 3.01 KB

13.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).

12.1.0

  • fix: appWithTranslation re-renders _app when the locale is changed (#1954)
  • feat: introduce onPreInitI18next option (#1960)

12.0.1

  • fix: fallbackLng if namespaces are undefined (#1943 closes #1941)

12.0.0

Why a major version? The following changes could lead to more languages being loaded, which could increase the page size.

  • feat: improve fallback language handling (#1927)
  • feat: add support for nonExplicitSupportedLngs (#1930)

11.3.0

  • feat: introduce extraLocales (#1916)

11.2.2

  • fix: pass namespaces to the client also for custom backends (#1913)

11.2.1

  • fix: pass namespaces to the client (#1912 closes #1839)

11.2.0

  • feat: support nested namespace structure (#1911)

11.1.1

  • fix: remove postinstall script

11.1.0

  • first release with new project ownership
  • update most dependencies
  • update docs and example
  • feat: support default locale by ignoring it (#1679)

11.0.0

Features:

  • Allow client side translation loading (8132efd)

Documentation:

  • Link to react-i18next config options (422a0f3)