toeverything / AFFiNE

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
https://affine.pro
Other
42.67k stars 2.79k forks source link

chore: bump up i18next version to v24 #8898

Open renovate[bot] opened 2 days ago

renovate[bot] commented 2 days ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
i18next (source) ^23.11.1 -> ^24.0.0 age adoption passing confidence

Release Notes

i18next/i18next (i18next) ### [`v24.0.0`](https://redirect.github.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2400) [Compare Source](https://redirect.github.com/i18next/i18next/compare/v23.16.8...v24.0.0) **This is a major breaking release:** - remove support for older environments - remove old i18next JSON formats - To convert your existing v3 translations to the v4 format, have a look at [i18next-v4-format-converter](https://redirect.github.com/i18next/i18next-v4-format-converter) or this [web tool](https://i18next.github.io/i18next-v4-format-converter-web/). - remove support for compatibility to v1 API - Intl API is mandatory now and will not fallback anymore - possible compatibility layer for older formats: `test/compatibility/v4/v4Compatibility.js` - rename `initImmediate` to `initAsync` - fallback to `dev` language if plural rule not found - remove TypeScript v4 support. TypeScript v5 is now an optional peer dependency - addresses - [2244](https://redirect.github.com/i18next/i18next/pull/2244) - [2184](https://redirect.github.com/i18next/i18next/pull/2184) - [2213](https://redirect.github.com/i18next/i18next/issues/2213) - [2206](https://redirect.github.com/i18next/i18next/pull/2206) - [2208](https://redirect.github.com/i18next/i18next/issues/2208) - [2148](https://redirect.github.com/i18next/i18next/issues/2148) - [2254](https://redirect.github.com/i18next/i18next/issues/2254) ➡️ check out the [migration guide](https://www.i18next.com/misc/migration-guide#v23.x.x-to-v24.0.0) ### [`v23.16.8`](https://redirect.github.com/i18next/i18next/blob/HEAD/CHANGELOG.md#23168) [Compare Source](https://redirect.github.com/i18next/i18next/compare/v23.16.7...v23.16.8) - fix(plural): Create cache entry for PluralRules created as part of the fallback flow [2256](https://redirect.github.com/i18next/i18next/pull/2256) ### [`v23.16.7`](https://redirect.github.com/i18next/i18next/blob/HEAD/CHANGELOG.md#23167) [Compare Source](https://redirect.github.com/i18next/i18next/compare/v23.16.6...v23.16.7) - if plural rule is not found, try to search with language only code [2252](https://redirect.github.com/i18next/i18next/issues/2252) ### [`v23.16.6`](https://redirect.github.com/i18next/i18next/blob/HEAD/CHANGELOG.md#23166) [Compare Source](https://redirect.github.com/i18next/i18next/compare/v23.16.5...v23.16.6) - fix: Small typo in the type definitions [2250](https://redirect.github.com/i18next/i18next/pull/2250)

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.



This PR was generated by Mend Renovate. View the repository job log.

graphite-app[bot] commented 2 days ago

Your org has enabled the Graphite merge queue for merging into canary

Add the label “merge” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix.

You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link.

nx-cloud[bot] commented 2 days ago

☁️ Nx Cloud Report

CI is running/has finished running commands for commit e9e7088b864fbcc25a8b23471058368820ebd5de. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 1 target - [`nx test:coverage @affine/monorepo`](https://cloud.nx.app/runs/ZUJC5U9DPU?utm_source=pull-request&utm_medium=comment)

Sent with 💌 from NxCloud.

codecov[bot] commented 2 days ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 70.19%. Comparing base (5994814) to head (e9e7088).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## canary #8898 +/- ## ======================================= Coverage 70.19% 70.19% ======================================= Files 550 550 Lines 34005 34005 Branches 3052 3052 ======================================= Hits 23871 23871 Misses 9762 9762 Partials 372 372 ``` | [Flag](https://app.codecov.io/gh/toeverything/AFFiNE/pull/8898/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=toeverything) | Coverage Δ | | |---|---|---| | [server-test](https://app.codecov.io/gh/toeverything/AFFiNE/pull/8898/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=toeverything) | `77.07% <ø> (ø)` | | | [unittest](https://app.codecov.io/gh/toeverything/AFFiNE/pull/8898/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=toeverything) | `46.08% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=toeverything#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


🚨 Try these New Features: