Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jun 27, 2025

This PR contains the following updates:

Package Change Age Confidence
i18next (source) 22.0.3 -> 25.6.2 age confidence

Release Notes

i18next/i18next (i18next)

v25.6.2

Compare Source

  • types: export InterpolationMap

v25.6.1

Compare Source

  • fix: createInstance does not exist on an instance #​2366

v25.6.0

Compare Source

  • feat: exists() method now respects returnObjects option - returns false when accessing an object key with returnObjects: false, enabling detection of object vs string keys 2359

    Note: This is a potential behavior change. If you were previously calling exists() with returnObjects: false on object keys, those calls will now return false instead of true. This enables developers to detect whether a key points to an object or string value.

v25.5.3

Compare Source

  • export esm type declaration for keyFromSelector 2356

v25.5.2

Compare Source

  • fix last change => for cjs there is just 1 default export, no named exports, fixes 2348

v25.5.1

Compare Source

  • export keyFromSelector from index.cjs 2347

v25.5.0

Compare Source

  • export keyFromSelector function for testing purposes 2346

v25.4.2

Compare Source

  • fix: enableSelector: true doesn't work with custom keySeparator 2341

v25.4.1

Compare Source

  • fix: KeyPrefix not working with new selector api 2340

v25.4.0

Compare Source

  • add new selector API to improve TypeScript IDE performance 2322
    • To enable it, set enableSelector: true in your configuration options
    • With enableSelector: "optimize", i18next can now handle translation dictionaries of any size, without affecting IDE performance or build times
    • To assist with the migration, we've published the following packages:

v25.3.6

Compare Source

  • improve fix: Ordinals and non-ordinals don't work together 2337

v25.3.5

Compare Source

  • fix: Ordinals and non-ordinals don't work together 2337

v25.3.4

Compare Source

  • remove unnecessary debug logs

v25.3.3

Compare Source

  • fix: Brackets breaking nesting interpolation 2336

v25.3.2

Compare Source

  • fix dir() for non-Intl language codes 2330

v25.3.1

Compare Source

  • warn if legacy interpolation.format function is still used

v25.3.0

Compare Source

  • feat: support formatting function with plural and interpolation 2325
  • fix dir() for Latn language codes 2324

v25.2.1

Compare Source

  • streamline fallbackLng option of t call with the init options 2312

v25.2.0

Compare Source

  • introduce cacheInBuiltFormats option to address 2227

v25.1.3

Compare Source

  • Ensure nsSeparator is respected when appendNamespaceToMissingKey is true 2311, fixes 2310

v25.1.2

Compare Source

  • do not mutate t options, fixes 2307

v25.1.1

Compare Source

  • fix options type for parseMissingKeyHandler

v25.1.0

Compare Source

  • feat: parseMissingKeyHandler now takes options as parameter like in missingKeyHandler 2304

v25.0.2

Compare Source

  • fix cloneInstance with forkResourceStore: true addresses 2303

v25.0.1

Compare Source

  • optimize changeLanguage to correctly use getBestMatchFromCodes (string or array) 2299 and improve resolvedLanguage set for non canonical codes

v25.0.0

Compare Source

This is a potentially breaking release:

  • fix multiple changeLanguage call that may have result in wrong order in previous versions 1605 2298
  • adapt changeLanguage to always (string or array) use getBestMatchFromCodes 2299
  • getBestMatchFromCodes now tries to fallback to language code with same script 2299

v24.2.3

Compare Source

v24.2.2

Compare Source

  • fix: Interpolation fails with arrays (TypeError) and doesn't work with objects in defaultValue 1829

v24.2.1

Compare Source

  • Standardize null/undefined checks across codebase 2275
  • fix(typescript): make TFunction augmentable again 2279, fixes 2278

v24.2.0

Compare Source

  • feat(typescript): Add strictKeyChecks option to enforce checking key existence when defaultValue is used 2274, fixes 2043

v24.1.2

Compare Source

  • optimize fix: Bug Report: Unsafe Behavior in i18n.t Function Leading to Potential Code Execution 2273

