Skip to content

Update dependency i18next to v27.2.4 - #174

Merged
thomaszang merged 1 commit into
mainfrom
renovate/i18next-27.x
Nov 23, 2026
Merged

thomaszang merged 1 commit into
mainfrom
renovate/i18next-27.x

Conversation

@renovate

@renovate renovate Bot commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
i18next (source) 27.2.3 → 27.2.4 age confidence

Release Notes

i18next/i18next (i18next)

v27.2.4

Compare Source

  • fix(types): BackendModule.create takes the parameters i18next passes it: a backend with callbackApi: true gets create(languages, namespace, key, fallbackValue, callback, options), one with callbackApi: false gets create(languages, namespace, key, fallbackValue, options) and may return a promise. The types declared only the first four parameters, so a required fifth or sixth parameter failed to compile and an object-literal backend could not take them at all. One rare case now fails: a create: (...args) => other.create(...args) that forwards to a create typed with exactly four parameters. The doc comments of read and readMulti now describe their promise form (read(language, namespace) returning the data or a promise of it), which the types already accepted.
  • fix(types): getFixedT() takes its fourth parameter, { scopeNs }, the full list of namespaces the returned t is bound to, which selector keys use to find a namespace prefix; lookups still use ns (react-i18next's useTranslation passes it).
  • fix(types): the doc comment of saveMissingPlurals says @default true, the runtime default since the option came in 10.3.0, not false.

Configuration

📅 Schedule: (UTC)

  • 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.

@thomaszang
thomaszang merged commit a4e414f into main Nov 23, 2026
4 checks passed
@thomaszang
thomaszang deleted the renovate/i18next-27.x branch November 23, 2026 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant