Update dependency i18next to v25 - autoclosed#1770
Closed
renovate[bot] wants to merge 1 commit intodevelopfrom
Closed
Update dependency i18next to v25 - autoclosed#1770renovate[bot] wants to merge 1 commit intodevelopfrom
renovate[bot] wants to merge 1 commit intodevelopfrom
Conversation
fadf455 to
0a18bf8
Compare
0a18bf8 to
630e646
Compare
fe35f30 to
c982863
Compare
a042dc8 to
364cfb1
Compare
6fe84c7 to
c618a3e
Compare
913e4bf to
1811217
Compare
1811217 to
b46c150
Compare
b46c150 to
08ae43b
Compare
08ae43b to
3d05184
Compare
3d05184 to
cdd6fc5
Compare
5e0cde9 to
1665689
Compare
613a715 to
16d351b
Compare
d6c538c to
56a6d73
Compare
14134ea to
0a58a72
Compare
0a58a72 to
1bd83cb
Compare
3ff12bd to
2a88156
Compare
2a88156 to
5fa5c39
Compare
863829e to
097a479
Compare
7beacb8 to
177d0d4
Compare
e477724 to
a4f0e95
Compare
a4f0e95 to
4d0c831
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
22.0.3→25.10.10Release Notes
i18next/i18next (i18next)
v25.10.10Compare Source
NODE_ENV=production)v25.10.9Compare Source
SelectorParam<Ns, KPrefix>helper type — a stable, readable alternative toParameters<TFunction<Ns>>[0]for typing selector function props 2414v25.10.8Compare Source
TFunctionSelectoroverloads soParameters<TFunction>resolves to the general selector signature instead of the brandedSelectorKeytype 2412v25.10.7Compare Source
v25.10.6Compare Source
v25.10.5Compare Source
keyPrefixingetFixedTnow provide full type-safe key narrowing — the returnedtfunction is scoped to the prefix subtree 2367v25.10.4Compare Source
exists()is now a type guard that narrows the key toSelectorKey, so a validated key can be passed directly tot()2364v25.10.3Compare Source
v25.10.2Compare Source
keyFromSelectoris now type-safe — the selector callback is constrained against your resource definitions, catching invalid keys at compile time. Supports optionalnsandkeyPrefixoptions for non-default namespace/prefix contexts 2364v25.10.1Compare Source
FilterKeysnow correctly excludes base keys that have context variants when the provided context doesn't match any of them (e.g. keysomewith variantsome_meis no longer accessible withcontext="one")v25.10.0Compare Source
keyFromSelectornow returns a brandedSelectorKeytype thatt()accepts directly, enabling pre-computed and reusable translation keys 2364keyPrefixingetFixedTand per-call options 2367{{val, number}}requiresnumber,{{val, datetime}}requiresDate,{{name}}requiresstring, etc. Custom formatters can be typed viainterpolationFormatTypeMapinCustomTypeOptions2378FilterKeysin selector mode now preserves non-context, non-plural leaf keys whencontextis provided, fixing incorrect type narrowing when combiningreturnObjects: truewithcontext2398v25.9.0Compare Source
{ count: number }when a key resolves to plural forms 2373v25.8.20Compare Source
getFixedT()selector now resolves namespaces against the effectivensrather than the global init options #2406v25.8.19Compare Source
nsand primary namespace in array #2405. Reverts the broad namespace-prefix rewrite from v25.8.15 and replaces it with a targeted fix that only rewrites paths starting with a secondary namespace in a multi-namespace array, matching the type-level contract ofGetSourcev25.8.18Compare Source
v25.8.17Compare Source
v25.8.16Compare Source
on()method now correctly returnsthisinstead ofvoid, matching the runtime behavior and enabling proper method chaining in TypeScriptv25.8.15Compare Source
v25.8.14Compare Source
v25.8.13Compare Source
v25.8.12Compare Source
v25.8.11Compare Source
v25.8.10Compare Source
v25.8.9Compare Source
v25.8.8Compare Source
v25.8.7Compare Source
v25.8.6Compare Source
getFixedT()return value 2318v25.8.5Compare Source
v25.8.4Compare Source
v25.8.3Compare Source
v25.8.2Compare Source
v25.8.1Compare Source
v25.8.0Compare Source
v25.7.4Compare Source
v25.7.3Compare Source
v25.7.2Compare Source
v25.7.1Compare Source
v25.7.0Compare Source
cloneInstanceto create a new interpolator if interpolation options are passed in. This will address 2371.v25.6.3Compare Source
v25.6.2Compare Source
InterpolationMapv25.6.1Compare Source
v25.6.0Compare Source
feat:
exists()method now respectsreturnObjectsoption - returnsfalsewhen accessing an object key withreturnObjects: false, enabling detection of object vs string keys 2359Note: This is a potential behavior change. If you were previously calling
exists()withreturnObjects: falseon object keys, those calls will now returnfalseinstead oftrue. This enables developers to detect whether a key points to an object or string value.v25.5.3Compare Source
v25.5.2Compare Source
v25.5.1Compare Source
v25.5.0Compare Source
v25.4.2Compare Source
v25.4.1Compare Source
v25.4.0Compare Source
enableSelector: truein your configuration optionsenableSelector: "optimize", i18next can now handle translation dictionaries of any size, without affecting IDE performance or build timesv25.3.6Compare Source
v25.3.5Compare Source
v25.3.4Compare Source
v25.3.3Compare Source
v25.3.2Compare Source
dir()for non-Intl language codes 2330v25.3.1Compare Source
interpolation.formatfunction is still usedv25.3.0Compare Source
dir()for Latn language codes 2324v25.2.1Compare Source
fallbackLngoption of t call with the init options 2312v25.2.0Compare Source
cacheInBuiltFormatsoption to address 2227v25.1.3Compare Source
v25.1.2Compare Source
v25.1.1Compare Source
parseMissingKeyHandlerv25.1.0Compare Source
parseMissingKeyHandlernow takes options as parameter like in missingKeyHandler 2304v25.0.2Compare Source
cloneInstancewithforkResourceStore: trueaddresses 2303v25.0.1Compare Source
changeLanguageto correctly usegetBestMatchFromCodes(string or array) 2299 and improveresolvedLanguageset for non canonical codesv25.0.0Compare Source
This is a potentially breaking release:
changeLanguageto always (string or array) usegetBestMatchFromCodes2299getBestMatchFromCodesnow tries to fallback to language code with same script 2299v24.2.3Compare Source
v24.2.2Compare Source
v24.2.1Compare Source
v24.2.0Compare Source
v24.1.2Compare Source
v24.1.1Compare Source
v24.1.0Compare Source
v24.0.5Compare Source
v24.0.4Compare Source
v24.0.3Compare Source
v24.0.2Compare Source
v24.0.1Compare Source
v24.0.0Compare Source
This is a major breaking release:
test/compatibility/v4/v4Compatibility.jsinitImmediatetoinitAsyncdevlanguage if plural rule not found➡️ check out the migration guide
v23.16.8Compare Source
v23.16.7Compare Source
v23.16.6Compare Source
v23.16.5Compare Source
v23.16.4Compare Source
v23.16.3Compare Source
v23.16.2Compare Source
v23.16.1Compare Source
v23.16.0Compare Source
Intl.getCanonicalLocalesfunction if available to format language code, like suggested in 2244v23.15.2Compare Source
v23.15.1Compare Source
v23.15.0Compare Source
v23.14.0Compare Source
v23.13.0Compare Source
v23.12.7Compare Source
v23.12.6Compare Source
v23.12.5Compare Source
v23.12.4Compare Source
v23.12.3Compare Source
v23.12.2Compare Source
lngis undefined when formatter used in$t( )" 1938v23.12.1Compare Source
v23.12.0Compare Source
v23.11.5Compare Source
v23.11.4Compare Source
v23.11.3Compare Source
v23.11.2Compare Source
v23.11.1Compare Source
skipLibCheck2169v23.11.0Compare Source
v23.10.1Compare Source
v23.10.0Compare Source
v23.9.0Compare Source
InterpolationMap2140 fixes 2014v23.8.3Compare Source
addResourceBundle2081v23.8.2Compare Source
addResourcesto address 2130v23.8.1Compare Source
v23.8.0Compare Source
v23.7.20Compare Source
v23.7.19Compare Source
v23.7.18Compare Source
v23.7.17Compare Source
CustomInstanceExtensions2122v23.7.16Compare Source
v23.7.15Compare Source
v23.7.14Compare Source
v23.7.13Compare Source
v23.7.12Compare Source
v23.7.11Compare Source
v23.7.10Compare Source
v23.7.9Compare Source
v23.7.8Compare Source
v23.7.7Compare Source
v23.7.6Compare Source
v23.7.5Compare Source
v23.7.4Compare Source
v23.7.3Compare Source
v23.7.2Compare Source
v23.7.1Compare Source
v23.7.0Compare Source
v23.6.0Compare Source
v23.5.1Compare Source
v23.5.0Compare Source
v23.4.9Compare Source
v23.4.8Compare Source
v23.4.7Compare Source
v23.4.6Compare Source
v23.4.5Compare Source
v23.4.4Compare Source
v23.4.3Compare Source
v23.4.2Compare Source
v23.4.1Compare Source
v23.4.0Compare Source
v23.3.0Compare Source
v23.2.11Compare Source
v23.2.10Compare Source
v23.2.9Compare Source
v23.2.8Compare Source
v23.2.7Compare Source
v23.2.6Compare Source
v23.2.5Compare Source
v23.2.3Compare Source
v23.2.2Compare Source
v23.2.1Compare Source
v23.2.0Compare Source
v23.1.0Compare Source
forkResourceStore1974v23.0.2Compare Source
v23.0.1Compare Source
v23.0.0Compare Source
This is a major breaking release:
redesigned TypeScript types 1911
removed
setDebugfunction in the logger: 1954changed
returnNulldefault tofalse1885drop support for old browsers and Node.js < v12 1948
ordinal plural keys are now prefixed with
_ordinalto help translators (non-breaking, because of fallback) 1945➡️ check out the migration guide
v22.5.1Compare Source
v22.5.0Compare Source
v22.4.15Compare Source
v22.4.14Compare Source
v22.4.13Compare Source
[
v22.4.12](https://redirect.github.com/i18next/i18neConfiguration
📅 Schedule: Branch creation - At 12:00 AM through 04:59 AM and 10:00 PM through 11:59 PM, Monday through Friday ( * 0-4,22-23 * * 1-5 ), Only on Sunday and Saturday ( * * * * 0,6 ) (UTC), 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.