baryonsoft / overleaf

GNU Affero General Public License v3.0
0 stars 0 forks source link

Update dependency i18next to v23 #174

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

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

Release Notes

i18next/i18next (i18next) ### [`v23.5.1`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2351) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.5.0...v23.5.1) - types: use unknown to better infer types on nested t functions also for older typescript version [2032](https://togithub.com/i18next/i18next/issues/2032) ### [`v23.5.0`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2350) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.4.9...v23.5.0) - types: use unknown to better infer types on nested t functions [2018](https://togithub.com/i18next/i18next/pull/2018) ### [`v23.4.9`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2349) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.4.8...v23.4.9) - fix: preload languages also on cimode, if configured also as fallbackLng ### [`v23.4.8`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2348) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.4.7...v23.4.8) - fix: preload languages also on cimode, if configured ### [`v23.4.7`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2347) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.4.6...v23.4.7) - preload languages also on cimode, if configured ### [`v23.4.6`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2346) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.4.5...v23.4.6) - pass correct language for custom i18nFormat ### [`v23.4.5`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2345) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.4.4...v23.4.5) - types: named export for FlatNamespace ### [`v23.4.4`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2344) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.4.3...v23.4.4) - types: add customisation of contextSeparator also on v4 t types [2019](https://togithub.com/i18next/i18next/pull/2019) ### [`v23.4.3`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2343) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.4.2...v23.4.3) - types: add customisation of contextSeparator [2017](https://togithub.com/i18next/i18next/pull/2017) ### [`v23.4.2`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2342) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.4.1...v23.4.2) - types: export some types for next-i18next ### [`v23.4.1`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2341) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.4.0...v23.4.1) - types: fix typescript imports ### [`v23.4.0`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2340) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.3.0...v23.4.0) - types: Support const modifier for options and key [2007](https://togithub.com/i18next/i18next/pull/2007) - types: Support context [2006](https://togithub.com/i18next/i18next/pull/2006) ### [`v23.3.0`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2330) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.2.11...v23.3.0) - types: Fix performance issue that affects flat object with multiple (thousands) keys [2004](https://togithub.com/i18next/i18next/pull/2004) ### [`v23.2.11`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#23211) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.2.10...v23.2.11) - types: Fix $TFunctionBrand [1997](https://togithub.com/i18next/i18next/pull/1997) ### [`v23.2.10`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#23210) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.2.9...v23.2.10) - types: emit function can have additional arguments [1993](https://togithub.com/i18next/i18next/issues/1993) ### [`v23.2.9`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2329) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.2.8...v23.2.9) - types: Add brand to TFunction type so different namespaces' TFunctions are not treated as compatible [1994](https://togithub.com/i18next/i18next/pull/1994) ### [`v23.2.8`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2328) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.2.7...v23.2.8) - types for hasLoadedNamespace ### [`v23.2.7`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2327) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.2.6...v23.2.7) - fix utils import (for Deno) ### [`v23.2.6`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2326) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.2.5...v23.2.6) - Re-allow unknown keys, when a defaultValue is provided [1867](https://togithub.com/i18next/i18next/issues/1867) ### [`v23.2.5`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2325) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.2.3...v23.2.5) - Clean language code before passing to formatters [1988](https://togithub.com/i18next/i18next/pull/1988) ### [`v23.2.3`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2323) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.2.2...v23.2.3) - types: Optimize logic for fallback ns [1984](https://togithub.com/i18next/i18next/pull/1984) ### [`v23.2.2`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2322) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.2.1...v23.2.2) - types: try to fix fallbackNS type handling also for older TS version [1981](https://togithub.com/i18next/i18next/issues/1981) ### [`v23.2.1`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#23211) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.2.0...v23.2.1) - types: Fix $TFunctionBrand [1997](https://togithub.com/i18next/i18next/pull/1997) ### [`v23.2.0`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2320) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.1.0...v23.2.0) - types: add fallbackNS type handling [1975](https://togithub.com/i18next/i18next/pull/1975) ### [`v23.1.0`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2310) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.0.2...v23.1.0) - cloneInstance: introduce `forkResourceStore` [1974](https://togithub.com/i18next/i18next/issues/1974) - types: default argument values for ParseKeys type ### [`v23.0.2`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2302) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.0.1...v23.0.2) - refactor: static createInstance for wider browser support [1973](https://togithub.com/i18next/i18next/pull/1973) ### [`v23.0.1`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2301) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.0.0...v23.0.1) - types: export ParseKeys ### [`v23.0.0`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2300) [Compare Source](https://togithub.com/i18next/i18next/compare/v22.5.1...v23.0.0) **This is a major breaking release:** - redesigned TypeScript types [1911](https://togithub.com/i18next/i18next/pull/1911) - removed `setDebug` function in the logger: [1954](https://togithub.com/i18next/i18next/issues/1954#issuecomment-1537117407) - changed `returnNull` default to `false` [1885](https://togithub.com/i18next/i18next/pull/1885) - drop support for old browsers and Node.js < v12 [1948](https://togithub.com/i18next/i18next/issues/1948) - ordinal plural keys are now prefixed with `_ordinal` to help translators (non-breaking, because of fallback) [1945](https://togithub.com/i18next/i18next/pull/1945) ➡️ check out the [migration guide](https://www.i18next.com/misc/migration-guide#v22.x.x-to-v23.0.0) ### [`v22.5.1`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2251) [Compare Source](https://togithub.com/i18next/i18next/compare/v22.5.0...v22.5.1) - ResourceStore addResource: offer possibility to pass keySeparator via options [1968](https://togithub.com/i18next/i18next/issues/1968) ### [`v22.5.0`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2250) [Compare Source](https://togithub.com/i18next/i18next/compare/v22.4.15...v22.5.0) - extend hasLoadedNamespace function options to pass optional lng to optimize server side usage of react-i18next ### [`v22.4.15`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#22415) [Compare Source](https://togithub.com/i18next/i18next/compare/v22.4.14...v22.4.15) - fix: function t() passed options alteration [1947](https://togithub.com/i18next/i18next/issues/1947) ### [`v22.4.14`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#22414) [Compare Source](https://togithub.com/i18next/i18next/compare/v22.4.13...v22.4.14) - fix: pass lng to format function used in nesting [1938](https://togithub.com/i18next/i18next/issues/1938) ### [`v22.4.13`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#22413) [Compare Source](https://togithub.com/i18next/i18next/compare/v22.4.12...v22.4.13) - fix: deepFind as fallback for interpolation [1930](https://togithub.com/i18next/i18next/issues/1930) ### [`v22.4.12`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#22412) [Compare Source](https://togithub.com/i18next/i18next/compare/v22.4.11...v22.4.12) - fix: getBestMatchFromCodes when dev is a supported lng [1927](https://togithub.com/i18next/i18next/issues/1927) ### [`v22.4.11`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#22411) [Compare Source](https://togithub.com/i18next/i18next/compare/v22.4.10...v22.4.11) - types: fix postProcessor key argument type, fixes [1919](https://togithub.com/i18next/i18next/issues/1919) ### [`v22.4.10`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#22410) [Compare Source](https://togithub.com/i18next/i18next/compare/v22.4.9...v22.4.10) - format options are optional, fixes [1913](https://togithub.com/i18next/i18next/issues/1913) ### [`v22.4.9`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2249) [Compare Source](https://togithub.com/i18next/i18next/compare/v22.4.8...v22.4.9) - fix: getFixedT with keyPrefix and fallback keys usage [1604](https://togithub.com/i18next/react-i18next/issues/1604) ### [`v22.4.8`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2248) [Compare Source](https://togithub.com/i18next/i18next/compare/v22.4.7...v22.4.8) - fix: nested interpolation with data model "replace" ### [`v22.4.7`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2247) [Compare Source](https://togithub.com/i18next/i18next/compare/v22.4.6...v22.4.7) - fix: interpolation with data model "replace" ### [`v22.4.6`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2246) [Compare Source](https://togithub.com/i18next/i18next/compare/v22.4.5...v22.4.6) - types: missing dir function export for typescript ### [`v22.4.5`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2245) [Compare Source](https://togithub.com/i18next/i18next/compare/v22.4.4...v22.4.5) - types: allow als general options as second argument for t function ### [`v22.4.4`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2244) [Compare Source](https://togithub.com/i18next/i18next/compare/v22.4.3...v22.4.4) - types: fix some strange t function overloads fixes [1882](https://togithub.com/i18next/i18next/issues/1882) ### [`v22.4.3`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2243) [Compare Source](https://togithub.com/i18next/i18next/compare/v22.4.2...v22.4.3) - types: t function overloads fix (open issue is still calling t with optional options argument) ### [`v22.4.2`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2242) [Compare Source](https://togithub.com/i18next/i18next/compare/v22.4.1...v22.4.2) - types: t function overloads for call with ns option in combination with objects ### [`v22.4.1`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#22415) [Compare Source](https://togithub.com/i18next/i18next/compare/v22.4.0...v22.4.1) - fix: function t() passed options alteration [1947](https://togithub.com/i18next/i18next/issues/1947) ### [`v22.4.0`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2240) [Compare Source](https://togithub.com/i18next/i18next/compare/v22.3.0...v22.4.0) - types: more overloads for t function ### [`v22.3.0`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2230) [Compare Source](https://togithub.com/i18next/i18next/compare/v22.2.0...v22.3.0) - offer possibility to define a language detector's detect function as promise ### [`v22.2.0`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2220) [Compare Source](https://togithub.com/i18next/i18next/compare/v22.1.5...v22.2.0) - types: extend the init method with a generic parameter for backend options [1878](https://togithub.com/i18next/i18next/pull/1878), [105](https://togithub.com/i18next/i18next-http-backend/pull/105), [34](https://togithub.com/i18next/i18next-fs-backend/pull/34) ### [`v22.1.5`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2215) [Compare Source](https://togithub.com/i18next/i18next/compare/v22.1.4...v22.1.5) - types: ability to pass ns as option instead of prefix i.e. `i18next.t('bar', { ns: 'alternate' });` ### [`v22.1.4`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2214) [Compare Source](https://togithub.com/i18next/i18next/compare/v22.1.3...v22.1.4) - dir function executable also without initialization ### [`v22.1.3`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2213) [Compare Source](https://togithub.com/i18next/i18next/compare/v22.1.2...v22.1.3) - named export for dir function ### [`v22.1.2`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2212) [Compare Source](https://togithub.com/i18next/i18next/compare/v22.1.1...v22.1.2) - revert: guess if languageDetector is async if no info provided ### [`v22.1.1`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2211) [Compare Source](https://togithub.com/i18next/i18next/compare/v22.1.0...v22.1.1) - guess if languageDetector is async if no info provided ### [`v22.1.0`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2210) [Compare Source](https://togithub.com/i18next/i18next/compare/v22.0.8...v22.1.0) - extend backend connector to accept also backends with promise / async-await signature ### [`v22.0.8`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2208) [Compare Source](https://togithub.com/i18next/i18next/compare/v22.0.7...v22.0.8) - fix options for continuous nesting [1876](https://togithub.com/i18next/i18next/issues/1876) ### [`v22.0.7`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2207) [Compare Source](https://togithub.com/i18next/i18next/compare/v22.0.6...v22.0.7) - Expose some types [1871](https://togithub.com/i18next/i18next/pull/1871) ### [`v22.0.6`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2206) [Compare Source](https://togithub.com/i18next/i18next/compare/v22.0.5...v22.0.6) - fix CallbackError type ### [`v22.0.5`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2205) [Compare Source](https://togithub.com/i18next/i18next/compare/v22.0.4...v22.0.5) - Change DefaultTFuncReturn to return null if returnNull typeOption is true [1865](https://togithub.com/i18next/i18next/pull/1865) ### [`v22.0.4`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2204) [Compare Source](https://togithub.com/i18next/i18next/compare/v22.0.3...v22.0.4) - Add type for Formatter.addCached [1862](https://togithub.com/i18next/i18next/pull/1862) ### [`v22.0.3`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2203) [Compare Source](https://togithub.com/i18next/i18next/compare/v22.0.2...v22.0.3) - Make getFixedT type-safe [1860](https://togithub.com/i18next/i18next/pull/1860) - types: Omit object from t function [1858](https://togithub.com/i18next/i18next/pull/1858) ### [`v22.0.2`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2202) [Compare Source](https://togithub.com/i18next/i18next/compare/v22.0.1...v22.0.2) - \[TypeScript] Add default value for TDefaultResult [1853](https://togithub.com/i18next/i18next/pull/1853) ### [`v22.0.1`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2201) [Compare Source](https://togithub.com/i18next/i18next/compare/v22.0.0...v22.0.1) - Fix normalize type options [1850](https://togithub.com/i18next/i18next/pull/1850) ### [`v22.0.0`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2200) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.10.0...v22.0.0) - Make the translation function fully type-safe [1775](https://togithub.com/i18next/i18next/pull/1775) BREAKING: Since this is a major rewrite for [TypeScript usage](https://www.i18next.com/overview/typescript) we decided to create a major version. For JavaScript users v22.0.0 is equivalent to 21.10.0 ### [`v21.10.0`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#21100) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.9.2...v21.10.0) - Add formatter cache [1843](https://togithub.com/i18next/i18next/pull/1843) ### [`v21.9.2`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2192) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.9.1...v21.9.2) - optimize single quotes replacement for $t() nesting [1836](https://togithub.com/i18next/i18next/issues/1836) ### [`v21.9.1`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2191) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.9.0...v21.9.1) - defaultNS can now also be set to false ### [`v21.9.0`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2190) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.8.16...v21.9.0) - Add Customizable Retry Logic [1810](https://togithub.com/i18next/i18next/pull/1810) - types: extend compatibilityJSON with v4 ### [`v21.8.16`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#21816) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.8.15...v21.8.16) - types: fix getDataByLanguage type [1810](https://togithub.com/i18next/i18next/pull/1810) ### [`v21.8.15`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#21815) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.8.14...v21.8.15) - fix: make sure retry logic ends for failed backend reads ### [`v21.8.14`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#21814) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.8.13...v21.8.14) - allow overriding keyPrefix option t function returned from getFixedT (does not work for normal t function) ### [`v21.8.13`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#21813) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.8.12...v21.8.13) - types: new optional unescape option for react-i18next ### [`v21.8.12`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#21812) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.8.11...v21.8.12) - fix: respect pluralSeparator for special \_zero handling ### [`v21.8.11`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#21811) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.8.10...v21.8.11) - fix: types should always come first in exports [1796](https://togithub.com/i18next/i18next/pull/1796) ### [`v21.8.10`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#21810) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.8.9...v21.8.10) - types: fix loaded event result ### [`v21.8.9`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2189) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.8.8...v21.8.9) - fix: deepFind for null values [1790](https://togithub.com/i18next/i18next/issues/1790) ### [`v21.8.8`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2188) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.8.7...v21.8.8) - fix: loadNamespaces() doesn't keep resolving order when the second request completes before the first one [1785](https://togithub.com/i18next/i18next/issues/1785) ### [`v21.8.7`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2187) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.8.6...v21.8.7) - fix: allow formatters having '' for string options eg. `this is an {{val, array(join: ' | ’)}}` ### [`v21.8.6`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2186) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.8.5...v21.8.6) - fix: regression introduced in v21.6.11, respect `appendNamespaceToMissingKey` for `parseMissingKeyHandler` [1507](https://togithub.com/i18next/react-i18next/issues/1507) ### [`v21.8.5`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2185) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.8.4...v21.8.5) - fix: interpolation with $ in values resets nextIndex to wrong position with skipOnVariables [1782](https://togithub.com/i18next/i18next/issues/1782) ### [`v21.8.4`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2184) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.8.3...v21.8.4) - types: keyPrefix in react options ### [`v21.8.3`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2183) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.8.2...v21.8.3) - prevent chrome warnings because of `window.navigator.userAgent` usage [1778](https://togithub.com/i18next/i18next/issues/1778) ### [`v21.8.2`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2182) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.8.1...v21.8.2) - types: add saveMissingPlurals option [1774](https://togithub.com/i18next/i18next/issues/1774) ### [`v21.8.1`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#21816) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.8.0...v21.8.1) - types: fix getDataByLanguage type [1810](https://togithub.com/i18next/i18next/pull/1810) ### [`v21.8.0`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2180) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.7.1...v21.8.0) - add maxParallelReads option, default 10 [1771](https://togithub.com/i18next/i18next/pull/1771) - reduce CPU usage loading large numbers of items [1768](https://togithub.com/i18next/i18next/pull/1768) ### [`v21.7.1`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2171) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.7.0...v21.7.1) - types: missing returnDetails option in init options [1765](https://togithub.com/i18next/i18next/issues/1765) ### [`v21.7.0`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2170) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.6.16...v21.7.0) - introduce returnDetails option [1764](https://togithub.com/i18next/i18next/pull/1764) ### [`v21.6.16`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#21616) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.6.15...v21.6.16) - fix: defaultVariables were not accessible inside plugin parse function [1751](https://togithub.com/i18next/i18next/pull/1751) ### [`v21.6.15`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#21615) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.6.14...v21.6.15) - fix hasLoadedNamespace when providing inmemory resources and a backend but partialBundledLanguages is not set ### [`v21.6.14`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#21614) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.6.13...v21.6.14) - fix formatter for false inline options ### [`v21.6.13`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#21613) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.6.12...v21.6.13) - make sure resolvedLanguage is set if lazy loading resources ### [`v21.6.12`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#21612) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.6.11...v21.6.12) - fix ordinal-suffixes for saveMissingWithPlurals [1734](https://togithub.com/i18next/i18next/pull/1734) ### [`v21.6.11`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#21611) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.6.10...v21.6.11) - make sure key and additionally optional defaultValue are passed to parseMissingKeyHandler function [1445](https://togithub.com/i18next/react-i18next/issues/1445) ### [`v21.6.10`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#21610) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.6.9...v21.6.10) - fix: types for hasLoadedNamespace [1724](https://togithub.com/i18next/i18next/pull/1724) ### [`v21.6.9`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2169) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.6.8...v21.6.9) - fix: respect skipOnVariables option passed in t function also for $t() usage ### [`v21.6.8`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2168) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.6.7...v21.6.8) - fix: respect skipOnVariables option passed in t function ### [`v21.6.7`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2167) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.6.6...v21.6.7) - fix: consistently lowercase new formatter names internally ### [`v21.6.6`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2166) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.6.5...v21.6.6) - fix: deepFind fallback when accessing missing flat dotted key [1719](https://togithub.com/i18next/i18next/issues/1719) ### [`v21.6.5`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2165) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.6.4...v21.6.5) - fix: passed format parameter value truncation in options argument for custom formatter [1715](https://togithub.com/i18next/i18next/issues/1715) ### [`v21.6.4`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2164) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.6.3...v21.6.4) - fix: skipOnVariables (and all other interpolation options should respect defaults) [1711](https://togithub.com/i18next/i18next/issues/1711) ### [`v21.6.3`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2163) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.6.2...v21.6.3) - types: wait option does not exist anymore for react-i18next ### [`v21.6.2`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2162) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.6.1...v21.6.2) - remove console.log statement ### [`v21.6.1`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#21616) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.6.0...v21.6.1) - fix: defaultVariables were not accessible inside plugin parse function [1751](https://togithub.com/i18next/i18next/pull/1751) ### [`v21.6.0`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2160) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.5.6...v21.6.0) - add \_zero suffix lookup if count === 0 [1705](https://togithub.com/i18next/i18next/pull/1705) ### [`v21.5.6`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2156) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.5.5...v21.5.6) - fix: correct defaults for plural forms (if supplied) [1703](https://togithub.com/i18next/i18next/issues/1703) ### [`v21.5.5`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2155) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.5.4...v21.5.5) - fix: prevent TypeError when using `returnObjects: true` with non string values [1702](https://togithub.com/i18next/i18next/issues/1702) ### [`v21.5.4`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2154) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.5.3...v21.5.4) - include version info in generated package.json of esm dist ### [`v21.5.3`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2153) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.5.2...v21.5.3) - do not use options.interpolation reference ### [`v21.5.2`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2152) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.5.1...v21.5.2) - missing named exports for TypeScript usage [1692](https://togithub.com/i18next/i18next/issues/1692) ### [`v21.5.1`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2151) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.5.0...v21.5.1) - add package.json to exports subpath ### [`v21.5.0`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2150) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.4.2...v21.5.0) - named exports for esm usage [1681](https://togithub.com/i18next/i18next/pull/1681) ### [`v21.4.2`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2142) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.4.1...v21.4.2) - trim multiple formatters, fixes [1689](https://togithub.com/i18next/i18next/issues/1689) ### [`v21.4.1`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2141) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.4.0...v21.4.1) - rtl fix for -arab language codes ### [`v21.4.0`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2140) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.3.3...v21.4.0) - bind all i18next functions to this, this way you can for example just use t() instead of i18n.t() [1682](https://togithub.com/i18next/i18next/issues/1682) ### [`v21.3.3`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2133) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.3.2...v21.3.3) - apply default interpolation formatter when interpolation options don't specify one [1680](https://togithub.com/i18next/i18next/issues/1680) ### [`v21.3.2`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2132) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.3.1...v21.3.2) - formatter typescript declarations [1679](https://togithub.com/i18next/i18next/pull/1679) ### [`v21.3.1`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2131) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.3.0...v21.3.1) - get rid of internal isDummy check to prevent react-native issue [1675](https://togithub.com/i18next/i18next/issues/1675) ### [`v21.3.0`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2130) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.2.6...v21.3.0) - adds support for formats provided by Intl API (number, currency, datetime, relativedate, list) ### [`v21.2.6`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2126) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.2.5...v21.2.6) - optimize do skip natural language detection also if user provided nsSeparator option is passed via direct options ### [`v21.2.5`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2125) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.2.4...v21.2.5) - do skip natural language detection also if user provided nsSeparator option is passed [1665](https://togithub.com/i18next/i18next/issues/1665) ### [`v21.2.4`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2124) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.2.3...v21.2.4) - optimize Intl api check ### [`v21.2.3`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2123) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.2.2...v21.2.3) - fix Intl.PluralRules fallback ### [`v21.2.2`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2122) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.2.1...v21.2.2) - log error if Intl.PluralRules API is not available ### [`v21.2.1`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2121) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.2.0...v21.2.1) - do skip natural language detection, if user provided keySeparator option is passed [1670](https://togithub.com/i18next/i18next/issues/1670) ### [`v21.2.0`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2120) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.1.1...v21.2.0) - provide bundled esm distributable [1667](https://togithub.com/i18next/i18next/issues/1667) ### [`v21.1.1`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2111) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.1.0...v21.1.1) - optimize natural language detection [1661](https://togithub.com/i18next/i18next/issues/1661) ### [`v21.1.0`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2110) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.0.2...v21.1.0) - A new RTL support added for `ckb` language code ### [`v21.0.2`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2102) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.0.1...v21.0.2) - fix defaultNS regression if translation namespace is defined in ns option, fixes [#​1658](https://togithub.com/i18next/i18next/issues/1658) ### [`v21.0.1`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2101) [Compare Source](https://togithub.com/i18next/i18next/compare/v21.0.0...v21.0.1) - fix typescript typo for skipOnVariables ### [`v21.0.0`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2100) [Compare Source](https://togithub.com/i18next/i18next/compare/v20.6.1...v21.0.0) **This is a major breaking release:** - introduce new v4 json format (intl plural forms with ordinal support), simplifyPluralSuffix not used anymore - `skipOnVariables` by default now is true - automatically detect natural language keys (no need to set nsSeparator or keySeparator to false) - remove deprecated whitelist features - introduce new i18next.resolvedLanguage property ➡️ check out the [migration guide](https://www.i18next.com/misc/migration-guide#v20.x.x-to-v21.0.0) ### [`v20.6.1`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2061) [Compare Source](https://togithub.com/i18next/i18next/compare/v20.6.0...v20.6.1) - fix deepFind if looking for nesting array item ### [`v20.6.0`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2060) [Compare Source](https://togithub.com/i18next/i18next/compare/v20.5.0...v20.6.0) - feature: key prefix option [1644](https://togithub.com/i18next/i18next/pull/1644) ### [`v20.5.0`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2050) [Compare Source](https://togithub.com/i18next/i18next/compare/v20.4.0...v20.5.0) - introduce missingKeyNoValueFallbackToKey option ### [`v20.4.0`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2040) [Compare Source](https://togithub.com/i18next/i18next/compare/v20.3.5...v20.4.0) - change to return false when a nullable argument is passed [1635](https://togithub.com/i18next/i18next/pull/1635) - make sure parseMissingKeyHandler is called when defaultValue is provided [1354](https://togithub.com/i18next/react-i18next/issues/1354) - types: Fix i18n.use() cannot pass module constructors in TypeScript [1442](https://togithub.com/i18next/i18next/pull/1442) - types: fix TypeScript definition for "loaded" event handler [1637](https://togithub.com/i18next/i18next/issues/1637) ### [`v20.3.5`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2035) [Compare Source](https://togithub.com/i18next/i18next/compare/v20.3.4...v20.3.5) - change init warning to only trigger if not using useSSR on react-i18next ### [`v20.3.4`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2034) [Compare Source](https://togithub.com/i18next/i18next/compare/v20.3.3...v20.3.4) - fix(types): only use readonly array of strings in API [1629](https://togithub.com/i18next/i18next/pull/1629) ### [`v20.3.3`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2033) [Compare Source](https://togithub.com/i18next/i18next/compare/v20.3.2...v20.3.3) - add transWrapTextNodes to types [1626](https://togithub.com/i18next/i18next/pull/1626) ### [`v20.3.2`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2032) [Compare Source](https://togithub.com/i18next/i18next/compare/v20.3.1...v20.3.2) - context can also be a number [1622](https://togithub.com/i18next/i18next/issues/1622) ### [`v20.3.1`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2031) [Compare Source](https://togithub.com/i18next/i18next/compare/v20.3.0...v20.3.1) - add 'ns' to the 'returnedObjectHandler' options [1619](https://togithub.com/i18next/i18next/pull/1619) - disable warn 'accessing an object' when the 'returnedObjectHandler' is defined [1617](https://togithub.com/i18next/i18next/pull/1617) ### [`v20.3.0`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2030) [Compare Source](https://togithub.com/i18next/i18next/compare/v20.2.4...v20.3.0) - add simple toJSON function to fix uncontrolled serialization, fixes [1322](https://togithub.com/i18next/react-i18next/issues/1322) ### [`v20.2.4`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2024) [Compare Source](https://togithub.com/i18next/i18next/compare/v20.2.3...v20.2.4) - fix types for LanguageDetector detect function ### [`v20.2.3`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2023) [Compare Source](https://togithub.com/i18next/i18next/compare/v20.2.2...v20.2.3) - if detected lng is falsy, set it to empty array, to make sure at least the fallbackLng will be used ### [`v20.2.2`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2022) [Compare Source](https://togithub.com/i18next/i18next/compare/v20.2.1...v20.2.2) - fix plural equations for Kazakh [1608](https://togithub.com/i18next/i18next/pull/1608) ### [`v20.2.1`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2021) [Compare Source](https://togithub.com/i18next/i18next/compare/v20.2.0...v20.2.1) - fix lastIndex in regex when skipOnVariables is true ### [`v20.2.0`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2020) [Compare Source](https://togithub.com/i18next/i18next/compare/v20.1.0...v20.2.0) - add ignoreJSONStructure into the types - stop recursive interpolation also for "{{variable}}" when skipOnVariables is true [1595](https://togithub.com/i18next/i18next/issues/1595) - old browser fix for "includes" usage [1597](https://togithub.com/i18next/i18next/pull/1597) ### [`v20.1.0`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2010) [Compare Source](https://togithub.com/i18next/i18next/compare/v20.0.0...v20.1.0) - Add alwaysFormat into the types [1586](https://togithub.com/i18next/i18next/pull/1586) - Add interpolation key name to format function [1571](https://togithub.com/i18next/i18next/pull/1571) ### [`v20.0.0`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2000) [Compare Source](https://togithub.com/i18next/i18next/compare/v19.9.2...v20.0.0) - add support to proper augment PluginOptions type [1583](https://togithub.com/i18next/i18next/pull/1583) - introduce ignoreJSONStructure flag, to automatically lookup for a flat key if a nested key is not found an vice-versa [1584](https://togithub.com/i18next/i18next/pull/1584) (MAJOR: because of ignoreJSONStructure is true by default)

Configuration

📅 Schedule: Branch creation - "every weekday" (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 has been generated by Mend Renovate. View repository job log here.