next-core
next-core copied to clipboard
chore(deps): Update i18next packages (next) (major)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| i18next (source) | ^22.5.1 -> ^23.11.4 |
||||
| i18next-browser-languagedetector | ^7.2.1 -> ^8.0.0 |
||||
| react-i18next | ^12.3.1 -> ^14.1.1 |
Release Notes
i18next/i18next (i18next)
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
i18next/i18next-browser-languageDetector (i18next-browser-languagedetector)
v8.0.0
i18next/react-i18next (react-i18next)
v14.1.1
- do not modify passed tOptions context property to address 1745
v14.1.0
- types(
Trans): add typechecking on context prop 1732 (might brake if using "internal"TransorTransProps)
v14.0.8
v14.0.7
- try to get rid of internal interpolationOverride handling for Trans component, fixes 1729
v14.0.6
- align context handling of Trans component with t function, fixes 1729
v14.0.5
v14.0.4
- fix interpolation of the count prop 1719
v14.0.3
- revert changes done in v14.0.2 since it breaks normal language change render updates
v14.0.2
v14.0.1
- types: fix typo in
CustomInstanceExtensions1713
v14.0.0
- types: reportNamespaces is now optional, should fix 1693
v13.5.0
- self-closing components in translation strings should not attempt to replace the component's children 1695
v13.4.1
- types: use CustomInstanceExtenstions to extend reportNamespaces
v13.4.0
- fix: separate cjs and mjs typings
v13.3.2
- types: fix consider importing '*.js'
v13.3.1
- optimize defaultVariables feature introduced in last release
v13.3.0
- Respect defaultVariables in the interpolation options 1685
v13.2.2
- Fix missing TransWithoutContext type 1672
v13.2.1
- types: Allow iterable ReactI18NextChildren as children 1669
v13.2.0
- Don't use defaults prop as default key 1664
v13.1.2
- postpone usage of newer ES syntax
v13.1.1
- Render all children regardless of type when using i18nIsDynamicList prop 1661
v13.1.0
- Fix non-list dynamic content in Trans component 1660
v13.0.3
- fix unescape is not consistently called for all values 1657
v13.0.2
- export icu.macro 1652
v13.0.1
- types: Fix performance issue in Trans component 1646
v13.0.0
- Update types to support t function redesign 1615
- requires i18next >= v23.0.1
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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.