Skip to content

Update dependency i18next to v27.2.3 - #170

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

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

Conversation

@renovate

@renovate renovate Bot commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

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

Release Notes

i18next/i18next (i18next)

v27.2.3

Compare Source

  • fix: a variable in the options of a nested $t(key, { "name": "{{name}}" }) is escaped once. With the default escapeValue: true it was escaped for HTML before the options were parsed and again by the nested t(), so Tom & Jerry came out as Tom & Jerry (and react-i18next's Trans has shown Tom & Jerry since 17.1.10, with escapeValue: false too). These variables are now escaped for the options' JSON, whatever escapeValue is, and the nested t() escapes them like the values of a direct call; defaultValue and joinArrays there, which it does not interpolate, stay escaped once. A value with ", ', \ or a line break no longer breaks the options, with escapeValue: false a value can no longer inject options such as lng, and with skipOnVariables a {{placeholder}} inside a value is no longer interpolated a second time. The warning added in 26.0.6 now covers {{- var}} in these options, the one form still inserted unescaped, instead of escapeValue: 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 276d9a9 into main Nov 21, 2026
4 checks passed
@thomaszang
thomaszang deleted the renovate/i18next-27.x branch November 21, 2026 23:40
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