fix(deps): update dependency i18next to v23
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| i18next (source) | ^21.10.0 -> ^23.15.2 |
Release Notes
i18next/i18next (i18next)
v23.15.2
v23.15.1
- types(TFunction): make return not inferrable and use defaultValue as return when provided 2234
v23.15.0
- support unescaped variables in TypeScript 2233
v23.14.0
- If backend errors with retry flag, set internal state to 0, so reloadingResources should work 147
v23.13.0
- Cache output of getRule to optimize performance 2226
v23.12.7
- revert last optimization to address 2227
v23.12.6
- remove console.log statement 2227
v23.12.5
- try to optimize last fix for 2227
v23.12.4
- try to address 2227 without the removal of cached formatter for in-built formatters
v23.12.3
- fix: Using a comma in a formatter parameter 2225
v23.12.2
- fix: Nested translation resolution between languages uses the fallback language for nested translations 2216 by preserving issue fix "
lngis undefined when formatter used in$t( )" 1938
v23.12.1
- Use explicit imports for utils 2212
v23.12.0
- feat: Add posibility to override keyPrefix for certain translation. 2211
v23.11.5
v23.11.4
- perf(interpolator): use object deconstruction 2181
v23.11.3
- fix: Unsupported language is automatically added to preload option 2178
v23.11.2
- allow defaultValue in nested translation 2174
v23.11.1
- types: remove const from ParseKeys Context type parameter and disable
skipLibCheck2169
v23.11.0
- Fix typing performance regression 2166
v23.10.1
- optimize getBestMatchFromCodes for https://github.com/i18next/i18next-browser-languageDetector/issues/281
v23.10.0
- Add 'isInitializing' property so we're able to detect init() was already called 2141
v23.9.0
v23.8.3
- prevent resource mutation when using
addResourceBundle2081
v23.8.2
- optimize
addResourcesto address 2130
v23.8.1
- types: support stricter typechecking for returnEmptyString and returnNull 2129
v23.8.0
- improve performance by reducing array slices and RegExp recreation 2128
v23.7.20
- optimize: consistent _zero special handling also for defaultValue_zero 2124
- intl plural rule for dev is now en (consistent with v3 compatibility)
v23.7.19
- fix: consistent _zero special handling also for defaultValue_zero 2124
v23.7.18
- types: support readonly defaultNS 2123
v23.7.17
- types: fix support for defaultNS as array (fixes 2118) 2121
- types: fix typo in
CustomInstanceExtensions2122
v23.7.16
- fix: Use Typescript 5 types with Typescript 5+ 2108
- Hint: If you're using TypeScript 4 and you navigate to the type definitions in your code editor, it might be you will see the TypeScript 5 types, but the TS compiler should use the correct types.
v23.7.15
- types: simplifies types for array access and fixes 2103
v23.7.14
- types: fix types for array access
v23.7.13
- types: optimise ParseTReturn 2095
v23.7.12
- types: fix for older ts version (context validation only for TS 5)
v23.7.11
- types: fix for older ts versions 2090
v23.7.10
- types: initializedStoreOnce and initializedLanguageOnce 2089
v23.7.9
- types: fix FormatFunction should allow any value inside options parameter
v23.7.8
- prevent cosmetic SyntaxError because of non catched error variable
v23.7.7
- optimize TypeScript V4 export
v23.7.6
- types: CustomInstanceExtenstions
v23.7.5
- fix types export for TypeScript v4 in combination with react-i18next
v23.7.4
- fix for TypeScript v4 in combination with react-i18next
v23.7.3
- fix: consider importing '*.js'
v23.7.2
- types: optimize mts
v23.7.1
- fix some mjs typings
v23.7.0
v23.6.0
- add interpolation data to response if returnDetails is true 2053
v23.5.1
- types: use unknown to better infer types on nested t functions also for older typescript version 2032
v23.5.0
- types: use unknown to better infer types on nested t functions 2018
v23.4.9
- fix: preload languages also on cimode, if configured also as fallbackLng
v23.4.8
- fix: preload languages also on cimode, if configured
v23.4.7
- preload languages also on cimode, if configured
v23.4.6
- pass correct language for custom i18nFormat
v23.4.5
- types: named export for FlatNamespace
v23.4.4
- types: add customisation of contextSeparator also on v4 t types 2019
v23.4.3
- types: add customisation of contextSeparator 2017
v23.4.2
- types: export some types for next-i18next
v23.4.1
- types: fix typescript imports
v23.4.0
v23.3.0
- types: Fix performance issue that affects flat object with multiple (thousands) keys 2004
v23.2.11
- types: Fix $TFunctionBrand 1997
v23.2.10
- types: emit function can have additional arguments 1993
v23.2.9
- types: Add brand to TFunction type so different namespaces' TFunctions are not treated as compatible 1994
v23.2.8
- types for hasLoadedNamespace
v23.2.7
- fix utils import (for Deno)
v23.2.6
- Re-allow unknown keys, when a defaultValue is provided 1867
v23.2.5
- Clean language code before passing to formatters 1988
v23.2.3
- types: Optimize logic for fallback ns 1984
v23.2.2
- types: try to fix fallbackNS type handling also for older TS version 1981
v23.2.1
- types: Fix $TFunctionBrand 1997
v23.2.0
- types: add fallbackNS type handling 1975
v23.1.0
- cloneInstance: introduce
forkResourceStore1974 - types: default argument values for ParseKeys type
v23.0.2
- refactor: static createInstance for wider browser support 1973
v23.0.1
- types: export ParseKeys
v23.0.0
This is a major breaking release:
-
redesigned TypeScript types 1911
-
removed
setDebugfunction in the logger: 1954 -
changed
returnNulldefault tofalse1885 -
drop 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.1
- ResourceStore addResource: offer possibility to pass keySeparator via options 1968
v22.5.0
- extend hasLoadedNamespace function options to pass optional lng to optimize server side usage of react-i18next
v22.4.15
- fix: function t() passed options alteration 1947
v22.4.14
- fix: pass lng to format function used in nesting 1938
v22.4.13
- fix: deepFind as fallback for interpolation 1930
v22.4.12
- fix: getBestMatchFromCodes when dev is a supported lng 1927
v22.4.11
- types: fix postProcessor key argument type, fixes 1919
v22.4.10
- format options are optional, fixes 1913
v22.4.9
- fix: getFixedT with keyPrefix and fallback keys usage 1604
v22.4.8
- fix: nested interpolation with data model "replace"
v22.4.7
- fix: interpolation with data model "replace"
v22.4.6
- types: missing dir function export for typescript
v22.4.5
- types: allow als general options as second argument for t function
v22.4.4
- types: fix some strange t function overloads fixes 1882
v22.4.3
- types: t function overloads fix (open issue is still calling t with optional options argument)
v22.4.2
- types: t function overloads for call with ns option in combination with objects
v22.4.1
- fix: function t() passed options alteration 1947
v22.4.0
- types: more overloads for t function
v22.3.0
- offer possibility to define a language detector's detect function as promise
v22.2.0
v22.1.5
- types: ability to pass ns as option instead of prefix i.e.
i18next.t('bar', { ns: 'alternate' });
v22.1.4
- dir function executable also without initialization
v22.1.3
- named export for dir function
v22.1.2
- revert: guess if languageDetector is async if no info provided
v22.1.1
- guess if languageDetector is async if no info provided
v22.1.0
- extend backend connector to accept also backends with promise / async-await signature
v22.0.8
- fix options for continuous nesting 1876
v22.0.7
- Expose some types 1871
v22.0.6
- fix CallbackError type
v22.0.5
- Change DefaultTFuncReturn to return null if returnNull typeOption is true 1865
v22.0.4
- Add type for Formatter.addCached 1862
v22.0.3
v22.0.2
- [TypeScript] Add default value for TDefaultResult 1853
v22.0.1
- Fix normalize type options 1850
v22.0.0
- Make the translation function fully type-safe 1775
BREAKING: Since this is a major rewrite for TypeScript usage we decided to create a major version. For JavaScript users v22.0.0 is equivalent to 21.10.0
Configuration
📅 Schedule: Branch creation - "before 12pm on Sunday" (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.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| statsify | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Nov 20, 2024 2:28pm |