Skip to content

Update dependency i18next to v26.5.5 - #1557

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/i18next-26.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/i18next-26.x

Conversation

@renovate

@renovate renovate Bot commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
i18next (source) 26.5.2 → 26.5.5 age confidence

Release Notes

i18next/i18next (i18next)

v26.5.5

Compare Source

  • fix: with the default skipOnVariables: true, a {{placeholder}} inside a value inserted with an unescaped {{- var}} now stays literal, as it already did for {{var}}. The escape pass ran after the unescaped values were written and scanned them again, so t('{{- a}}', { a: '{{b}}', b: 'c' }) returned 'c' instead of '{{b}}'. With pre-built HTML that carries user text, like t('You may contact {{name}} at {{- emailHTML}}.', { name, emailHTML }), that text could pull another variable of the same t() call into the output. Results with skipOnVariables: false, and values without placeholders, are unchanged. Compatibility note: a {{- var}} value whose placeholders were meant to be filled from the same t() call now keeps them literally; skipOnVariables: false restores the old behavior. Thanks @​nk-batman21 (#​2455, reported in #​1595).

v26.5.4

Compare Source

  • fix: with the default skipOnVariables: true, a {{placeholder}} inside an interpolated value now stays literal also when the same placeholder appears later in the translation. Each value was written with String.replace, which replaces the first copy of the placeholder text, and that could be the copy inside an earlier value: t('{{name}} has {{count}} items', { name: '{{count}}', count: 5 }) returned '5 has {{count}} items' instead of '{{count}} has 5 items'. The value is now written at the position of the matched placeholder. Results with skipOnVariables: false are unchanged. Thanks @​nk-batman21 (#​2454, reported in #​1595).
  • fix: with useRawValueToEscape: true, a non-string value in an unescaped {{- var}} placeholder or with escapeValue: false no longer throws val.replace is not a function; it is converted to a string like any other value.

v26.5.3

Compare Source

  • fix(types): with the selector API, a plural key now requires count also when the call passes an explicit ns. t(($) => $.item) already failed without count, but t(($) => $.item, { ns: 'items' }) compiled, although at runtime it looks up item instead of item_one / item_other and returns the key. It now fails the same way, also with ordinal: true, defaultValue, an ns array, a key prefix and i18n.t. Calls with count, context, returnObjects: true and arrays of selectors, as well as return types, are unchanged. Thanks @​nyarthan (#​2452).

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.

@vercel

vercel Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
profile Ready Ready Preview Oct 23, 2026 11:17am UTC

@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Oct 12, 2026
@renovate renovate Bot changed the title Update dependency i18next to v26.4.4 Update dependency i18next to v26.4.5 Oct 14, 2026
@renovate
renovate Bot force-pushed the renovate/i18next-26.x branch from 10c415c to cc1d68f Compare October 14, 2026 15:16
@renovate renovate Bot changed the title Update dependency i18next to v26.4.5 Update dependency i18next to v26.4.5 - autoclosed Oct 15, 2026
@renovate renovate Bot closed this Oct 15, 2026
@renovate
renovate Bot deleted the renovate/i18next-26.x branch October 15, 2026 05:29
@renovate renovate Bot changed the title Update dependency i18next to v26.4.5 - autoclosed Update dependency i18next to v26.5.3 Oct 20, 2026
@renovate renovate Bot reopened this Oct 20, 2026
@renovate
renovate Bot force-pushed the renovate/i18next-26.x branch 2 times, most recently from cc1d68f to 756ec88 Compare October 20, 2026 21:57
@renovate
renovate Bot force-pushed the renovate/i18next-26.x branch from 756ec88 to 2a54748 Compare October 22, 2026 14:55
@renovate renovate Bot changed the title Update dependency i18next to v26.5.3 Update dependency i18next to v26.5.4 Oct 22, 2026
@renovate
renovate Bot force-pushed the renovate/i18next-26.x branch from 2a54748 to b1188c9 Compare October 23, 2026 11:17
@renovate renovate Bot changed the title Update dependency i18next to v26.5.4 Update dependency i18next to v26.5.5 Oct 23, 2026

This branch was successfully deployed

1 active deployment
Preview — b1188c9c Deployed Oct 23, 2026 by vercel[bot]
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.

0 participants