react-i18next breaking changes
Updated December 4, 2026
On this page
Latest version 18.0.3, released November 19, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
- From 17.1.12 to 18.0.3: 39 breaking changes in 3 versions.
- From 12.0.0 to 18.0.3: 99 breaking changes in 29 versions.
react-i18next 18.0.3 breaking changes
- Behavior changed
Trans
Trans with children no longer interpolates a second time, so a placeholder passed in a value stays as written. Check any code that relied on the old double filling. github.com
react-i18next 18.0.1 breaking changes
- Configuration changed
react-i18next now requires i18next 27.0.1 or later as a peer dependency. Upgrade i18next to at least 27.0.1 before updating react-i18next. github.com
react-i18next 18.0.0 breaking changes
- Removed
AMD build
AMD loaders can use the UMD file instead. github.com - Removed
date
Placeholder exports date, time, number, select, plural and selectOrdinal are removed from the main entry. github.com - Removed
HTMLAttributes['children']
With allowObjectInHTMLChildren true, add import 'react-i18next/augment-react'. github.com - Removed
icu.macro:date
date was removed in react-i18next 18.0.0 npmjs.com - Removed
icu.macro:NoChildren
NoChildren was removed in react-i18next 18.0.0 npmjs.com - Removed
icu.macro:number
number was removed in react-i18next 18.0.0 npmjs.com - Removed
icu.macro:plural
plural was removed in react-i18next 18.0.0 npmjs.com - Removed
icu.macro:Plural
Plural was removed in react-i18next 18.0.0 npmjs.com - Removed
icu.macro:PluralProps
PluralProps was removed in react-i18next 18.0.0 npmjs.com - Removed
icu.macro:PluralSubProps
PluralSubProps was removed in react-i18next 18.0.0 npmjs.com
And 27 more in this version. Sign up to see every change
react-i18next 17.1.12 breaking changes
- Signature changed
TransProps
The exported TransProps type no longer has the Ret parameter added in 17.0.2, so its 6th parameter is the element props E again. Code that passes a Ret type argument to TransProps must remove it. npmjs.com - Signature changed
TransWithoutContext:TransLegacy.__call
Was <const Key extends ParseKeys<Ns, TOpt, KPrefix>, Ns extends Namespace = _DefaultNamespace, KPrefix = undefined, TContext extends string | undefined = undefined, TOpt extends TOptions & {context?: TContext} = {context: TContext}, Ret... npmjs.com
react-i18next 17.1.10 breaking changes
- Behavior changed
Trans
Values inserted by Trans are now escaped and rendered as text, so markup in a value is no longer turned into components. Entities written in translations, such as &, are now decoded instead of shown literally, so check any translation... github.com
react-i18next 17.1.8 breaking changes
- Behavior changed
Trans
An interpolation object whose only key is format is now read as a variable instead of being dropped. Without an i18nKey, the key derived from the children changes, so existing translation keys based on that text may need updating. github.com
Older versions
24 older versions, each with its first changes. Sign up to see every change
Show 24 older versions
react-i18next 17.1.7 breaking changes
- Behavior changed
IcuTrans
Escaped numeric entities such as &#169; now render as the literal text © instead of ©. Code that relied on the old double decoding must be updated to match the new output. github.com
react-i18next 17.1.0 breaking changes
- Behavior changed
IcuTrans
With parseInterpolation set to 'icu' or 'mf2', the values prop of IcuTrans is typed from the message of i18nKey, so misspelled, mistyped or mismatched values now fail type checking. Fix any values that no longer match the message. github.com - Behavior changed
IcuTransWithoutContext
With parseInterpolation set to 'icu' or 'mf2', the values prop of IcuTransWithoutContext is typed from the message of i18nKey, so misspelled, mistyped or mismatched values now fail type checking. Fix any values that no longer match the... github.com
And 4 more in this version.
react-i18next 17.0.21 breaking changes
- Behavior changed
IcuTrans
Names set both in values and in defaultVariables now render the value passed in values, as in t(). Code that relied on the default variable winning must change. github.com - Behavior changed
Trans
Names set both in values and in defaultVariables now render the value passed in values, as in t(). Code that relied on the default variable winning must change. github.com
react-i18next 17.0.18 breaking changes
- Behavior changed
Trans
With shouldUnescape, and   now become U+00A0 instead of a regular space, which can change snapshots or exact textContent comparisons. A custom react.unescape function can restore the old mapping for text nodes. github.com
react-i18next 17.0.16 breaking changes
- Behavior changed
Trans
When the primary namespace has a nested object named like a secondary namespace, a selector key such as $ => $.ns2.message in Trans now resolves to ns2:message, as t() already does. Check Trans keys that point into nested objects. github.com
react-i18next 17.0.15 breaking changes
- Behavior changed
Trans
Empty paired component tags in Trans now keep a single React element child instead of rendering empty. If that element contains an interpolation object, it can now throw a React rendering error where it previously rendered empty, so check... github.com
react-i18next 17.0.13 breaking changes
- Signature changed
useTranslation
Was const useTranslation: _EnableSelector extends true | 'optimize' ? UseTranslationSelector : UseTranslationLegacy; now const useTranslation: _EnableSelector extends true | 'optimize' | 'strict' ? UseTranslationSelector... npmjs.com
react-i18next 17.0.12 breaking changes
- Signature changed
TransWithoutContext:TransSelector.__call
Was <Target extends ConstrainTarget<TOpt>, Key extends | SelectorFn<GetSource<$NoInfer<Ns>, KPrefix>, ApplyTarget<Target, TOpt>, TOpt> | SelectorKey, const Ns extends Namespace = _DefaultNamespace, KPrefix = undefined, TContext extends... npmjs.com
react-i18next 17.0.10 breaking changes
- Signature changed
ErrorCode
Was type ErrorCode = | 'NO_I18NEXT_INSTANCE' | 'NO_LANGUAGES' | 'DEPRECATED_OPTION' | 'TRANS_NULL_VALUE' | 'TRANS_INVALID_OBJ' | 'TRANS_INVALID_VAR' | 'TRANS_INVALID_COMPONENTS' | 'USE_T_BEFORE_READY'; now type ErrorCode = |... npmjs.com
react-i18next 17.0.9 breaking changes
- Signature changed
IcuTransWithoutContextProps
Was type IcuTransWithoutContextProps<Key extends ParseKeys<Ns, TOpt, KPrefix>, Ns extends Namespace = _DefaultNamespace, KPrefix = undefined, TContext extends string | undefined = undefined, TOpt extends TOptions & {context?: TContext} =... npmjs.com - Signature changed
IcuTransWithoutContextProps.ns
Was ns?: Ns; now ns?: Ns | (Ns extends readonly (infer S extends string)[] ? S : never). npmjs.com
And 2 more in this version.
react-i18next 17.0.8 breaking changes
- Signature changed
Trans
Was const Trans: _EnableSelector extends true | 'optimize' ? TransSelector : TransLegacy; now const Trans: _EnableSelector extends true | 'optimize' | 'strict' ? TransSelector : TransLegacy. npmjs.com
react-i18next 17.0.6 breaking changes
- Behavior changed
nodesToString
The nodesToString output reverts to the v17 format that 17.0.5 had changed, so extracted translation strings for keep-tags wrapping non-keep elements change back. Code that relied on the 17.0.5 output should recheck its extracted strings. github.com
react-i18next 17.0.2 breaking changes
- Signature changed
TransProps
Was type TransProps<Key extends ParseKeys<Ns, TOpt, KPrefix>, Ns extends Namespace = _DefaultNamespace, KPrefix = undefined, TContext extends string | undefined = undefined, TOpt extends TOptions & {context?: TContext} = {context... npmjs.com - Signature changed
TransWithoutContext:TransLegacy.__call
Was <Key extends ParseKeys<Ns, TOpt, KPrefix>, Ns extends Namespace = _DefaultNamespace, KPrefix = undefined, TContext extends string | undefined = undefined, TOpt extends TOptions & {context?: TContext} = {context: TContext}, E =... npmjs.com
react-i18next 17.0.0 breaking changes
- Behavior changed
transKeepBasicHtmlNodesFor
HTML tags kept by transKeepBasicHtmlNodesFor are now preserved by name when their children contain interpolations, so auto-generated keys change. Update translation files that use the old indexed tag keys. github.com
react-i18next 16.6.6 breaking changes
- Configuration changed
The i18next peer dependency is now `>= 25.10.9`, so projects on older i18next versions must upgrade i18next to install or use this release. github.com
react-i18next 16.6.3 breaking changes
- Signature changed
TransWithoutContext:TransSelector.__call
Was (props: TransSelectorProps<SelectorKey> & Record<string, any>): React.ReactElement <Target extends ConstrainTarget<TOpt>, Key extends SelectorFn<GetSource<$NoInfer<Ns>, KPrefix>, ApplyTarget<Target, TOpt>, TOpt>, const Ns extends... npmjs.com
react-i18next 16.6.0 breaking changes
- Signature changed
ErrorCode
Was type ErrorCode = | 'NO_I18NEXT_INSTANCE' | 'NO_LANGUAGES' | 'DEPRECATED_OPTION' | 'TRANS_NULL_VALUE' | 'TRANS_INVALID_OBJ' | 'TRANS_INVALID_VAR' | 'TRANS_INVALID_COMPONENTS'; now type ErrorCode = | 'NO_I18NEXT_INSTANCE' |... npmjs.com - Signature changed
TransProps
Was type TransProps<Key extends ParseKeys<Ns, TOpt, KPrefix>, Ns extends Namespace = _DefaultNamespace, KPrefix = undefined, TContext extends string | undefined = undefined, TOpt extends TOptions & {context?: TContext} = {context... npmjs.com
And 1 more in this version.
react-i18next 16.5.7 breaking changes
- Signature changed
TransSelectorProps.defaults
Was defaults?: string; now defaults?: string | Key. npmjs.com - Signature changed
TransSelectorProps.i18nKey
Was i18nKey?: Key; now i18nKey?: Key | readonly Key[]. npmjs.com
react-i18next 16.5.2 breaking changes
- Signature changed
IcuTransComponent.__call
Was <Key extends ParseKeys<Ns, TOpt, KPrefix> = string, Ns extends Namespace = _DefaultNamespace, KPrefix = undefined, TContext extends string | undefined = undefined, TOpt extends TOptions & {context?: TContext} = {context... npmjs.com - Signature changed
IcuTransProps
Was type IcuTransProps<Key extends ParseKeys<Ns, TOpt, KPrefix> = string, Ns extends Namespace = _DefaultNamespace, KPrefix = undefined, TContext extends string | undefined = undefined, TOpt extends TOptions & {context?: TContext} =... npmjs.com
And 2 more in this version.
react-i18next 16.3.1 breaking changes
- Behavior changed
t
The earlier fix for inconsistent Trans and t behaviour is reverted, so t is back to its previous handling of defaultValue when it is not set. Check code that relied on the 16.3.0 behaviour. github.com - Behavior changed
Trans
The earlier fix for inconsistent Trans and t behaviour is reverted, so Trans no longer sets defaultValue when the t call does not set it. Check code that relied on the 16.3.0 behaviour. github.com
react-i18next 16.1.5 breaking changes
- Behavior changed
Trans
Trans falls back to the defaultValue passed via tOptions when the t call does not set one, so missing-key output can change. Check Trans usages that rely on the previous fallback behaviour. github.com
react-i18next 15.0.0 breaking changes
- Configuration changed
The package now requires i18next newer than v19.4.5. Users on older i18next versions must upgrade it. github.com
react-i18next 13.0.0 breaking changes
- Renamed
TransWithoutContext:DefaultNamespace
Use _DefaultNamespace instead. npmjs.com - Behavior changed
The TypeScript types were updated to support the redesigned t function, which may cause type errors in existing code. The release also requires i18next version 23.0.1 or later. github.com
And 15 more in this version.
react-i18next 12.0.0 breaking changes
- Removed
CustomTypeOptions
CustomTypeOptions was removed in react-i18next 12.0.0 npmjs.com - Removed
CustomTypeParameters
CustomTypeParameters was removed in react-i18next 12.0.0 npmjs.com
And 29 more in this version.
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.