Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: i18next/react-i18next
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v13.2.1
Choose a base ref
...
head repository: i18next/react-i18next
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v13.2.2
Choose a head ref
  • 3 commits
  • 4 files changed
  • 2 contributors

Commits on Sep 3, 2023

  1. Copy the full SHA
    0118b36 View commit details
  2. prepare release

    adrai committed Sep 3, 2023
    Copy the full SHA
    499ca64 View commit details
  3. 13.2.2

    adrai committed Sep 3, 2023
    Copy the full SHA
    da7fab8 View commit details
Showing with 11 additions and 4 deletions.
  1. +4 −0 CHANGELOG.md
  2. +4 −1 index.d.ts
  3. +2 −2 package-lock.json
  4. +1 −1 package.json
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 13.2.2

- Fix missing TransWithoutContext type [1672](https://github.com/i18next/react-i18next/pull/1672)

### 13.2.1

- types: Allow iterable ReactI18NextChildren as children [1669](https://github.com/i18next/react-i18next/pull/1669)
5 changes: 4 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
@@ -10,9 +10,12 @@ import type {
KeyPrefix,
} from 'i18next';
import * as React from 'react';
export { Trans, TransProps } from './TransWithoutContext';
import { Trans, TransProps } from './TransWithoutContext';
export { initReactI18next } from './initReactI18next';

export const TransWithoutContext: typeof Trans;
export { Trans, TransProps }

export function setDefaults(options: ReactOptions): void;
export function getDefaults(): ReactOptions;
export function setI18n(instance: i18n): void;
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-i18next",
"version": "13.2.1",
"version": "13.2.2",
"description": "Internationalization for react done right. Using the i18next i18n ecosystem.",
"main": "dist/commonjs/index.js",
"types": "./index.d.ts",