From ecdaea9176ff3eb29b8d01e3a450ea2582f362ed Mon Sep 17 00:00:00 2001 From: renovate <29139614+renovate@users.noreply.github.com> Date: Tue, 15 Apr 2025 11:52:42 +0000 Subject: [PATCH] chore: bump up i18next version to v25 (#11705) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [i18next](https://www.i18next.com) ([source](https://redirect.github.com/i18next/i18next)) | [`^24.1.0` -> `^25.0.0`](https://renovatebot.com/diffs/npm/i18next/24.2.3/25.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/i18next/25.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/i18next/25.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/i18next/24.2.3/25.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/i18next/24.2.3/25.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
i18next/i18next (i18next) ### [`v25.0.0`](https://redirect.github.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2500) [Compare Source](https://redirect.github.com/i18next/i18next/compare/v24.2.3...v25.0.0) **This is a potentially breaking release:** - fix multiple changeLanguage call that may have result in wrong order in previous versions [1605](https://redirect.github.com/i18next/i18next/issues/1605) [2298](https://redirect.github.com/i18next/i18next/pull/2298) - adapt `changeLanguage` to always (string or array) use `getBestMatchFromCodes` [2299](https://redirect.github.com/i18next/i18next/issues/2299) - `getBestMatchFromCodes` now tries to fallback to language code with same script [2299](https://redirect.github.com/i18next/i18next/issues/2299)
--- ### Configuration 📅 **Schedule**: 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](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE). --- packages/frontend/i18n/package.json | 2 +- yarn.lock | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/frontend/i18n/package.json b/packages/frontend/i18n/package.json index 3fe9c4f05d..950b92b022 100644 --- a/packages/frontend/i18n/package.json +++ b/packages/frontend/i18n/package.json @@ -21,7 +21,7 @@ "@affine/debug": "workspace:*", "@magic-works/i18n-codegen": "^0.6.1", "dayjs": "^1.11.13", - "i18next": "^24.1.0", + "i18next": "^25.0.0", "react": "^19.0.0", "react-i18next": "^15.2.0", "undici": "^7.1.0" diff --git a/yarn.lock b/yarn.lock index d870c37eb3..3c2266f5a6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -644,7 +644,7 @@ __metadata: "@magic-works/i18n-codegen": "npm:^0.6.1" dayjs: "npm:^1.11.13" glob: "npm:^11.0.0" - i18next: "npm:^24.1.0" + i18next: "npm:^25.0.0" react: "npm:^19.0.0" react-i18next: "npm:^15.2.0" undici: "npm:^7.1.0" @@ -23168,9 +23168,9 @@ __metadata: languageName: node linkType: hard -"i18next@npm:^24.1.0": - version: 24.2.3 - resolution: "i18next@npm:24.2.3" +"i18next@npm:^25.0.0": + version: 25.0.0 + resolution: "i18next@npm:25.0.0" dependencies: "@babel/runtime": "npm:^7.26.10" peerDependencies: @@ -23178,7 +23178,7 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 10/6c73d964f2a98b1aa2c2717fe6da66fc265bcbbc5fcd52b2bfff51ff013d30d4f7d7449c4eb7f464d27af43e2e73f2e7f1d46a144d731bd3bdb1385d4c199e4c + checksum: 10/49fc1bb94661a1253f0decb837fa4ad7b26a09e04dacf29e453bd396ba9c05a5bc38575133a4a893b0b65da143ad0493867d2e2c41a4d3d10f9fce4b71c45fc0 languageName: node linkType: hard