Skip to content

Bump i18next-chained-backend from 5.0.6 to 5.1.1 - #59

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/i18next-chained-backend-5.1.1
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/i18next-chained-backend-5.1.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 29, 2026

Copy link
Copy Markdown
Contributor

Bumps i18next-chained-backend from 5.0.6 to 5.1.1.

Changelog

Sourced from i18next-chained-backend's changelog.

5.1.1

  • fix(types): the typings compile on TypeScript 5.0 and 5.1 with skipLibCheck: false. ChainedReadCallback mixed a labelled and an unlabelled tuple member, which TypeScript accepts only since 5.2 (TS5084).

5.1.0

  • fix: an inner backend whose read returns a value or a promise is answered once. When the i18next callback threw (for example from a loaded listener or the callback of init or loadNamespaces), or saving to an earlier backend in the chain threw, the error counted as a failed read: the next backend was read, i18next was called back again, once per backend, and the namespace could end up marked as failed. The error now reaches your app: thrown from the call that started the load for a read that returns a value, and an unhandled rejection for a read that returns a promise, which ends a Node.js process unless you handle unhandledRejection. Thanks @​SudeepGowda55 (#63)

5.0.8

  • fix: with i18next 26.7.1 or later, reloadInterval reloads everything i18next loaded or tried to load through the backend: the current languages and the languages loaded for clones (one per request on a server), and it retries the bundles that failed. 5.0.7 passed the fallback and preload languages to i18next's reloadResources(), which skipped a bundle that had failed to load, so a language missing after an outage at startup stayed missing (the backend's own reload before 5.0.7 read it again). With older i18next nothing changes.

5.0.7

  • fix: with i18next 26.7.0 or later, create gets its options (isUpdate). i18next 26.7.0 deprecates guessing the calling convention of a backend from the number of parameters of its methods; the backend now declares it with callbackApi, so i18next calls read and create with a callback (and passes create its options), and debug mode no longer logs the deprecation notice. Older i18next versions ignore it. Its create(languages, namespace, key, fallbackValue, clb = () => {}, opts = {}) has a Function.length of 4 because of the default parameters, so i18next called it without the options.
  • feat: the chained backends are called the way their own callbackApi declares (true: callbacks, false: a promise or a value), like i18next 26.7 does; without it, the number of parameters decides, as before.
  • reloadInterval reloads through services.utils.reloadResources with i18next 26.7.0 or later (with i18next's retries and the loaded event) instead of calling i18next's internal backend connector. It reloads the same languages as before: the fallback and preload languages. With older i18next nothing changes.
Commits
  • 501333d 5.1.1
  • a42c7e3 changelog for 5.1.1
  • bc52d4e fix(types): compile on TypeScript 5.0 and 5.1 with skipLibCheck: false
  • c340159 5.1.0
  • dbd9049 build
  • 1e2ac3f changelog for 5.1.0
  • 39abb32 fix: don't read from the next backend when the callback throws (#63)
  • 47fbe30 README: drop the Locize ad image; the sponsor banner and the text saying who ...
  • 80b692f Bump i18next-http-backend from 4.0.2 to 4.0.4 (#62)
  • c7f16ea 5.0.8
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [i18next-chained-backend](https://github.com/i18next/i18next-chained-backend) from 5.0.6 to 5.1.1.
- [Changelog](https://github.com/i18next/i18next-chained-backend/blob/master/CHANGELOG.md)
- [Commits](i18next/i18next-chained-backend@v5.0.6...v5.1.1)

---
updated-dependencies:
- dependency-name: i18next-chained-backend
  dependency-version: 5.1.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 29, 2026
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 javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants