Skip to content

Releases: i18next/next-i18next

v13.1.1

02 Feb 20:42
Compare
Choose a tag to compare
  • log config path if no config found

v13.1.0

02 Feb 15:02
Compare
Choose a tag to compare
  • feat(server-side): custom default config path #2084

v13.0.3

03 Jan 16:15
Compare
Choose a tag to compare
  • Error if custom localeStructure provided, but no ns option defined.

v13.0.2

15 Dec 12:20
Compare
Choose a tag to compare

Fix

  • Types: DefaultNamespace import, see #2061.

v13.0.1

12 Dec 10:48
Compare
Choose a tag to compare

Fix

  • Fix missing i18n.localeDetection in UserConfig, see #2057.
  • Update examples to latest i18next in #2058

Caution

If you're experiencing typecheck errors regarding keys: ensure i18next is at least ^22.4.3 in your
package.json (then run install), see #2058.

v13.0.0

19 Nov 13:07
Compare
Choose a tag to compare

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

v12.1.0

30 Sep 09:13
Compare
Choose a tag to compare
  • fix: appWithTranslation re-renders _app when the locale is changed (#1954)
  • feat: introduce onPreInitI18next option (#1960)

v12.0.1

04 Sep 15:25
Compare
Choose a tag to compare
  • fix: fallbackLng if namespaces are undefined (#1943 closes #1941)

v12.0.0

21 Aug 14:53
Compare
Choose a tag to compare

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)

v11.3.0

22 Jul 14:27
Compare
Choose a tag to compare
  • feat: introduce extraLocales (#1916)