v24.1.1

Compare Source

  • fix: Bug Report: Unsafe Behavior in i18n.t Function Leading to Potential Code Execution 2273

v24.1.0

Compare Source

  • try to address 2270 by cloning the store data 2271

v24.0.5

Compare Source

  • remove extra log for 2268

v24.0.4

Compare Source

  • simplify fix: incorrect locale detected 2268

v24.0.3

Compare Source

  • fix: incorrect locale detected 2268
  • fix: Intl.getCanonicalLocales throws with custom regions 2267

v24.0.2

Compare Source

  • if no Intl api, log error and use dummy rule

v24.0.1

Compare Source

  • early return and log error, if no Intl api

v24.0.0

Compare Source

This is a major breaking release:

  • remove support for older environments
  • remove old i18next JSON formats
  • remove support for compatibility to v1 API
  • Intl API is mandatory now and will not fallback anymore
  • possible compatibility layer for older formats: test/compatibility/v4/v4Compatibility.js
  • rename initImmediate to initAsync
  • fallback to dev language if plural rule not found
  • Dropped support for Node.js < v14
  • remove TypeScript v4 support. TypeScript v5 is now an optional peer dependency
  • addresses

➡️ check out the migration guide

v23.16.8

Compare Source

  • fix(plural): Create cache entry for PluralRules created as part of the fallback flow 2256

v23.16.7

Compare Source

  • if plural rule is not found, try to search with language only code 2252

v23.16.6

Compare Source

  • fix: Small typo in the type definitions 2250

v23.16.5

Compare Source

  • fix extractFromKey for use cases like this

v23.16.4

Compare Source

  • revert formatter change 2247 because of caching not working anymore

v23.16.3

Compare Source

  • fix utils imports for Deno

v23.16.2

Compare Source

  • perf(size): Adds a isString utility 2248

v23.16.1

Compare Source

  • perf: Optimize size of Formatter 2247

v23.16.0

Compare Source

  • use Intl.getCanonicalLocales function if available to format language code, like suggested in 2244

v23.15.2

Compare Source

  • fix(types): make context related keys detection stricter 2243 fixes 2242

v23.15.1

Compare Source

  • types(TFunction): make return not inferrable and use defaultValue as return when provided 2234

v23.15.0

Compare Source

  • support unescaped variables in TypeScript 2233

v23.14.0

Compare Source

  • If backend errors with retry flag, set internal state to 0, so reloadingResources should work 147

v23.13.0

Compare Source

  • Cache output of getRule to optimize performance 2226

v23.12.7

Compare Source

  • revert last optimization to address 2227

v23.12.6

Compare Source

  • remove console.log statement 2227

v23.12.5

Compare Source

  • try to optimize last fix for 2227

v23.12.4

Compare Source

  • try to address 2227 without the removal of cached formatter for in-built formatters

v23.12.3

Compare Source

  • fix: Using a comma in a formatter parameter 2225

v23.12.2

Compare Source

  • fix: Nested translation resolution between languages uses the fallback language for nested translations 2216 by preserving issue fix "lng is undefined when formatter used in $t( )" 1938

v23.12.1

Compare Source

  • Use explicit imports for utils 2212

v23.12.0

Compare Source

  • feat: Add posibility to override keyPrefix for certain translation. 2211

v23.11.5

Compare Source

  • perf: use Array.isArray() 2193
  • perf: trim keys once 2194

v23.11.4

Compare Source

  • perf(interpolator): use object deconstruction 2181

v23.11.3

Compare Source

  • fix: Unsupported language is automatically added to preload option 2178

v23.11.2

Compare Source

  • allow defaultValue in nested translation 2174

v23.11.1

Compare Source

  • types: remove const from ParseKeys Context type parameter and disable skipLibCheck 2169

v23.11.0

Compare Source

  • Fix typing performance regression 2166

v23.10.1

Compare Source

v23.10.0

Compare Source

  • Add 'isInitializing' property so we're able to detect init() was already called 2141

v23.9.0

Compare Source

  • types: support nested keys in InterpolationMap 2140 fixes 2014

