fix(deps): update dependency i18next to v27.1.5 #35

Open
renovate_bot wants to merge 1 commit from renovate/i18next-27.x into master
renovate_bot commented 2026-11-15 23:50:33 +00:00 (Migrated from jonasled.dev)

This MR contains the following updates:

Package Change Age Confidence
i18next (source) 27.0.1 → 27.1.5 age confidence

Release Notes

i18next/i18next (i18next)

v27.1.5

Compare Source

  • fix: off(event, listener) removes a listener added with once(). once() registers a wrapper, so off() with the listener itself found nothing and the listener still ran on the next event. A once() listener is now also removed before it runs, so one that emits the same event again (like calling changeLanguage() from languageChanged) or throws runs only once. Thanks @​SudeepGowda55 (#​2475)

v27.1.4

Compare Source

  • fix(types): with enableSelector, assigning a t function to a wider TFunction (TFunction<'ns'> to TFunction<'ns', string> or TFunction<Namespace>, or a key prefix to a wider one) failed with TS2590 "Expression produces a union type that is too complex to represent" once the namespaces had about 600 top-level keys together. This started in 26.3.3. Selector results for JSON arrays that mix arrays with objects or strings also keep the inner arrays as arrays. Thanks @​reckter (#​2474)

v27.1.3

Compare Source

  • security: a language code named after a property every object inherits (hasOwnProperty, isPrototypeOf, toLocaleString, __defineGetter__, ...) made the backend connector throw obj[k].push is not a function when its load finished. A language detector passes such a code on from a request (?lng=hasOwnProperty), and with an asynchronous backend nothing caught the throw, so one request ended a Node.js server process (in a browser, init() never resolved). Now these codes load like any other unknown language. Thanks @​superbot-helper (GHSA-q76c-gcvw-89x9)
  • fix: with an object fallbackLng, a language code named like an Object.prototype property (constructor, toString, hasOwnProperty, constructor-US) gets the default fallback instead of making t(), exists(), getFixedT() and changeLanguage() throw fallbackCodes.forEach is not a function. Thanks @​cyphercodes (#​2473, #​2472)

v27.1.2

Compare Source

  • security: language codes and namespaces that come from requests no longer grow the memory of a server without end. The backend connector kept one entry per failed load, so that it does not read it again, and the language hierarchy and plural rule caches kept one entry per language code. With the default supportedLngs: false, every made-up language a detector found (?lng=xx1, ?lng=xx2, ...) or every made-up namespace requested from i18next-http-middleware's getResourcesHandler added about 180 bytes for good. Now only the most recent 1000 failed loads are kept (an older one is read again when it is needed), and both caches are emptied at 1000 codes, as the formatted language codes already were. Pairs with i18next-http-middleware 3.10.1 (GHSA-mjcw-gfh6-3cxm).

v27.1.1

Compare Source

  • perf: t() skips the interpolation and nesting regexp scans when the text has no interpolation or nesting prefix, about 6-14% faster for short texts and up to 75% for long ones. The output does not change. Thanks @​g4lb (#​2469)

v27.1.0

Compare Source

  • feat: when the plural form selected for count is missing, t() uses the _other form of the same language before the next fallback language, as CLDR does (lateral inheritance), instead of returning the key. Current CLDR data gives French, Spanish, Italian and Portuguese a many form for exact millions, so files with only _one and _other showed the key (or the fallback language) for count: 1000000. The plain key still comes first, so key + key_other keeps resolving key; with a context, key_<context>_other comes before key_other; ordinals use _ordinal_other; and defaultValue_other is used after defaultValue. A form filled in from _other is no longer reported as missing (saveMissing, missingKeyHandler, exists()). Thanks @​TenPotatoes (#​2468)

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever MR is behind base branch, or you tick the rebase/retry checkbox.

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


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

This MR has been generated by Mend Renovate CLI.

This MR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [i18next](https://www.i18next.com) ([source](https://github.com/i18next/i18next)) | [`27.0.1` → `27.1.5`](https://renovatebot.com/diffs/npm/i18next/27.0.1/27.1.5) | ![age](https://developer.mend.io/api/mc/badges/age/npm/i18next/27.1.5?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/i18next/27.0.1/27.1.5?slim=true) | --- ### Release Notes <details> <summary>i18next/i18next (i18next)</summary> ### [`v27.1.5`](https://github.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2715) [Compare Source](https://github.com/i18next/i18next/compare/v27.1.4...v27.1.5) - fix: `off(event, listener)` removes a listener added with `once()`. `once()` registers a wrapper, so `off()` with the listener itself found nothing and the listener still ran on the next event. A `once()` listener is now also removed before it runs, so one that emits the same event again (like calling `changeLanguage()` from `languageChanged`) or throws runs only once. Thanks [@&#8203;SudeepGowda55](https://github.com/SudeepGowda55) ([#&#8203;2475](https://github.com/i18next/i18next/pull/2475)) ### [`v27.1.4`](https://github.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2714) [Compare Source](https://github.com/i18next/i18next/compare/v27.1.3...v27.1.4) - fix(types): with `enableSelector`, assigning a `t` function to a wider `TFunction` (`TFunction<'ns'>` to `TFunction<'ns', string>` or `TFunction<Namespace>`, or a key prefix to a wider one) failed with TS2590 "Expression produces a union type that is too complex to represent" once the namespaces had about 600 top-level keys together. This started in 26.3.3. Selector results for JSON arrays that mix arrays with objects or strings also keep the inner arrays as arrays. Thanks [@&#8203;reckter](https://github.com/reckter) ([#&#8203;2474](https://github.com/i18next/i18next/pull/2474)) ### [`v27.1.3`](https://github.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2713) [Compare Source](https://github.com/i18next/i18next/compare/v27.1.2...v27.1.3) - security: a language code named after a property every object inherits (`hasOwnProperty`, `isPrototypeOf`, `toLocaleString`, `__defineGetter__`, ...) made the backend connector throw `obj[k].push is not a function` when its load finished. A language detector passes such a code on from a request (`?lng=hasOwnProperty`), and with an asynchronous backend nothing caught the throw, so one request ended a Node.js server process (in a browser, `init()` never resolved). Now these codes load like any other unknown language. Thanks [@&#8203;superbot-helper](https://github.com/superbot-helper) ([GHSA-q76c-gcvw-89x9](https://github.com/i18next/i18next/security/advisories/GHSA-q76c-gcvw-89x9)) - fix: with an object `fallbackLng`, a language code named like an `Object.prototype` property (`constructor`, `toString`, `hasOwnProperty`, `constructor-US`) gets the `default` fallback instead of making `t()`, `exists()`, `getFixedT()` and `changeLanguage()` throw `fallbackCodes.forEach is not a function`. Thanks [@&#8203;cyphercodes](https://github.com/cyphercodes) ([#&#8203;2473](https://github.com/i18next/i18next/pull/2473), [#&#8203;2472](https://github.com/i18next/i18next/issues/2472)) ### [`v27.1.2`](https://github.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2712) [Compare Source](https://github.com/i18next/i18next/compare/v27.1.1...v27.1.2) - security: language codes and namespaces that come from requests no longer grow the memory of a server without end. The backend connector kept one entry per failed load, so that it does not read it again, and the language hierarchy and plural rule caches kept one entry per language code. With the default `supportedLngs: false`, every made-up language a detector found (`?lng=xx1`, `?lng=xx2`, ...) or every made-up namespace requested from i18next-http-middleware's `getResourcesHandler` added about 180 bytes for good. Now only the most recent 1000 failed loads are kept (an older one is read again when it is needed), and both caches are emptied at 1000 codes, as the formatted language codes already were. Pairs with i18next-http-middleware 3.10.1 ([GHSA-mjcw-gfh6-3cxm](https://github.com/i18next/i18next-http-middleware/security/advisories/GHSA-mjcw-gfh6-3cxm)). ### [`v27.1.1`](https://github.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2711) [Compare Source](https://github.com/i18next/i18next/compare/v27.1.0...v27.1.1) - perf: `t()` skips the interpolation and nesting regexp scans when the text has no interpolation or nesting prefix, about 6-14% faster for short texts and up to 75% for long ones. The output does not change. Thanks [@&#8203;g4lb](https://github.com/g4lb) ([#&#8203;2469](https://github.com/i18next/i18next/pull/2469)) ### [`v27.1.0`](https://github.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2710) [Compare Source](https://github.com/i18next/i18next/compare/v27.0.1...v27.1.0) - feat: when the plural form selected for `count` is missing, `t()` uses the `_other` form of the same language before the next fallback language, as CLDR does ([lateral inheritance](https://www.unicode.org/reports/tr35/#Lateral_Inheritance)), instead of returning the key. Current CLDR data gives French, Spanish, Italian and Portuguese a `many` form for exact millions, so files with only `_one` and `_other` showed the key (or the fallback language) for `count: 1000000`. The plain key still comes first, so `key` + `key_other` keeps resolving `key`; with a context, `key_<context>_other` comes before `key_other`; ordinals use `_ordinal_other`; and `defaultValue_other` is used after `defaultValue`. A form filled in from `_other` is no longer reported as missing (`saveMissing`, `missingKeyHandler`, `exists()`). Thanks [@&#8203;TenPotatoes](https://github.com/TenPotatoes) ([#&#8203;2468](https://github.com/i18next/i18next/issues/2468)) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever MR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this MR and you won't be reminded about this update again. --- - [x] <!-- rebase-check -->If you want to rebase/retry this MR, check this box --- This MR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xODguMiIsInVwZGF0ZWRJblZlciI6IjQ0LjE4OC4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
renovate_bot (Migrated from jonasled.dev) scheduled this pull request to auto merge when all checks succeed 2026-11-15 23:50:50 +00:00
renovate_bot commented 2026-11-15 23:50:54 +00:00 (Migrated from jonasled.dev)

mentioned in issue #1

mentioned in issue #1
renovate_bot commented 2026-11-15 23:55:39 +00:00 (Migrated from jonasled.dev)

aborted the automatic merge because the source branch was updated. Learn more.

aborted the automatic merge because the source branch was updated. [Learn more](https://jonasled.dev/help/ci/pipelines/merge_trains.md#merge-request-dropped-from-the-merge-train).
renovate_bot commented 2026-11-15 23:55:39 +00:00 (Migrated from jonasled.dev)

added 3 commits

  • 55a4585c...12e85a1c - 2 commits from branch master
  • 9a7a09dd - fix(deps): update dependency i18next to v27.1.2

Compare with previous version

added 3 commits <ul><li>55a4585c...12e85a1c - 2 commits from branch <code>master</code></li><li>9a7a09dd - fix(deps): update dependency i18next to v27.1.2</li></ul> [Compare with previous version](/jonasled/timetracker-next/-/merge_requests/34/diffs?diff_id=85671&start_sha=55a4585ce2b55c29484b35c934b85bad9da981b9)
renovate_bot commented 2026-11-17 00:21:35 +00:00 (Migrated from jonasled.dev)

added 1 commit

  • 69c0eb3f - fix(deps): update dependency i18next to v27.1.3

Compare with previous version

added 1 commit <ul><li>69c0eb3f - fix(deps): update dependency i18next to v27.1.3</li></ul> [Compare with previous version](/jonasled/timetracker-next/-/merge_requests/34/diffs?diff_id=85836&start_sha=9a7a09dd363daa8d308a6647d80f2ef0021bf952)
renovate_bot (Migrated from jonasled.dev) scheduled this pull request to auto merge when all checks succeed 2026-11-17 00:21:39 +00:00
renovate_bot commented 2026-11-17 00:21:46 +00:00 (Migrated from jonasled.dev)

changed title from fix(deps): update dependency i18next to v27.1.2 to fix(deps): update dependency i18next to v27.1.3

<p>changed title from <code class="idiff">fix(deps): update dependency i18next to v27.1.<span class="idiff left right deletion">2</span></code> to <code class="idiff">fix(deps): update dependency i18next to v27.1.<span class="idiff left right addition">3</span></code></p>
renovate_bot commented 2026-11-17 00:21:46 +00:00 (Migrated from jonasled.dev)

changed the description

changed the description
renovate_bot commented 2026-11-17 00:26:53 +00:00 (Migrated from jonasled.dev)

aborted the automatic merge because the source branch was updated. Learn more.

aborted the automatic merge because the source branch was updated. [Learn more](https://jonasled.dev/help/ci/pipelines/merge_trains.md#merge-request-dropped-from-the-merge-train).
renovate_bot commented 2026-11-17 00:26:54 +00:00 (Migrated from jonasled.dev)

added 3 commits

  • 69c0eb3f...d257cd31 - 2 commits from branch master
  • ae4d7fbe - fix(deps): update dependency i18next to v27.1.3

Compare with previous version

added 3 commits <ul><li>69c0eb3f...d257cd31 - 2 commits from branch <code>master</code></li><li>ae4d7fbe - fix(deps): update dependency i18next to v27.1.3</li></ul> [Compare with previous version](/jonasled/timetracker-next/-/merge_requests/34/diffs?diff_id=85847&start_sha=69c0eb3fdad03370d992d727e5eb0a275f531a06)
renovate_bot commented 2026-11-17 23:47:00 +00:00 (Migrated from jonasled.dev)

added 7 commits

  • ae4d7fbe...d340f3aa - 6 commits from branch master
  • a4b2abde - fix(deps): update dependency i18next to v27.1.5

Compare with previous version

added 7 commits <ul><li>ae4d7fbe...d340f3aa - 6 commits from branch <code>master</code></li><li>a4b2abde - fix(deps): update dependency i18next to v27.1.5</li></ul> [Compare with previous version](/jonasled/timetracker-next/-/merge_requests/34/diffs?diff_id=86166&start_sha=ae4d7fbe7291ed2a71e187e4a365817dbec567cb)
renovate_bot (Migrated from jonasled.dev) scheduled this pull request to auto merge when all checks succeed 2026-11-17 23:47:06 +00:00
renovate_bot commented 2026-11-17 23:47:11 +00:00 (Migrated from jonasled.dev)

changed title from fix(deps): update dependency i18next to v27.1.3 to fix(deps): update dependency i18next to v27.1.5

<p>changed title from <code class="idiff">fix(deps): update dependency i18next to v27.1.<span class="idiff left right deletion">3</span></code> to <code class="idiff">fix(deps): update dependency i18next to v27.1.<span class="idiff left right addition">5</span></code></p>
renovate_bot commented 2026-11-17 23:47:11 +00:00 (Migrated from jonasled.dev)

changed the description

changed the description
renovate_bot commented 2026-11-17 23:52:39 +00:00 (Migrated from jonasled.dev)

aborted the automatic merge because the source branch was updated. Learn more.

aborted the automatic merge because the source branch was updated. [Learn more](https://jonasled.dev/help/ci/pipelines/merge_trains.md#merge-request-dropped-from-the-merge-train).
renovate_bot commented 2026-11-17 23:52:39 +00:00 (Migrated from jonasled.dev)

added 5 commits

  • a4b2abde...8a40d900 - 4 commits from branch master
  • e70edaff - fix(deps): update dependency i18next to v27.1.5

Compare with previous version

added 5 commits <ul><li>a4b2abde...8a40d900 - 4 commits from branch <code>master</code></li><li>e70edaff - fix(deps): update dependency i18next to v27.1.5</li></ul> [Compare with previous version](/jonasled/timetracker-next/-/merge_requests/34/diffs?diff_id=86177&start_sha=a4b2abde1c2c5f48536f4f2259608bcdcd2258ff)
renovate_bot force-pushed renovate/i18next-27.x from a4b2abde1c to b53aa5a35f
Some checks failed
ci / frontend-test (push) Failing after 32s
ci / backend-test (push) Successful in 1m4s
ci / build (push) Successful in 3m12s
ci / backend-docker (push) Successful in 0s
ci / build-1 (push) Failing after 3m17s
ci / frontend-docker (push) Failing after 0s
ci / build-2 (push) Has been skipped
ci / chart (push) Failing after 0s
2026-11-18 00:14:04 +00:00
Compare
renovate_bot force-pushed renovate/i18next-27.x from b53aa5a35f
Some checks failed
ci / frontend-test (push) Failing after 32s
ci / backend-test (push) Successful in 1m4s
ci / build (push) Successful in 3m12s
ci / backend-docker (push) Successful in 0s
ci / build-1 (push) Failing after 3m17s
ci / frontend-docker (push) Failing after 0s
ci / build-2 (push) Has been skipped
ci / chart (push) Failing after 0s
to 93f0d73c86
Some checks failed
ci / frontend-test (push) Failing after 30s
ci / backend-test (push) Successful in 46s
ci / build-1 (push) Failing after 51s
ci / frontend-docker (push) Failing after 0s
ci / backend-docker (push) Successful in 0s
ci / build-2 (push) Has been skipped
ci / chart (push) Failing after 0s
ci / build (push) Successful in 2m31s
2026-11-18 00:31:36 +00:00
Compare
renovate_bot force-pushed renovate/i18next-27.x from 93f0d73c86
Some checks failed
ci / frontend-test (push) Failing after 30s
ci / backend-test (push) Successful in 46s
ci / build-1 (push) Failing after 51s
ci / frontend-docker (push) Failing after 0s
ci / backend-docker (push) Successful in 0s
ci / build-2 (push) Has been skipped
ci / chart (push) Failing after 0s
ci / build (push) Successful in 2m31s
to 0977a15774
Some checks failed
ci / frontend-test (push) Failing after 36s
ci / build (push) Failing after 45s
ci / backend-docker (push) Failing after 0s
ci / frontend-docker (push) Blocked by required conditions
ci / chart (push) Blocked by required conditions
ci / build-2 (push) Blocked by required conditions
ci / backend-test (push) Has started running
ci / build-1 (push) Has started running
2026-11-18 23:02:40 +00:00
Compare
Some checks failed
ci / frontend-test (push) Failing after 36s
ci / build (push) Failing after 45s
ci / backend-docker (push) Failing after 0s
ci / frontend-docker (push) Blocked by required conditions
ci / chart (push) Blocked by required conditions
ci / build-2 (push) Blocked by required conditions
ci / backend-test (push) Has started running
ci / build-1 (push) Has started running
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/i18next-27.x:renovate/i18next-27.x
git switch renovate/i18next-27.x

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch master
git merge --no-ff renovate/i18next-27.x
git switch renovate/i18next-27.x
git rebase master
git switch master
git merge --ff-only renovate/i18next-27.x
git switch renovate/i18next-27.x
git rebase master
git switch master
git merge --no-ff renovate/i18next-27.x
git switch master
git merge --squash renovate/i18next-27.x
git switch master
git merge --ff-only renovate/i18next-27.x
git switch master
git merge renovate/i18next-27.x
git push origin master
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
jonasled/timetracker-next!35
No description provided.