From ab61c9c967287ebb290b00c7023f2f6120e267cb Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Wed, 19 Aug 2026 13:31:08 +0200 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=EF=B8=8F(frontend)=20upgrade=20i18nex?= =?UTF-8?q?t=20and=20react-i18next=20patch=20versions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bump i18next from 26.3.1 to 26.3.6 and react-i18next from 17.0.8 to 17.0.10. Both are patch upgrades with bug fixes and no breaking changes, requiring no code modifications on our side. i18next: * 26.3.6: widen the optional TypeScript peer dependency range to include v7. * 26.3.1: fix a regression in type definitions related to `keyPrefix` to prevent incorrect type pollution. react-i18next: * 17.0.10: improve warning messages for `useTranslation` and `Trans` to help debug common issues, especially in monorepos. Add a new development-only warning when `useTranslation` suspends while loading translations. * 17.0.9: add TypeScript 7 support and fix related type-checking issues with the `` component. --- CHANGELOG.md | 1 + src/frontend/package-lock.json | 20 ++++++++++---------- src/frontend/package.json | 4 ++-- 3 files changed, 13 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b3b780ca..25a1af2b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ and this project adheres to ### Changed - ✨(backend) accept form-urlencoded on the user token endpoint +- ⬆️(frontend) upgrade i18next and react-i18next patch versions ### Fixed diff --git a/src/frontend/package-lock.json b/src/frontend/package-lock.json index 69cfdad4..001adc89 100644 --- a/src/frontend/package-lock.json +++ b/src/frontend/package-lock.json @@ -24,7 +24,7 @@ "crisp-sdk-web": "1.1.2", "hoofd": "1.7.3", "humanize-duration": "3.33.2", - "i18next": "26.3.1", + "i18next": "26.3.6", "i18next-browser-languagedetector": "8.2.1", "i18next-parser": "9.4.0", "i18next-resources-to-backend": "1.2.1", @@ -34,7 +34,7 @@ "react-aria": "3.50.0", "react-aria-components": "1.19.0", "react-dom": "18.3.1", - "react-i18next": "17.0.8", + "react-i18next": "17.0.10", "react-stately": "3.48.0", "use-sound": "5.0.0", "valtio": "2.3.2", @@ -6400,9 +6400,9 @@ } }, "node_modules/i18next": { - "version": "26.3.1", - "resolved": "https://registry.npmjs.org/i18next/-/i18next-26.3.1.tgz", - "integrity": "sha512-txQqd5EULsqEh9OJqRH15aCaOuy/nLJyhw5EHCSKLKJE1aBbb3Zve2+uQIxgWhPm1QqUQoWyQBm2kfmmIrzkcQ==", + "version": "26.3.6", + "resolved": "https://registry.npmjs.org/i18next/-/i18next-26.3.6.tgz", + "integrity": "sha512-Bu5Z2nAXgfVyM8xvW3jk9EKRIuX37PudsrBViThNFx7CR7aaYTpP01cxNB/E4c4UUzTDiAZRstEhsRfPOL/8xA==", "funding": [ { "type": "individual", @@ -6419,7 +6419,7 @@ ], "license": "MIT", "peerDependencies": { - "typescript": "^5 || ^6" + "typescript": "^5 || ^6 || ^7" }, "peerDependenciesMeta": { "typescript": { @@ -9422,9 +9422,9 @@ } }, "node_modules/react-i18next": { - "version": "17.0.8", - "resolved": "https://registry.npmjs.org/react-i18next/-/react-i18next-17.0.8.tgz", - "integrity": "sha512-0ooKbGLU8JXhe1zwpQUWIeXSgLPOfwJmgheWRIUpcoA0CpyabpGhayjdG+/eA5esC1AQ8h2jWpXjJfzQzeDOCw==", + "version": "17.0.10", + "resolved": "https://registry.npmjs.org/react-i18next/-/react-i18next-17.0.10.tgz", + "integrity": "sha512-XneHftyYA774MJkkccSkZ5oKrUpCnXIPmxio3wemqrVzCRLWiGXOMbIzObrer03fNDEnm8g8R5yYls4HcE+esg==", "license": "MIT", "dependencies": { "@babel/runtime": "^7.29.2", @@ -9434,7 +9434,7 @@ "peerDependencies": { "i18next": ">= 26.2.0", "react": ">= 16.8.0", - "typescript": "^5 || ^6" + "typescript": "^5 || ^6 || ^7" }, "peerDependenciesMeta": { "react-dom": { diff --git a/src/frontend/package.json b/src/frontend/package.json index 147c543d..ae703f3e 100644 --- a/src/frontend/package.json +++ b/src/frontend/package.json @@ -31,7 +31,7 @@ "crisp-sdk-web": "1.1.2", "hoofd": "1.7.3", "humanize-duration": "3.33.2", - "i18next": "26.3.1", + "i18next": "26.3.6", "i18next-browser-languagedetector": "8.2.1", "i18next-parser": "9.4.0", "i18next-resources-to-backend": "1.2.1", @@ -41,7 +41,7 @@ "react-aria": "3.50.0", "react-aria-components": "1.19.0", "react-dom": "18.3.1", - "react-i18next": "17.0.8", + "react-i18next": "17.0.10", "react-stately": "3.48.0", "use-sound": "5.0.0", "valtio": "2.3.2",