v23.8.3

Compare Source

  • prevent resource mutation when using addResourceBundle 2081

v23.8.2

Compare Source

  • optimize addResources to address 2130

v23.8.1

Compare Source

  • types: support stricter typechecking for returnEmptyString and returnNull 2129

v23.8.0

Compare Source

  • improve performance by reducing array slices and RegExp recreation 2128

v23.7.20

Compare Source

  • optimize: consistent _zero special handling also for defaultValue_zero 2124
  • intl plural rule for dev is now en (consistent with v3 compatibility)

v23.7.19

Compare Source

  • fix: consistent _zero special handling also for defaultValue_zero 2124

v23.7.18

Compare Source

  • types: support readonly defaultNS 2123

v23.7.17

Compare Source

  • types: fix support for defaultNS as array (fixes 2118) 2121
  • types: fix typo in CustomInstanceExtensions 2122

v23.7.16

Compare Source

  • fix: Use Typescript 5 types with Typescript 5+ 2108
    • Hint: If you're using TypeScript 4 and you navigate to the type definitions in your code editor, it might be you will see the TypeScript 5 types, but the TS compiler should use the correct types.

v23.7.15

Compare Source

  • types: simplifies types for array access and fixes 2103

v23.7.14

Compare Source

  • types: fix types for array access

v23.7.13

Compare Source

  • types: optimise ParseTReturn 2095

v23.7.12

Compare Source

  • types: fix for older ts version (context validation only for TS 5)

v23.7.11

Compare Source

  • types: fix for older ts versions 2090

v23.7.10

Compare Source

  • types: initializedStoreOnce and initializedLanguageOnce 2089

v23.7.9

Compare Source

  • types: fix FormatFunction should allow any value inside options parameter

v23.7.8

Compare Source

  • prevent cosmetic SyntaxError because of non catched error variable

v23.7.7

Compare Source

  • optimize TypeScript V4 export

v23.7.6

Compare Source

  • types: CustomInstanceExtenstions

v23.7.5

Compare Source

  • fix types export for TypeScript v4 in combination with react-i18next

v23.7.4

Compare Source

  • fix for TypeScript v4 in combination with react-i18next

v23.7.3

Compare Source

  • fix: consider importing '*.js'

v23.7.2

Compare Source

  • optimize: consistent _zero special handling also for defaultValue_zero 2124
  • intl plural rule for dev is now en (consistent with v3 compatibility)

v23.7.1

Compare Source

  • fix: consistent _zero special handling also for defaultValue_zero 2124

v23.7.0

Compare Source

  • fix: separate cjs and mjs typings 2010
  • fix: consider importing './typescript/t.js' 2048

v23.6.0

Compare Source

  • add interpolation data to response if returnDetails is true 2053

v23.5.1

Compare Source

  • types: use unknown to better infer types on nested t functions also for older typescript version 2032

v23.5.0

Compare Source

  • types: use unknown to better infer types on nested t functions 2018

v23.4.9

Compare Source

  • fix: preload languages also on cimode, if configured also as fallbackLng

v23.4.8

Compare Source

  • fix: preload languages also on cimode, if configured

v23.4.7

Compare Source

  • preload languages also on cimode, if configured

v23.4.6

Compare Source

  • pass correct language for custom i18nFormat

v23.4.5

Compare Source

  • types: named export for FlatNamespace

v23.4.4

Compare Source

  • types: add customisation of contextSeparator also on v4 t types 2019

v23.4.3

Compare Source

  • types: add customisation of contextSeparator 2017

v23.4.2

Compare Source

  • types: export some types for next-i18next

v23.4.1

Compare Source

  • types: fix typescript imports

v23.4.0

Compare Source

  • types: Support const modifier for options and key 2007
  • types: Support context 2006

v23.3.0

Compare Source

  • types: Fix performance issue that affects flat object with multiple (thousands) keys 2004

v23.2.11

Compare Source

  • types: Fix $TFunctionBrand 1997

v23.2.10

Compare Source

  • types: emit function can have additional arguments 1993

