Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented May 28, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
i18next (source) ^23.7.19 -> ^25.0.0 age adoption passing confidence

Release Notes

i18next/i18next (i18next)

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

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant