i18next breaking changes
Updated December 4, 2026
On this page
Latest version 27.2.11, released December 4, 2026. Source repository
Its 27.0.0 release requires Node.js 22 or later. Node.js end of life dates.
- From 26.7.0 to 27.2.8: 164 breaking changes in 9 versions.
- From 23.7.13 to 27.2.8: 343 breaking changes in 73 versions.
i18next 27.2.8 breaking changes
- Signature changed
ContextOfKey
Was type ContextOfKey<Key extends string, Ns extends Namespace = DefaultNamespace, TOpt extends TOptions = {}, KPrefix = undefined, Keys extends $Dictionary = KeysByTOptions<TOpt>, ActualNS extends Namespace = NsByTOptions<Ns, TOpt>... npmjs.com - Signature changed
TFunctionNonStrict.__call
Was <const Key extends ParseKeys<Ns, TOpt, EffectiveKPrefix<KPrefix, TOpt>> | TemplateStringsArray, const TOpt extends TOptions, Ret extends TFunctionReturn<Ns, AppendKeyPrefix<Key, EffectiveKPrefix<KPrefix, TOpt>>, TOpt>, const... npmjs.com - Signature changed
TFunctionStrict.__call
Was <const Key extends ParseKeys<Ns, TOpt, EffectiveKPrefix<KPrefix, TOpt>> | TemplateStringsArray, const TOpt extends TOptions, Ret extends TFunctionReturn<Ns, AppendKeyPrefix<Key, EffectiveKPrefix<KPrefix, TOpt>>, TOpt>>(key: Key |... npmjs.com
i18next 27.2.6 breaking changes
- Behavior changed
t
An empty plural defaultValue such as defaultValue_zero: '' is now returned as '' instead of falling back to the other form, and saveMissing saves '' for it. Code relying on the old fallback should check its default values. github.com
i18next 27.2.5 breaking changes
- Signature changed
LoggerModule.error
LoggerModule's log, warn and error are typed to take one array, matching how i18next calls them. Loggers typed with rest parameters must accept an array instead. npmjs.com - Signature changed
LoggerModule.log
LoggerModule's log, warn and error are typed to take one array, matching how i18next calls them. Loggers typed with rest parameters must accept an array instead. npmjs.com - Signature changed
LoggerModule.warn
LoggerModule's log, warn and error are typed to take one array, matching how i18next calls them. Loggers typed with rest parameters must accept an array instead. npmjs.com
i18next 27.2.4 breaking changes
- Signature changed
BackendModule.create
The types now include the fifth and sixth parameters i18next passes to create. A backend that forwards its arguments to a create typed with exactly four parameters now fails to compile and must be updated. npmjs.com - Signature changed
i18n.getFixedT
Was getFixedT<Ns extends Namespace | null = DefaultNamespace, TKPrefix extends KeyPrefix<ActualNs> = undefined, ActualNs extends Namespace = Ns extends null ? DefaultNamespace : Ns>(...args: | [lng: string | readonly string[], ns?: Ns... npmjs.com
i18next 27.2.2 breaking changes
- Behavior changed
t
Resources typed with named interfaces now produce the same nested keys as type aliases, so t('nested') without returnObjects no longer compiles for them. Use a nested key such as t('nested.key') or pass returnObjects. github.com - Signature changed
AppendKeyPrefix
Was type AppendKeyPrefix<Key, KPrefix> = KPrefix extends string ? `${KPrefix}${_KeyPrefixSeparator}${Key & string}` : Key; now type AppendKeyPrefix<Key, KPrefix> = _NoStrictNullChecks extends true ? [KPrefix] extends [undefined] ? Key... npmjs.com - Signature changed
FilterKeysByContext
Was type FilterKeysByContext<Keys, Context> = Context extends string ? Keys extends | `${infer Prefix}${_ContextSeparator}${Context}${_PluralSeparator}${PluralSuffix}` | `${infer Prefix}${_ContextSeparator}${Context}` ? Prefix : never... npmjs.com - Signature changed
GetSource
Was type GetSource<Ns extends Namespace, KPrefix, Res = NsResource<Ns>> = KPrefix extends (...args: any[]) => any ? SelectorReturnSource<KPrefix, Res> : KPrefix extends keyof Res ? Res[KPrefix] : undefined extends KPrefix ? Res... npmjs.com - Signature changed
KeysBuilderWithoutReturnObjects
Was type KeysBuilderWithoutReturnObjects<Res, Key = keyof $OmitArrayKeys<Res>> = Key extends _KeysOf<Res> ? Res[Key] extends $Dictionary | readonly unknown[] ? JoinKeys<Key, KeysBuilderWithoutReturnObjects<Res[Key]>> : Key : never; now... npmjs.com - Signature changed
KeysBuilderWithReturnObjects
Was type KeysBuilderWithReturnObjects<Res, Key = keyof Res> = Key extends _KeysOf<Res> ? Res[Key] extends $Dictionary | readonly unknown[] ? | JoinKeys<Key, WithOrWithoutPlural<keyof $OmitArrayKeys<Res[Key]>>> | JoinKeys<Key... npmjs.com - Signature changed
KeyWithContext
Was type KeyWithContext<Key, TOpt extends TOptions> = TOpt['context'] extends string ? `${Key & string}${_ContextSeparator}${TOpt['context']}` : Key; now type KeyWithContext<Key, TOpt extends TOptions> = _NoStrictNullChecks extends true ?... npmjs.com - Signature changed
NsByTOptions
Was type NsByTOptions<Ns extends Namespace, TOpt extends TOptions> = TOpt['ns'] extends Namespace ? TOpt['ns'] : Ns; now type NsByTOptions<Ns extends Namespace, TOpt extends TOptions> = TOpt['ns'] extends Namespace ? _NoStrictNullChecks... npmjs.com - Signature changed
ParseKeysByKeyPrefix
Was type ParseKeysByKeyPrefix<Keys, KPrefix> = KPrefix extends string ? Keys extends `${KPrefix}${_KeyPrefixSeparator}${infer Key}` ? Key : never : Keys; now type ParseKeysByKeyPrefix<Keys, KPrefix> = _NoStrictNullChecks extends true ?... npmjs.com
i18next 27.2.0 breaking changes
- Behavior changed
An error thrown by a load callback or listener is no longer passed to the backend connector as a failed read. It is now thrown from the call that started the load, or becomes an unhandled rejection for promise-based reads, which can end a... github.com - Behavior changed
addResourceBundle
With overwrite set, numbers, booleans and null values in the resources now replace existing values and nested objects, where previously only strings were replaced. Code relying on existing numbers or booleans being kept must be checked. github.com
Older versions
68 older versions, each with its first changes. Sign up to see every change
Show 68 older versions
i18next 27.1.4 breaking changes
- Signature changed
FilterKeys
Was type FilterKeys<T, Context> = [T] extends [readonly any[]] ? {[I in keyof T]: FilterKeys<T[I], Context>} : T extends any ? FilterKeysObject<T, Context> : never; now type FilterKeys<T, Context> = T extends readonly any[] ? 0 extends 1 &... npmjs.com
i18next 27.1.0 breaking changes
- Behavior changed
exists
When a plural form such as _many is filled in from _other, exists() no longer reports it as missing. Code that depended on the old result must be updated. github.com - Behavior changed
missingKeyHandler
When a plural form such as _many is filled in from _other, missingKeyHandler is no longer called for it. Code that relied on that callback for these keys must be updated. github.com
And 1 more in this version.
i18next 27.0.0 breaking changes
- Removed
Support for older Node.js versions is dropped; CI tests 22, 24 and 26. github.com - Removed
The _ and $ helper types in typescript/t.d.ts and typescript/options.d.ts are no longer importable. github.com
And 138 more in this version.
i18next 26.7.0 breaking changes
- Behavior changed
Language codes that fail isSafeLanguageCode and are not configured log a deprecation warning. In v27 they will be refused and treated as unsupported. github.com - Behavior changed
In v27 each instance has its own logger and post-processors, while v26 shares them. Call use() on each instance that needs a post-processor. github.com
And 12 more in this version.
i18next 26.6.0 breaking changes
- Behavior changed
t
Calls passing an array of selectors with defaultValue are now typed as the literal union of values and the default value instead of string. Code that relied on the string type may need adjusting. github.com - Signature changed
_IfOptionalOptions
Was type _IfOptionalOptions<Ret> = _ParsesMessageFormat extends true ? {} extends InterpolationMap<Ret> ? unknown : {'pass these arguments as t() options': InterpolationMap<Ret>} : unknown; now type _IfOptionalOptions<Ret> =... npmjs.com
And 5 more in this version.
i18next 26.5.12 breaking changes
- Behavior changed
t
The selector type filter was reworked for speed. A type error on a selector now shows a different type name, an object whose values are all null or undefined is kept as {} instead of being dropped, and a null key next to its plural forms... github.com - Signature changed
FilterKeysObject
Was type FilterKeysObject<T, Context> = $Prune<{[K in keyof T as T[K] extends object ? K : [Context] extends [string] ? K extends | `${string}${_ContextSeparator}${Context}` |... npmjs.com
i18next 26.5.11 breaking changes
- Behavior changed
getResource
When a nested value is false, 0 or '' and a flat key with the same dotted name exists, getResource now returns the nested value instead of the flat key's value. Code relying on the flat key's value must be updated. github.com - Behavior changed
t
When a nested value is false, 0 or '' and a flat key with the same dotted name exists, t now returns the nested value instead of the flat key's value. Code relying on the flat key's value must be updated. github.com
i18next 26.5.10 breaking changes
- Behavior changed
supportedLngs
When no detected language is in supportedLngs, a two-letter code no longer matches a longer supported code that extends it, such as ar to arz-EG. Add the two-letter code to supportedLngs or map it with fallbackLng if your code relied on... github.com
i18next 26.5.9 breaking changes
- Behavior changed
exists
Nested keys named like inherited methods, such as roles.valueOf, are now treated as missing, so exists() returns false for them and the fallback language and missing key handling apply. Code that relied on these returning values must... github.com
i18next 26.5.5 breaking changes
- Behavior changed
t
With the default skipOnVariables: true, placeholders inside values inserted with {{- var}} now stay literal instead of being filled from the same t() call. Set skipOnVariables: false to keep the old behavior. github.com
i18next 26.5.3 breaking changes
- Signature changed
t
With the selector API, a plural key called with an explicit ns must now pass count, or the code no longer compiles. Add count to such calls. github.com - Signature changed
TFunctionSelector.__call
Was <Target extends ConstrainTarget<Opts>, const NewNs extends NsArg<Ns> & Namespace, const Opts extends SelectorOptions<NewNs>, NewSrc extends GetSource<NewNs, KPrefix>>(selector: | SelectorFn<NewSrc, ApplyTarget<Target, Opts>, Opts> |... npmjs.com
i18next 26.5.2 breaking changes
- Signature changed
TFunctionNonStrict.__call
Was <const Key extends ParseKeys<Ns, TOpt, EffectiveKPrefix<KPrefix, TOpt>> | TemplateStringsArray, const TOpt extends TOptions, Ret extends TFunctionReturn<Ns, AppendKeyPrefix<Key, EffectiveKPrefix<KPrefix, TOpt>>, TOpt>, const... npmjs.com
i18next 26.5.1 breaking changes
- Signature changed
_HasContextVariant
Was type _HasContextVariant<T, K extends string, Context> = [keyof _DefinedContextKeys<T, | `${K}${_ContextSeparator}${Context & string}` | `${K}${_ContextSeparator}${Context & string}${_PluralSeparator}${PluralSuffix}`>] extends [never] ?... npmjs.com - Signature changed
_IsContextualKey
Was type _IsContextualKey<T, K extends string> = [Exclude<keyof _DefinedContextKeys<T, `${K}${_ContextSeparator}${string}`>, | `${K}${_PluralSeparator}${PluralSuffix}` | `${K}${_PluralSeparator}ordinal${_PluralSeparator}${PluralSuffix}`>]... npmjs.com
And 5 more in this version.
i18next 26.5.0 breaking changes
- Signature changed
InterpolationMap
Was type InterpolationMap<Ret> = $PreservedValue<_InterpolationMapFromEntries<ParseInterpolationEntries<Ret>>, Record<string, unknown>>; now type InterpolationMap<Ret> = [_ParseInterpolation] extends ['icu'] ?... npmjs.com - Signature changed
ParseInterpolationEntries
Was type ParseInterpolationEntries<Ret> = [_ParseInterpolation] extends [false] ? never : Ret extends `${string}${_InterpolationPrefix}${infer Value}${_InterpolationSuffix}${infer Rest}` ? | (Value extends `${infer ActualValue}, ${infer... npmjs.com
And 3 more in this version.
i18next 26.4.7 breaking changes
- Behavior changed
clone.loadNamespaces
loadNamespaces() on a clone now loads the new namespace only for the clone's language and fallbacks, not every preloaded language. Pass preload to cloneInstance() to keep the old behavior. github.com - Behavior changed
cloneInstance
Clones now load only the languages they use, so changeLanguage() no longer waits for parent preload languages still loading. To keep the old behavior, pass preload to cloneInstance(). github.com
i18next 26.4.4 breaking changes
- Behavior changed
The nesting regexp no longer matches a single " or ' inside unquoted parentheses within $t(...). Code relying on such strings being nested must quote or restructure them. github.com - Behavior changed
nest() now resolves $t(...) in a single pass, so a $t(...) inside a variable kept literal by skipOnVariables stays literal rather than being resolved by the outer loop. With skipOnVariables: false it is still resolved. github.com
i18next 26.4.3 breaking changes
- Behavior changed
ResourceStore.hasLanguageSomeTranslations
ResourceStore.hasLanguageSomeTranslations() now caches bundles already found non-empty, so a bundle emptied by deleting every key while still in the store keeps reporting translations. Use removeResourceBundle() to clear a bundle. github.com
i18next 26.4.1 breaking changes
- Signature changed
i18n.getFixedT
Was getFixedT<Ns extends Namespace | null, const TKPrefixFn extends (TypeOptions['enableSelector'] extends true | 'optimize' ? KeyPrefixSelector<ActualNs> : never), ActualNs extends Namespace = Ns extends null ? DefaultNamespace : Ns>(lng... npmjs.com
i18next 26.4.0 breaking changes
- Behavior changed
toResolveHierarchy
Results of toResolveHierarchy are cached per language and fallback pair. Changing load, lowerCaseLng, cleanCode or nonExplicitSupportedLngs at runtime now needs a call to i18next.services.languageUtils.clearCache() to take effect; changes... github.com - Signature changed
DefaultTReturn
Was type DefaultTReturn<TOpt extends {returnObjects?: unknown}> = | TReturnOptionalObjects<TOpt> | TReturnOptionalNull; now type DefaultTReturn<TOpt extends {returnObjects?: unknown}> = TReturnOptionalObjects<TOpt> | TReturnOptionalNull. npmjs.com
And 1 more in this version.
i18next 26.3.3 breaking changes
- Signature changed
_HasContextVariant
Was type _HasContextVariant<T, K extends string, Context> = [keyof T & (| `${K}${_ContextSeparator}${Context & string}` | `${K}${_ContextSeparator}${Context & string}${_PluralSeparator}${PluralSuffix}`)] extends [never] ? false : true; now... npmjs.com - Signature changed
_IsContextualKey
Was type _IsContextualKey<T, K extends string> = [Exclude<keyof T & `${K}${_ContextSeparator}${string}`, | `${K}${_PluralSeparator}${PluralSuffix}` | `${K}${_PluralSeparator}ordinal${_PluralSeparator}${PluralSuffix}`>] extends [never] ?... npmjs.com
And 1 more in this version.
i18next 26.3.1 breaking changes
- Signature changed
KeysBuilderWithoutReturnObjects
Was type KeysBuilderWithoutReturnObjects<Res, Key = keyof $OmitArrayKeys<Res>> = [Res] extends [never] ? never : Key extends keyof Res ? Res[Key] extends $Dictionary | readonly unknown[] ? JoinKeys<Key... npmjs.com - Signature changed
KeysBuilderWithReturnObjects
Was type KeysBuilderWithReturnObjects<Res, Key = keyof Res> = [Res] extends [never] ? never : Key extends keyof Res ? Res[Key] extends $Dictionary | readonly unknown[] ? | JoinKeys<Key, WithOrWithoutPlural<keyof $OmitArrayKeys<Res[Key]>>>... npmjs.com
i18next 26.3.0 breaking changes
- Signature changed
KeysBuilderWithoutReturnObjects
Was type KeysBuilderWithoutReturnObjects<Res, Key = keyof $OmitArrayKeys<Res>> = Key extends keyof Res ? Res[Key] extends $Dictionary | readonly unknown[] ? JoinKeys<Key, KeysBuilderWithoutReturnObjects<Res[Key]>> : Key : never; now type... npmjs.com - Signature changed
KeysBuilderWithReturnObjects
Was type KeysBuilderWithReturnObjects<Res, Key = keyof Res> = Key extends keyof Res ? Res[Key] extends $Dictionary | readonly unknown[] ? | JoinKeys<Key, WithOrWithoutPlural<keyof $OmitArrayKeys<Res[Key]>>> | JoinKeys<Key... npmjs.com
And 2 more in this version.
i18next 26.2.0 breaking changes
- Signature changed
ParseInterpolationEntries
Was type ParseInterpolationEntries<Ret> = Ret extends `${string}${_InterpolationPrefix}${infer Value}${_InterpolationSuffix}${infer Rest}` ? | (Value extends `${infer ActualValue}, ${infer Format}` ? [ParseActualValue<ActualValue>... npmjs.com - Signature changed
TypeOptions
Was type TypeOptions = $MergeBy<{returnNull: false; returnEmptyString: true; returnObjects: false; keySeparator: '.'; nsSeparator: ':'; pluralSeparator: '_'; contextSeparator: '_'; defaultNS: 'translation'; fallbackNS: false... npmjs.com
i18next 26.1.0 breaking changes
- Signature changed
NsResource
Was type NsResource<Ns extends Namespace> = Ns extends readonly [keyof Resources, any, ...any] ? Resources[Ns[0]] & PickNamespaces<Resources, Ns[number]> : Resources[$FirstNamespace<Ns>]; now type NsResource<Ns extends Namespace> =... npmjs.com - Signature changed
TFunctionSignature
Was type TFunctionSignature<Ns extends Namespace = DefaultNamespace, KPrefix = undefined> = _EnableSelector extends true | 'optimize' ? TFunctionSelector<Ns, KPrefix, GetSource<Ns, KPrefix>> : _StrictKeyChecks extends true ?... npmjs.com
i18next 26.0.9 breaking changes
- Signature changed
_ResolveEntryType
Was type _ResolveEntryType<Name extends string, Format> = [Format] extends [never] ? Name extends 'count' ? number : string : Format extends keyof _InterpolationFormatTypeMap ? _InterpolationFormatTypeMap[Format]... npmjs.com
i18next 26.0.8 breaking changes
- Signature changed
i18n.exists
Was exists: ExistsFunction; now exists: {<K extends string>(key: K, options?: TOptions): key is K & SelectorKey; (key: string | string[], options?: TOptions): boolean;}. npmjs.com
i18next 26.0.7 breaking changes
- Removed
dist.esm.i18next.bundled.js
The file was byte-identical to dist/esm/i18next.js, so it is no longer published. Code that imports this path must import dist/esm/i18next.js instead. github.com
i18next 26.0.6 breaking changes
- Behavior changed
String log arguments now have CR, LF, NUL and other control characters removed, so log output differs for keys, languages, namespaces and variable names containing them. github.com
i18next 26.0.4 breaking changes
- Signature changed
_ResolveEntryType
Was type _ResolveEntryType<Name extends string, Format> = [Format] extends [never] ? Name extends 'count' ? number : string : Format extends keyof _InterpolationFormatTypeMap ? _InterpolationFormatTypeMap[Format] : Format extends keyof... npmjs.com
i18next 26.0.3 breaking changes
- Signature changed
i18n.addResourceBundle
Was addResourceBundle(lng: string, ns: string, resources: any, deep?: boolean, overwrite?: boolean): i18n; now addResourceBundle(lng: string, ns: string, resources: any, deep?: boolean, overwrite?: boolean, options?: {silent?: boolean... npmjs.com
i18next 26.0.2 breaking changes
- Signature changed
TFunctionNonStrict.__call
Was <const Key extends ParseKeys<Ns, TOpt, EffectiveKPrefix<KPrefix, TOpt>> | TemplateStringsArray, const TOpt extends TOptions, Ret extends TFunctionReturn<Ns, AppendKeyPrefix<Key, EffectiveKPrefix<KPrefix, TOpt>>, TOpt>, const... npmjs.com - Signature changed
TFunctionStrict.__call
Was <const Key extends ParseKeys<Ns, TOpt, EffectiveKPrefix<KPrefix, TOpt>> | TemplateStringsArray, const TOpt extends TOptions, Ret extends TFunctionReturn<Ns, AppendKeyPrefix<Key, EffectiveKPrefix<KPrefix, TOpt>>, TOpt>>(key: Key |... npmjs.com
i18next 26.0.0 breaking changes
- Removed
CloneOptions.initImmediate
Use initAsync instead. npmjs.com - Removed
CloneOptions.showSupportNotice
CloneOptions.showSupportNotice was removed in i18next 26.0.0 npmjs.com
And 9 more in this version.
i18next 25.10.5 breaking changes
- Signature changed
GetSource
Was type GetSource<Ns extends Namespace, KPrefix, Res = Ns extends readonly [keyof Resources, any, ...any] ? Resources[Ns[0]] & PickNamespaces<Resources, Ns[number]> : Resources[$FirstNamespace<Ns>]> = KPrefix extends keyof Res ?... npmjs.com
i18next 25.10.3 breaking changes
- Configuration changed
The release now also checks the I18NEXT_NO_SUPPORT_NOTICE environment variable to suppress the support notice. Existing code is not affected unless it relies on the notice being shown. github.com
i18next 25.10.2 breaking changes
- Signature changed
keyFromSelector
Was function keyFromSelector<S = Record<string, any>>(selector: ($: S) => any): SelectorKey; now const keyFromSelector: KeyFromSelectorFn. npmjs.com
i18next 25.10.1 breaking changes
- Behavior changed
FilterKeys
FilterKeys now excludes base keys that have context variants when the given context matches none of them. Code that relied on those keys type-checking with a non-matching context must change. github.com - Signature changed
FilterKeys
Was type FilterKeys<T, Context> = never | T extends readonly any[] ? {[I in keyof T]: FilterKeys<T[I], Context>} : $Prune<{[K in keyof T as T[K] extends object ? K : [Context] extends [string] ? K extends |... npmjs.com
i18next 25.10.0 breaking changes
- Behavior changed
Interpolation values are now type-checked based on built-in format specifiers, such as requiring a number for {{val, number}} and a string for {{name}}. Typed code that passes other value types must be updated to match, or custom... github.com - Signature changed
FilterKeys
Was type FilterKeys<T, Context> = never | T extends readonly any[] ? {[I in keyof T]: FilterKeys<T[I], Context>} : $Prune<{[K in keyof T as T[K] extends object ? K : Context extends string ? never : K extends... npmjs.com
And 8 more in this version.
i18next 25.9.0 breaking changes
- Behavior changed
Calls to the selector API for a key that resolves to plural forms must now pass a numeric count, or TypeScript reports an error. github.com - Behavior changed
Context option values that are string unions containing invalid members are now reported as type errors, so code that previously compiled may now fail type checking. github.com
And 5 more in this version.
i18next 25.8.18 breaking changes
- Signature changed
TFunctionSelector.__call
Was <Target extends ConstrainTarget<Opts>, const NewNs extends NsArg<Ns> & Namespace, const Opts extends SelectorOptions<NewNs>, NewSrc extends GetSource<NewNs, KPrefix>>(selector: SelectorFn<NewSrc, ApplyTarget<Target, Opts>, Opts>... npmjs.com
i18next 25.8.16 breaking changes
- Signature changed
i18n.on
Was on(event: 'failedLoading', callback: (lng: string, ns: string, msg: string) => void): void on(event: 'initialized', callback: (options: InitOptions) => void): void on(event: 'languageChanged', callback: (lng: string) => void): void... npmjs.com
i18next 25.8.11 breaking changes
- Removed
i18next
i18next was removed in i18next 25.8.11 npmjs.com - Behavior changed
The release reverts an earlier fix for compatibility with the bundler moduleResolution setting, so projects using that setting may fail again. Such users should stay on the previous version until a new fix ships. github.com
i18next 25.8.6 breaking changes
- Signature changed
TFunctionNonStrict.__call
Was <const Key extends ParseKeys<Ns, TOpt, KPrefix> | TemplateStringsArray, const TOpt extends TOptions, Ret extends TFunctionReturn<Ns, AppendKeyPrefix<Key, KPrefix>, TOpt>, const ActualOptions extends TOpt & InterpolationMap<Ret> = TOpt... npmjs.com - Signature changed
TFunctionStrict.__call
Was <const Key extends ParseKeys<Ns, TOpt, KPrefix> | TemplateStringsArray, const TOpt extends TOptions, Ret extends TFunctionReturn<Ns, AppendKeyPrefix<Key, KPrefix>, TOpt>>(key: Key | Key[], defaultValue: string, options?: TOpt &... npmjs.com
i18next 25.8.1 breaking changes
- Signature changed
TFunctionSelector.__call
Was <Target extends ConstrainTarget<Opts>, const Opts extends SelectorOptions<NewNs>, NewNs extends Namespace, NewSrc extends GetSource<NewNs, KPrefix>>(selector: SelectorFn<NewSrc, ApplyTarget<Target, Opts>, Opts>, options: Opts &... npmjs.com
i18next 25.8.0 breaking changes
- Signature changed
TFunctionReturn
Was type TFunctionReturn<Ns extends Namespace, Key, TOpt extends TOptions, ActualNS extends Namespace = NsByTOptions<Ns, TOpt>, ActualKey = KeyWithContext<Key, TOpt>> = $IsResourcesDefined extends true ? ActualKey extends `${infer... npmjs.com
i18next 25.7.1 breaking changes
- Signature changed
i18n.on
The signature of i18n.on changed in i18next 25.7.1 npmjs.com
i18next 25.6.0 breaking changes
- Behavior changed
exists
With returnObjects set to false, exists() now returns false for keys that point to an object, where it previously returned true. Code that relied on the old result should be checked and updated. github.com
i18next 25.4.0 breaking changes
- Signature changed
DefaultTReturn
Was type DefaultTReturn<TOpt extends TOptions> = TReturnOptionalObjects<TOpt> | TReturnOptionalNull; now type DefaultTReturn<TOpt extends {returnObjects?: unknown}> = | TReturnOptionalObjects<TOpt> | TReturnOptionalNull. npmjs.com - Signature changed
TFunction.$TFunctionBrand
Was $TFunctionBrand: $IsResourcesDefined extends true ? `${$FirstNamespace<Ns>}` : never; now $TFunctionBrand: $IsResourcesDefined extends true ? `${Ns extends readonly any[] ? Ns[0] : Ns}` : never. npmjs.com
And 7 more in this version.
i18next 25.2.1 breaking changes
- Behavior changed
fallbackLng
The fallbackLng option passed to a t call is now streamlined with the init options, so fallback languages may resolve differently. Check code that sets fallbackLng per call. github.com - Signature changed
TOptionsBase.fallbackLng
Was fallbackLng?: FallbackLng; now fallbackLng?: false | FallbackLng. npmjs.com
i18next 25.1.1 breaking changes
- Signature changed
CloneOptions.parseMissingKeyHandler
Was parseMissingKeyHandler?(key: string, defaultValue?: string, options?: InitOptions): any; now parseMissingKeyHandler?(key: string, defaultValue?: string, options?: any): any. npmjs.com - Signature changed
InitOptions.parseMissingKeyHandler
Was parseMissingKeyHandler?(key: string, defaultValue?: string, options?: InitOptions): any; now parseMissingKeyHandler?(key: string, defaultValue?: string, options?: any): any. npmjs.com
i18next 25.1.0 breaking changes
- Signature changed
CloneOptions.parseMissingKeyHandler
Was parseMissingKeyHandler?(key: string, defaultValue?: string): any; now parseMissingKeyHandler?(key: string, defaultValue?: string, options?: InitOptions): any. npmjs.com - Signature changed
InitOptions.parseMissingKeyHandler
Was parseMissingKeyHandler?(key: string, defaultValue?: string): any; now parseMissingKeyHandler?(key: string, defaultValue?: string, options?: InitOptions): any. npmjs.com
i18next 25.0.0 breaking changes
- Behavior changed
changeLanguage
changeLanguage now always resolves its input (string or array) through getBestMatchFromCodes. Code that relied on the previous language resolution may pick a different language and should be checked. github.com - Behavior changed
getBestMatchFromCodes
getBestMatchFromCodes now tries a language code with the same script as a fallback when no exact match is found. Code that relied on the previous matching may get a different result. github.com
i18next 24.2.1 breaking changes
- Signature changed
TFunction
Was type TFunction<Ns extends Namespace = DefaultNamespace, KPrefix = undefined> = _StrictKeyChecks extends true ? TFunctionStrict<Ns, KPrefix> : TFunctionNonStrict<Ns, KPrefix>; now interface TFunction<Ns extends Namespace =... npmjs.com
i18next 24.2.0 breaking changes
- Removed
TFunction.__call
TFunction.__call was removed in i18next 24.2.0 npmjs.com - Removed
TFunction.$TFunctionBrand
TFunction.$TFunctionBrand was removed in i18next 24.2.0 npmjs.com
And 2 more in this version.
i18next 24.0.0 breaking changes
- Removed
The release drops support for older environments. Check that your runtime and browsers are still supported before upgrading. github.com - Removed
Code that relies on the v1 API compatibility must be updated or move to a compatibility layer of your own. github.com
And 14 more in this version.
i18next 23.16.6 breaking changes
- Removed
CustomInstanceExtenstions
CustomInstanceExtenstions was removed in i18next 23.16.6 npmjs.com - Signature changed
i18n
Was interface i18n extends i18nextMod.i18n, CustomInstanceExtenstions; now interface i18n extends i18nextMod.i18n, CustomInstanceExtensions. npmjs.com
i18next 23.15.2 breaking changes
- Signature changed
FilterKeysByContext
Was type FilterKeysByContext<Keys, Context> = Context extends string ? Keys extends `${infer Prefix}${_ContextSeparator}${Context}${infer Suffix}` ? `${Prefix}${Suffix}` : never : Keys; now type FilterKeysByContext<Keys, Context> = Context... npmjs.com - Signature changed
TOptionsBase.context
Was context?: any; now context?: unknown. npmjs.com
i18next 23.15.1 breaking changes
- Behavior changed
TFunction
The TypeScript return type of the TFunction type changed so it is no longer inferred and uses defaultValue as the return type when a defaultValue is given. Code relying on the previous inferred types may need type adjustments. github.com - Signature changed
TFunction.__call
Was <const Key extends ParseKeys<Ns, TOpt, KPrefix> | TemplateStringsArray, const TOpt extends TOptions, Ret extends TFunctionReturn<Ns, AppendKeyPrefix<Key, KPrefix>, TOpt>, const ActualOptions extends TOpt & InterpolationMap<Ret> = TOpt... npmjs.com
i18next 23.15.0 breaking changes
- Signature changed
ParseInterpolationValues
Was type ParseInterpolationValues<Ret> = Ret extends `${string}${_InterpolationPrefix}${infer Value}${_InterpolationSuffix}${infer Rest}` ? | (Value extends `${infer ActualValue}, ${string}` ? ActualValue : Value) |... npmjs.com - Signature changed
TypeOptions
Was type TypeOptions = $MergeBy<{returnNull: false; returnEmptyString: true; returnObjects: false; keySeparator: '.'; nsSeparator: ':'; pluralSeparator: '_'; contextSeparator: '_'; defaultNS: 'translation'; fallbackNS: false; jsonFormat... npmjs.com
i18next 23.12.0 breaking changes
- Signature changed
i18n.hasLoadedNamespace
Was hasLoadedNamespace(ns: string | readonly string[], options?: {lng?: string | readonly string[]; precheck: (i18n: i18n, loadNotPending: (lng: string | readonly string[], ns: string | readonly string[]) => boolean) => boolean;}): boolean... npmjs.com
i18next 23.11.1 breaking changes
- Signature changed
ParseKeys
The ParseKeys type's Context type parameter no longer uses the const modifier, so type inference for it may differ. Check code that depends on the inferred context types. npmjs.com
i18next 23.11.0 breaking changes
- Signature changed
FilterKeysByContext
Was type FilterKeysByContext<Keys, TOpt extends TOptions> = TOpt['context'] extends string ? Keys extends `${infer Prefix}${_ContextSeparator}${TOpt['context']}${infer Suffix}` ? `${Prefix}${Suffix}` : never : Keys; now type... npmjs.com - Signature changed
ParseKeys
Was type ParseKeys<Ns extends Namespace = DefaultNamespace, TOpt extends TOptions = {}, KPrefix = undefined, Keys extends $Dictionary = KeysByTOptions<TOpt>, ActualNS extends Namespace = NsByTOptions<Ns, TOpt>> = $IsResourcesDefined... npmjs.com
i18next 23.9.0 breaking changes
- Signature changed
InterpolationMap
Was type InterpolationMap<Ret> = Record<$PreservedValue<ParseInterpolationValues<Ret>, string>, unknown>; now type InterpolationMap<Ret> = $PreservedValue<$StringKeyPathToRecord<ParseInterpolationValues<Ret>, unknown>, Record<string... npmjs.com
i18next 23.8.1 breaking changes
- Signature changed
ParseTReturn
Was type ParseTReturn<Key, Res, TOpt extends TOptions = {}> = Key extends `${infer K1}${_KeySeparator}${infer RestKey}` ? ParseTReturn<RestKey, Res[K1 & keyof Res], TOpt> : // Process plurals only if count is provided inside options... npmjs.com - Signature changed
TypeOptions
Was type TypeOptions = $MergeBy<{returnNull: false; returnObjects: false; keySeparator: '.'; nsSeparator: ':'; pluralSeparator: '_'; contextSeparator: '_'; defaultNS: 'translation'; fallbackNS: false; jsonFormat: 'v4'; resources: object... npmjs.com
i18next 23.7.20 breaking changes
- Behavior changed
The plural rule used for the dev locale is now en, matching v3 compatibility. Code that depends on the previous dev plural rule may format plurals differently. github.com - Behavior changed
The _zero special handling is now applied consistently, including for defaultValue_zero. Code relying on the previous defaultValue_zero behavior should be checked. github.com
i18next 23.7.17 breaking changes
- Signature changed
i18n.t
Was t: TFunction<[DefaultNamespace, ...Exclude<FlatNamespace, DefaultNamespace>[]]>; now t: TFunction<[...$NormalizeIntoArray<DefaultNamespace>, ...Exclude<FlatNamespace, InferArrayValuesElseReturnType<DefaultNamespace>>[]]>. npmjs.com
i18next 23.7.15 breaking changes
- Signature changed
KeysBuilderWithoutReturnObjects
Was type KeysBuilderWithoutReturnObjects<Res, Key = keyof $OmitArrayKeys<Res>> = Key extends keyof Res ? Res[Key] extends $Dictionary ? JoinKeys<Key, KeysBuilderWithoutReturnObjects<Res[Key]>> : Res[Key] extends unknown[] ? JoinKeys<Key... npmjs.com - Signature changed
KeysBuilderWithReturnObjects
Was type KeysBuilderWithReturnObjects<Res, Key = keyof Res> = Key extends keyof Res ? Res[Key] extends $Dictionary ? | JoinKeys<Key, WithOrWithoutPlural<keyof $OmitArrayKeys<Res[Key]>>> | JoinKeys<Key... npmjs.com
And 1 more in this version.
i18next 23.7.14 breaking changes
- Signature changed
BackendModule.init
Was init(services: Services, backendOptions: TOptions, i18nextOptions: InitOptions): void; now init(services: Services, backendOptions: Options, i18nextOptions: InitOptions): void. npmjs.com - Signature changed
KeysBuilderWithoutReturnObjects
Was type KeysBuilderWithoutReturnObjects<Res, Key = keyof $OmitArrayKeys<Res>> = Key extends keyof Res ? Res[Key] extends $Dictionary ? JoinKeys<Key, KeysBuilderWithoutReturnObjects<Res[Key]>> : Key : never; now type... npmjs.com
And 2 more in this version.
i18next 23.7.13 breaking changes
- Signature changed
ParseTReturn
Was type ParseTReturn<Key, Res> = Key extends `${infer K1}${_KeySeparator}${infer RestKey}` ? ParseTReturn<RestKey, Res[K1 & keyof Res]> : ParseTReturnPlural<Res, Key>; now type ParseTReturn<Key, Res, TOpt extends TOptions = {}> = Key... npmjs.com - Signature changed
ParseTReturnPlural
Was type ParseTReturnPlural<Res, Key, KeyWithPlural = `${Key & string}${_PluralSeparator}${PluralSuffix}`, KeyWithOrdinalPlural = `${Key & string}${_PluralSeparator}ordinal${_PluralSeparator}${PluralSuffix}`> = Res[(KeyWithOrdinalPlural |... npmjs.com
And 3 more in this version.
Related packages
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.