v23.2.9

Compare Source

  • types: Add brand to TFunction type so different namespaces' TFunctions are not treated as compatible 1994

v23.2.8

Compare Source

  • types for hasLoadedNamespace

v23.2.7

Compare Source

  • fix utils import (for Deno)

v23.2.6

Compare Source

  • Re-allow unknown keys, when a defaultValue is provided 1867

v23.2.5

Compare Source

  • Clean language code before passing to formatters 1988

v23.2.3

Compare Source

  • types: Optimize logic for fallback ns 1984

v23.2.2

Compare Source

  • types: try to fix fallbackNS type handling also for older TS version 1981

v23.2.1

Compare Source

  • types: Fix $TFunctionBrand 1997

v23.2.0

Compare Source

  • types: add fallbackNS type handling 1975

v23.1.0

Compare Source

  • cloneInstance: introduce forkResourceStore 1974
  • types: default argument values for ParseKeys type

v23.0.2

Compare Source

  • refactor: static createInstance for wider browser support 1973

v23.0.1

Compare Source

  • types: export ParseKeys

v23.0.0

Compare Source

This is a major breaking release:

  • redesigned TypeScript types 1911

  • removed setDebug function in the logger: 1954

  • changed returnNull default to false 1885

  • drop support for old browsers and Node.js < v12 1948

  • ordinal plural keys are now prefixed with _ordinal to help translators (non-breaking, because of fallback) 1945

➡️ check out the migration guide

v22.5.1

Compare Source

  • ResourceStore addResource: offer possibility to pass keySeparator via options 1968

v22.5.0

Compare Source

  • extend hasLoadedNamespace function options to pass optional lng to optimize server side usage of react-i18next

v22.4.15

Compare Source

  • fix: function t() passed options alteration 1947

v22.4.14

Compare Source

  • fix: pass lng to format function used in nesting 1938

v22.4.13

Compare Source

  • fix: deepFind as fallback for interpolation 1930

v22.4.12

Compare Source

  • fix: getBestMatchFromCodes when dev is a supported lng 1927

v22.4.11

Compare Source

  • types: fix postProcessor key argument type, fixes 1919

v22.4.10

Compare Source

  • format options are optional, fixes 1913

v22.4.9

Compare Source

  • fix: getFixedT with keyPrefix and fallback keys usage 1604

v22.4.8

Compare Source

  • fix: nested interpolation with data model "replace"

v22.4.7

Compare Source

  • fix: interpolation with data model "replace"

v22.4.6

Compare Source

  • types: missing dir function export for typescript

v22.4.5

Compare Source

  • types: allow als general options as second argument for t function

v22.4.4

Compare Source

  • types: fix some strange t function overloads fixes 1882

v22.4.3

Compare Source

  • types: t function overloads fix (open issue is still calling t with optional options argument)

v22.4.2

Compare Source

  • types: t function overloads for call with ns option in combination with objects

v22.4.1

Compare Source

  • fix: function t() passed options alteration 1947

v22.4.0

Compare Source

  • types: more overloads for t function

v22.3.0

Compare Source

  • offer possibility to define a language detector's detect function as promise

v22.2.0

Compare Source

  • types: extend the init method with a generic parameter for backend options 1878, 105, 34

v22.1.5

Compare Source

  • types: ability to pass ns as option instead of prefix i.e. i18next.t('bar', { ns: 'alternate' });

v22.1.4

Compare Source

  • dir function executable also without initialization

v22.1.3

Compare Source

  • named export for dir function

v22.1.2

Compare Source

  • revert: guess if languageDetector is async if no info provided

v22.1.1

Compare Source

  • guess if languageDetector is async if no info provided

v22.1.0

Compare Source

  • extend backend connector to accept also backends with promise / async-await signature

v22.0.8

Compare Source

  • fix options for continuous nesting 1876

v22.0.7

Compare Source

  • Expose some types 1871

v22.0.6

Compare Source

  • fix CallbackError type

v22.0.5

Compare Source

  • Change DefaultTFuncReturn to return null if returnNull typeOption is true 1865

v22.0.4

Compare Source

  • Add type for Formatter.addCached 1862

Configuration

📅 Schedule: Branch creation - At 12:00 AM through 04:59 AM and 10:00 PM through 11:59 PM, Monday through Friday ( * 0-4,22-23 * * 1-5 ), Only on Sunday and Saturday ( * * * * 0,6 ) (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Jun 27, 2025
@renovate renovate bot force-pushed the renovate/i18next-25.x branch 2 times, most recently from fadf455 to 0a18bf8 Compare July 7, 2025 14:33
@renovate renovate bot force-pushed the renovate/i18next-25.x branch from 0a18bf8 to 630e646 Compare July 12, 2025 05:50
@renovate renovate bot force-pushed the renovate/i18next-25.x branch 4 times, most recently from fe35f30 to c982863 Compare August 17, 2025 13:45
@renovate renovate bot force-pushed the renovate/i18next-25.x branch 3 times, most recently from a042dc8 to 364cfb1 Compare August 23, 2025 18:25
@renovate renovate bot force-pushed the renovate/i18next-25.x branch 2 times, most recently from 6fe84c7 to c618a3e Compare August 27, 2025 17:26
@renovate renovate bot force-pushed the renovate/i18next-25.x branch 3 times, most recently from 913e4bf to 1811217 Compare September 8, 2025 12:14
@renovate renovate bot force-pushed the renovate/i18next-25.x branch from 1811217 to b46c150 Compare September 25, 2025 20:39
@renovate renovate bot force-pushed the renovate/i18next-25.x branch from b46c150 to 08ae43b Compare October 4, 2025 13:25
@renovate renovate bot force-pushed the renovate/i18next-25.x branch from 08ae43b to 3d05184 Compare October 13, 2025 15:02
@renovate renovate bot force-pushed the renovate/i18next-25.x branch from 3d05184 to cdd6fc5 Compare October 22, 2025 01:47
@renovate renovate bot force-pushed the renovate/i18next-25.x branch 2 times, most recently from 5e0cde9 to 1665689 Compare November 14, 2025 11:34
@renovate renovate bot force-pushed the renovate/i18next-25.x branch from 1665689 to 613a715 Compare November 18, 2025 14:12
@renovate
Copy link
Contributor Author

renovate bot commented Nov 18, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: yarn.lock
! Corepack is about to download https://repo.yarnpkg.com/3.8.7/packages/yarnpkg-cli/bin/yarn.js
/opt/containerbase/tools/corepack/0.34.4/24.11.1/node_modules/corepack/dist/lib/corepack.cjs:22053
    throw new Error(
          ^

Error: Server answered with HTTP 500 when performing the request to https://repo.yarnpkg.com/3.8.7/packages/yarnpkg-cli/bin/yarn.js; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting
    at fetch (/opt/containerbase/tools/corepack/0.34.4/24.11.1/node_modules/corepack/dist/lib/corepack.cjs:22053:11)
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async fetchUrlStream (/opt/containerbase/tools/corepack/0.34.4/24.11.1/node_modules/corepack/dist/lib/corepack.cjs:22076:20)
    at async download (/opt/containerbase/tools/corepack/0.34.4/24.11.1/node_modules/corepack/dist/lib/corepack.cjs:22247:18)
    at async installVersion (/opt/containerbase/tools/corepack/0.34.4/24.11.1/node_modules/corepack/dist/lib/corepack.cjs:22343:55)
    at async Engine.ensurePackageManager (/opt/containerbase/tools/corepack/0.34.4/24.11.1/node_modules/corepack/dist/lib/corepack.cjs:22856:32)
    at async Engine.executePackageManagerRequest (/opt/containerbase/tools/corepack/0.34.4/24.11.1/node_modules/corepack/dist/lib/corepack.cjs:22967:25)
    at async Object.runMain (/opt/containerbase/tools/corepack/0.34.4/24.11.1/node_modules/corepack/dist/lib/corepack.cjs:23667:7)

Node.js v24.11.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant