commercetools / commercetools-sunrise-theme

Sunrise Theme from commercetools
http://commercetools.github.io/commercetools-sunrise-theme/site/en/home.html
13 stars 16 forks source link

Update dependency i18next to v19 - autoclosed #482

Closed renovate[bot] closed 3 years ago

renovate[bot] commented 4 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
i18next (source) 1.10.6 -> 19.8.7 age adoption passing confidence

Release Notes

i18next/i18next ### [`v19.8.7`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1987) [Compare Source](https://togithub.com/i18next/i18next/compare/v19.8.6...v19.8.7) - use "Object.prototype.hasOwnProperty" instead of "object.hasOwnProperty", fixes [1542](https://togithub.com/i18next/i18next/issues/1542) ### [`v19.8.6`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1986) [Compare Source](https://togithub.com/i18next/i18next/compare/v19.8.5...v19.8.6) - regression fix because of last prototype pollution fix in v19.8.5 ### [`v19.8.5`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1985) [Compare Source](https://togithub.com/i18next/i18next/compare/v19.8.4...v19.8.5) - fix potential prototype pollution when backend plugin resolves a malicious language value - use fallbackLng as default lng ### [`v19.8.4`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1984) [Compare Source](https://togithub.com/i18next/i18next/compare/v19.8.3...v19.8.4) - update format function signature for TS [1520](https://togithub.com/i18next/i18next/pull/1480)) ### [`v19.8.3`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1983) [Compare Source](https://togithub.com/i18next/i18next/compare/v19.8.2...v19.8.3) - fix prototype pollution with constructor ### [`v19.8.2`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1982) [Compare Source](https://togithub.com/i18next/i18next/compare/v19.8.1...v19.8.2) - allow nesting recursively with context (could theoretically generate infinite loop, prevented in [1480](https://togithub.com/i18next/i18next/pull/1480)) ### [`v19.8.1`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1981) [Compare Source](https://togithub.com/i18next/i18next/compare/v19.8.0...v19.8.1) - fix "no languageDetector is used" log statement - do not log "initialized" on cloned instances ### [`v19.8.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1980) [Compare Source](https://togithub.com/i18next/i18next/compare/v19.7.0...v19.8.0) - allow fallbackLng as function [1508](https://togithub.com/i18next/i18next/pull/1508) ### [`v19.7.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1970) [Compare Source](https://togithub.com/i18next/i18next/compare/v19.6.3...v19.7.0) - resource manipulation functions are now chainable ### [`v19.6.3`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1963) [Compare Source](https://togithub.com/i18next/i18next/compare/v19.6.2...v19.6.3) - plural rules for ht and iw ### [`v19.6.2`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1962) [Compare Source](https://togithub.com/i18next/i18next/compare/v19.6.1...v19.6.2) - fix interpolation with option skipOnVariables when there are multiple placeholders [1490](https://togithub.com/i18next/i18next/issues/1490) ### [`v19.6.1`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1961) [Compare Source](https://togithub.com/i18next/i18next/compare/v19.6.0...v19.6.1) - extend interpolation option skipOnVariables [1488](https://togithub.com/i18next/i18next/pull/1488) - typescript: Change bindStore to bindI18nStore in ReactOptions type and update default values [1489](https://togithub.com/i18next/i18next/pull/1489) ### [`v19.6.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1960) [Compare Source](https://togithub.com/i18next/i18next/compare/v19.5.6...v19.6.0) - fix prototype pollution - introduce new interpolation option skipOnVariables [1483](https://togithub.com/i18next/i18next/pull/1483) ### [`v19.5.6`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1956) [Compare Source](https://togithub.com/i18next/i18next/compare/v19.5.5...v19.5.6) - fix local usage of nsSeparator option ### [`v19.5.5`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1955) [Compare Source](https://togithub.com/i18next/i18next/compare/v19.5.4...v19.5.5) - fix: recursion when passing nesting to interpolated [1480](https://togithub.com/i18next/i18next/pull/1480) ### [`v19.5.4`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1954) [Compare Source](https://togithub.com/i18next/i18next/compare/v19.5.3...v19.5.4) - typescript fix: getDataByLanguage typings & test [1472](https://togithub.com/i18next/i18next/pull/1472) - typescript fix: type declarion of exposed EventEmitter#off methods [1460](https://togithub.com/i18next/i18next/pull/1460) ### [`v19.5.3`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1953) [Compare Source](https://togithub.com/i18next/i18next/compare/v19.5.2...v19.5.3) - fix Macedonian plural formula [1476](https://togithub.com/i18next/i18next/pull/1476) ### [`v19.5.2`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1952) [Compare Source](https://togithub.com/i18next/i18next/compare/v19.5.1...v19.5.2) - fix nesting interpolation with prepended namespace, fixes [#​1474](https://togithub.com/i18next/i18next/issues/1474) [1475](https://togithub.com/i18next/i18next/pull/1475) ### [`v19.5.1`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1951) [Compare Source](https://togithub.com/i18next/i18next/compare/v19.5.0...v19.5.1) - getBestMatchFromCodes: use fallbackLng if nothing found, fixes [#​1470](https://togithub.com/i18next/i18next/issues/1470) [1471](https://togithub.com/i18next/i18next/pull/1471) ### [`v19.5.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1950) [Compare Source](https://togithub.com/i18next/i18next/compare/v19.4.5...v19.5.0) - language detectors can return an array of languages and let i18next figure out best match - rename option whitelist to supportedLngs - rename option nonExpicitWhitelist to nonExplicitSupportedLngs - rename function languageUtils.isWhitelisted to languageUtils.isSupportedCode This changes are made with temporal backwards compatiblity and will warn your for deprecated usage of old terms to give users and plugin providers some time to adapt their code base. The temporal backwards compatiblity will be removed in a follow up major release. Learn more about why this change was made [here](https://togithub.com/i18next/i18next/issues/1466). ### [`v19.4.5`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1945) [Compare Source](https://togithub.com/i18next/i18next/compare/v19.4.4...v19.4.5) - Add store events to typings [1451](https://togithub.com/i18next/i18next/pull/1451) ### [`v19.4.4`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1944) [Compare Source](https://togithub.com/i18next/i18next/compare/v19.4.3...v19.4.4) - typescript: Allow passing retry boolean to `ReadCallback` [1439](https://togithub.com/i18next/i18next/pull/1439) ### [`v19.4.3`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1943) [Compare Source](https://togithub.com/i18next/i18next/compare/v19.4.2...v19.4.3) - fix regression introduced in "support formatting in nesting" [1419](https://togithub.com/i18next/i18next/pull/1419) ### [`v19.4.2`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1942) [Compare Source](https://togithub.com/i18next/i18next/compare/v19.4.1...v19.4.2) - fix for deno [1428](https://togithub.com/i18next/i18next/pull/1428) ### [`v19.4.1`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1941) [Compare Source](https://togithub.com/i18next/i18next/compare/v19.4.0...v19.4.1) - add getLanguagePartFromCode as in language fallback resolution [1424](https://togithub.com/i18next/i18next/pull/1424) ### [`v19.4.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1940) [Compare Source](https://togithub.com/i18next/i18next/compare/v19.3.4...v19.4.0) - support formatting in nesting [1419](https://togithub.com/i18next/i18next/pull/1419) ### [`v19.3.4`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1934) [Compare Source](https://togithub.com/i18next/i18next/compare/v19.3.3...v19.3.4) - fix cloning of service.utils binding to clone [1415](https://togithub.com/i18next/i18next/pull/1415) ### [`v19.3.3`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1933) [Compare Source](https://togithub.com/i18next/i18next/compare/v19.3.2...v19.3.3) - backendConnector extend initial retry from 250 to 350 ### [`v19.3.2`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1932) [Compare Source](https://togithub.com/i18next/i18next/compare/v19.3.1...v19.3.2) - fix the nested string options parsing introduced in v19.2.0 which broke having multiple options ### [`v19.3.1`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1931) [Compare Source](https://togithub.com/i18next/i18next/compare/v19.3.0...v19.3.1) - typescript: add `options.interpolation.nestingOptionsSeparator` ### [`v19.3.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1930) [Compare Source](https://togithub.com/i18next/i18next/compare/v19.2.0...v19.3.0) - Double fix for 1395 issue [1399](https://togithub.com/i18next/i18next/pull/1399) - adds `options.interpolation.nestingOptionsSeparator: ','` to specify that separator ### [`v19.2.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1920) [Compare Source](https://togithub.com/i18next/i18next/compare/v19.1.0...v19.2.0) - Add ability to use commas in nested keys [1398](https://togithub.com/i18next/i18next/pull/1398) ### [`v19.1.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1910) [Compare Source](https://togithub.com/i18next/i18next/compare/v19.0.3...v19.1.0) - explict warning when no languageDetector is used and no lng is defined [1381](https://togithub.com/i18next/i18next/pull/1381) - Add option to always format interpolated values [1385](https://togithub.com/i18next/i18next/pull/1385) - pass all options to format function [992#issuecomment-577797162](https://togithub.com/i18next/i18next/issues/992#issuecomment-577797162) ### [`v19.0.3`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1903) [Compare Source](https://togithub.com/i18next/i18next/compare/v19.0.2...v19.0.3) - fixes retry interval in backend connector [1378](https://togithub.com/i18next/i18next/issues/1378) ### [`v19.0.2`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1902) [Compare Source](https://togithub.com/i18next/i18next/compare/v19.0.1...v19.0.2) - typescript: Type ResourceStore [1366](https://togithub.com/i18next/i18next/pull/1366) ### [`v19.0.1`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1901) [Compare Source](https://togithub.com/i18next/i18next/compare/v19.0.0...v19.0.1) - ignore non valid keys in saveMissing [1359](https://togithub.com/i18next/i18next/pull/1359) ### [`v19.0.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1900) [Compare Source](https://togithub.com/i18next/i18next/compare/v18.0.1...v19.0.0) - typescript: Typescript use `export default` for esm-first approach [1352](https://togithub.com/i18next/i18next/pull/1352) ### [`v18.0.1`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1801) [Compare Source](https://togithub.com/i18next/i18next/compare/v18.0.0...v18.0.1) - check loadedNamespace only once per lng-ns inside using `t` for better performance ### [`v18.0.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1800) [Compare Source](https://togithub.com/i18next/i18next/compare/v17.3.1...v18.0.0) - When calling `i18next.changeLanguage()` both `i18next.language` and `i18next.languages` will be set to the new language after calling `loadResources` -> means when accessing `t` function meanwhile you will get still the translations for the previous language instead of the fallback. - **When is this breaking?** this does not break any current test - but if you depend on accessing i18next.language or i18next.dir during language change and expect the new language this will break your app. - Reasoning: In react-i18next we get in a not ready state for loaded translations while we would prefer just waiting for the new language ready and trigger a rerender then - also a triggered rerender outside of the bound events would end in Suspense... - How can I get the language i18next will be set to? `i18next.isLanguageChangingTo` is set to the language called ### [`v17.3.1`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1731) [Compare Source](https://togithub.com/i18next/i18next/compare/v17.3.0...v17.3.1) - typescript: Add missing `cleanCode` option to TypeScript def [1344](https://togithub.com/i18next/i18next/pull/1344) ### [`v17.3.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1730) [Compare Source](https://togithub.com/i18next/i18next/compare/v17.2.0...v17.3.0) - pass used language & namespace to postprocessor [1341](https://togithub.com/i18next/i18next/pull/1341) ### [`v17.2.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1720) [Compare Source](https://togithub.com/i18next/i18next/compare/v17.1.0...v17.2.0) - Support using ImmutableJS Records as the data model in interpolation [1339](https://togithub.com/i18next/i18next/pull/1339) ### [`v17.1.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1710) [Compare Source](https://togithub.com/i18next/i18next/compare/v17.0.18...v17.1.0) DX improvements: - warning if accessing t before i18next was initialized or namespace loaded - warning and cancelling save if saveMissing key before i18next was initialized or namespace loaded Both are a clear sign you render your app / call t to early not waiting for the callbacks or Promise.resolve on i18next.init, i18next.loadNamespace or i18next.changeLanguage. ### [`v17.0.18`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​17018) [Compare Source](https://togithub.com/i18next/i18next/compare/v17.0.17...v17.0.18) - Improve performance of EventEmitter.off [1333](https://togithub.com/i18next/i18next/pull/1333) ### [`v17.0.17`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​17017) [Compare Source](https://togithub.com/i18next/i18next/compare/v17.0.16...v17.0.17) - fixes: missing nested key fails if no nested value found and defaultValue contains interpolation -> results in endless loop [1332](https://togithub.com/i18next/i18next/issues/1332) ### [`v17.0.16`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​17016) [Compare Source](https://togithub.com/i18next/i18next/compare/v17.0.15...v17.0.16) - typescript: fix incorrect callback type for backend module read callback [1322](https://togithub.com/i18next/i18next/pull/1322) - typescript: add getDataByLanguage into index.d.ts [1326](https://togithub.com/i18next/i18next/pull/1326) ### [`v17.0.15`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​17015) [Compare Source](https://togithub.com/i18next/i18next/compare/v17.0.14...v17.0.15) - Fixed default value as string in IE [1325](https://togithub.com/i18next/i18next/pull/1325) ### [`v17.0.14`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​17014) [Compare Source](https://togithub.com/i18next/i18next/compare/v17.0.13...v17.0.14) - typescript: Allow TFunction to receive 1-3 parameters [1317](https://togithub.com/i18next/i18next/pull/1317) ### [`v17.0.13`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​17013) [Compare Source](https://togithub.com/i18next/i18next/compare/v17.0.12...v17.0.13) - fixes: Interpolation defaultVariables not recognized on t() [1314](https://togithub.com/i18next/i18next/issues/1314) ### [`v17.0.12`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​17012) [Compare Source](https://togithub.com/i18next/i18next/compare/v17.0.11...v17.0.12) - remove unused Interpolator#init reset param (only used internally) [1313](https://togithub.com/i18next/i18next/pull/1313) - Cope with null interpolation (unescaped case) [1310](https://togithub.com/i18next/i18next/pull/1310) ### [`v17.0.11`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​17011) [Compare Source](https://togithub.com/i18next/i18next/compare/v17.0.10...v17.0.11) - fix issue with unset value in interpolation throwing exception - typescript: Allow augmentation of TFunction to be able to add overloads [1308](https://togithub.com/i18next/i18next/pull/1308) ### [`v17.0.10`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​17010) [Compare Source](https://togithub.com/i18next/i18next/compare/v17.0.9...v17.0.10) - Update Interpolator.js to use regexSafe for unescaped interpolation [1307](https://togithub.com/i18next/i18next/pull/1307) ### [`v17.0.9`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1709) [Compare Source](https://togithub.com/i18next/i18next/compare/v17.0.8...v17.0.9) - typescript: use() should accept a class or object [1301](https://togithub.com/i18next/i18next/pull/1301) ### [`v17.0.8`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1708) [Compare Source](https://togithub.com/i18next/i18next/compare/v17.0.7...v17.0.8) - typescript: Correct `use(module)` types [1296](https://togithub.com/i18next/i18next/pull/1296) ### [`v17.0.7`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1707) [Compare Source](https://togithub.com/i18next/i18next/compare/v17.0.6...v17.0.7) - typescript: Typescript imports [1291](https://togithub.com/i18next/i18next/pull/1291) - Disabled default returnedObjectHandler [1288](https://togithub.com/i18next/i18next/pull/1288) ### [`v17.0.6`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1706) [Compare Source](https://togithub.com/i18next/i18next/compare/v17.0.5...v17.0.6) - support montenegrien "crn" plurals ### [`v17.0.5`](https://togithub.com/i18next/i18next/compare/v17.0.4...v17.0.5) [Compare Source](https://togithub.com/i18next/i18next/compare/v17.0.4...v17.0.5) ### [`v17.0.4`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1704) [Compare Source](https://togithub.com/i18next/i18next/compare/v17.0.3...v17.0.4) - typescript: ResourceKey type should allow top level string value [1267](https://togithub.com/i18next/i18next/pull/1267) ### [`v17.0.3`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1703) [Compare Source](https://togithub.com/i18next/i18next/compare/v17.0.2...v17.0.3) - don't do named exports for umd ### [`v17.0.2`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1702) [Compare Source](https://togithub.com/i18next/i18next/compare/v17.0.1...v17.0.2) - typescript: Allow null as TResult [1263](https://togithub.com/i18next/i18next/pull/1263) - bring back ./i18next.js and ./i18next.min.js -> used by wildcard unpkg users...<= bad idea doing so - main export in package.json points to cjs dist ### [`v17.0.1`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​17018) [Compare Source](https://togithub.com/i18next/i18next/compare/v17.0.0...v17.0.1) - Improve performance of EventEmitter.off [1333](https://togithub.com/i18next/i18next/pull/1333) ### [`v17.0.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1700) [Compare Source](https://togithub.com/i18next/i18next/compare/v16.0.0...v17.0.0) - removes checking in build files (umd) into source code - for CDN usage use: - removes named exports in main file - avoids issues in mixed exports makes usage better in commonjs scenarios (node.js) - no strange `const i18next = require('i18next').default;` - **impact** you can't no longer `import { changeLanguage } from 'i18next'; changeLanguage('de');` you will have to `import i18next from 'i18next'; i18next.changeLanguage('de');` - **note** if can create a own file providing the named bound functions and use that instead, sample: ### [`v16.0.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1600) [Compare Source](https://togithub.com/i18next/i18next/compare/v15.1.3...v16.0.0) - removes deprecated jsnext:main from package.json - Bundle all entry points with rollup [1256](https://togithub.com/i18next/i18next/pull/1256) - **note:** dist/es -> dist/esm, dist/commonjs -> dist/cjs (individual files -> one bundled file) ### [`v15.1.3`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1513) [Compare Source](https://togithub.com/i18next/i18next/compare/v15.1.2...v15.1.3) - typescript: Fix type error when init with locize plugin options [1248](https://togithub.com/i18next/i18next/pull/1248) ### [`v15.1.2`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1512) [Compare Source](https://togithub.com/i18next/i18next/compare/d6bd2e077d16a040470ac895af01481c1f3f27d8...v15.1.2) - typescript: types(ReactOptions): Add missing props to React Options interface [1247](https://togithub.com/i18next/i18next/pull/1247) ### [`v15.1.1`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1511) [Compare Source](https://togithub.com/i18next/i18next/compare/v15.1.0...d6bd2e077d16a040470ac895af01481c1f3f27d8) - typescript: Update BackendModule interface to allow null or undefined for the callback [1244](https://togithub.com/i18next/i18next/pull/1244) ### [`v15.1.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1510) [Compare Source](https://togithub.com/i18next/i18next/compare/df4d486dec997fb785e71e2b3965c128f75834f0...v15.1.0) - trigger a languageChanging event ### [`v15.0.10`](https://togithub.com/i18next/i18next/compare/v15.0.9...df4d486dec997fb785e71e2b3965c128f75834f0) [Compare Source](https://togithub.com/i18next/i18next/compare/v15.0.9...df4d486dec997fb785e71e2b3965c128f75834f0) ### [`v15.0.9`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1509) [Compare Source](https://togithub.com/i18next/i18next/compare/v15.0.8...v15.0.9) - IE: <=IE10 fix (unable to call parent constructor) [1227](https://togithub.com/i18next/i18next/pull/1227) ### [`v15.0.8`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1508) [Compare Source](https://togithub.com/i18next/i18next/compare/v15.0.7...v15.0.8) - typescript: adding init function to 3rdParty module typings and enforcing type property [1223](https://togithub.com/i18next/i18next/pull/1223) ### [`v15.0.7`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1507) [Compare Source](https://togithub.com/i18next/i18next/compare/v15.0.6...v15.0.7) - typescript: Add useSuspense to ReactOptions, fix error throwing on test [1219](https://togithub.com/i18next/i18next/pull/1219) ### [`v15.0.6`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1506) [Compare Source](https://togithub.com/i18next/i18next/compare/v15.0.5...v15.0.6) - typescript: add Interpolator interface [1213](https://togithub.com/i18next/i18next/pull/1213) ### [`v15.0.5`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1505) [Compare Source](https://togithub.com/i18next/i18next/compare/v15.0.4...v15.0.5) - typescript: Add `hashTransKey` to `ReactOptions` [1208](https://togithub.com/i18next/i18next/pull/1208) - Expose error on reloadResources [1212](https://togithub.com/i18next/i18next/pull/1212) ### [`v15.0.4`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1504) [Compare Source](https://togithub.com/i18next/i18next/compare/v15.0.3...v15.0.4) - add default export on node.js entry [1204](https://togithub.com/i18next/i18next/pull/1204) - typescript: Add defaultValue tests and allow second arg string as defaultValue [1206](https://togithub.com/i18next/i18next/pull/1206) ### [`v15.0.3`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1503) [Compare Source](https://togithub.com/i18next/i18next/compare/v15.0.2...v15.0.3) - typescript: accept templatestringsarray as TKey [1199](https://togithub.com/i18next/i18next/pull/1199) - allow arrays on addResources ### [`v15.0.2`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1502) [Compare Source](https://togithub.com/i18next/i18next/compare/v15.0.1...v15.0.2) - try fixing UMD build ### [`v15.0.1`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1501) [Compare Source](https://togithub.com/i18next/i18next/compare/v15.0.0...v15.0.1) - fix export name on global (typo) ### [`v15.0.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1500) [Compare Source](https://togithub.com/i18next/i18next/compare/v14.1.1...v15.0.0) - update build process (while all test passes feeling more save making this a major release) ### [`v14.1.1`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1411) [Compare Source](https://togithub.com/i18next/i18next/compare/v14.1.0...v14.1.1) - allow empty string for array join [1191](https://togithub.com/i18next/i18next/issues/1191) ### [`v14.1.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1410) [Compare Source](https://togithub.com/i18next/i18next/compare/v14.0.1...v14.1.0) - support plurals in returning objecttree array [1196](https://togithub.com/i18next/i18next/issues/1196) ### [`v14.0.1`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1401) [Compare Source](https://togithub.com/i18next/i18next/compare/v14.0.0...v14.0.1) - typescript: Parameterized use of TFunction fails while WithT use works [1188](https://togithub.com/i18next/i18next/pull/1188) ### [`v14.0.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1400) [Compare Source](https://togithub.com/i18next/i18next/compare/v13.1.5...v14.0.0) - typescript: BREAKING Refactor generics usage [1180](https://togithub.com/i18next/i18next/pull/1180) ### [`v13.1.5`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1315) [Compare Source](https://togithub.com/i18next/i18next/compare/v13.1.4...v13.1.5) - es modules: Fix bug when import by ES Module [1179](https://togithub.com/i18next/i18next/pull/1179) - typescript: Add module property [1176](https://togithub.com/i18next/i18next/pull/1176) ### [`v13.1.4`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1314) [Compare Source](https://togithub.com/i18next/i18next/compare/v13.1.3...v13.1.4) - fixes plural rule for JSON compatibility v2 introduced in 11.3.3 [`d4d329f` (comment)](https://togithub.com/i18next/i18next/commit/d4d329fd7042f932eedf8bba1d92234707efd04c#diff-e171f9b8b4e0f5df027bd8bd7b962f1bR1140) [1174](https://togithub.com/i18next/i18next/issues/1174) ### [`v13.1.3`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1313) [Compare Source](https://togithub.com/i18next/i18next/compare/v13.1.2...v13.1.3) - TypeScript: Pull up WithT interface allowing for overrides [1172](https://togithub.com/i18next/i18next/pull/1172) ### [`v13.1.2`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1312) [Compare Source](https://togithub.com/i18next/i18next/compare/v13.1.1...v13.1.2) - Add typescript testing [1165](https://togithub.com/i18next/i18next/pull/1165) - Add `transEmptyNodeValue` to `ReactOptions` [1166](https://togithub.com/i18next/i18next/pull/1166) - Run prettier on typescript files for easier diffing in PRs [1167](https://togithub.com/i18next/i18next/pull/1167) ### [`v13.1.1`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1311) [Compare Source](https://togithub.com/i18next/i18next/compare/v13.1.0...v13.1.1) - fix init() attributes typings [1158](https://togithub.com/i18next/i18next/pull/1158) ### [`v13.1.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1310) [Compare Source](https://togithub.com/i18next/i18next/compare/v13.0.1...v13.1.0) - Support interpolation for defaultValue as parameter [1151](https://togithub.com/i18next/i18next/pull/1151) ### [`v13.0.1`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1301) [Compare Source](https://togithub.com/i18next/i18next/compare/v13.0.0...v13.0.1) - update typedefinitions [1152](https://togithub.com/i18next/i18next/pull/1152) ### [`v13.0.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1300) [Compare Source](https://togithub.com/i18next/i18next/compare/v12.1.0...v13.0.0) - pass options to missingInterpolationHandler [1146](https://togithub.com/i18next/i18next/pull/1146) - refactor non valid keys handling [1143](https://togithub.com/i18next/i18next/pull/1143) BREAKING: - adds typescript definitions directly into this repo - no longer need to grab them from definitlytyped [1142](https://togithub.com/i18next/i18next/pull/1142) - promise API added for all functions providing a callback [1130](https://togithub.com/i18next/i18next/pull/1130) -> means those will now return a Promise and not this -> so you can't chain eg. i18next.init().on() anylonger as init returns a Promise ### [`v12.1.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1210) [Compare Source](https://togithub.com/i18next/i18next/compare/v12.0.0...v12.1.0) - adds partialBundledLanguages flag in init options [1136](https://togithub.com/i18next/i18next/pull/1136) ### [`v12.0.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1200) [Compare Source](https://togithub.com/i18next/i18next/compare/v11.10.2...v12.0.0) - add hebrew update [1121](https://togithub.com/i18next/i18next/pull/1121) ### [`v11.10.2`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​11102) [Compare Source](https://togithub.com/i18next/i18next/compare/v11.10.1...v11.10.2) - revert hebrew ### [`v11.10.1`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​11101) [Compare Source](https://togithub.com/i18next/i18next/compare/v11.10.0...v11.10.1) - Adds Hebrew plural support [1121](https://togithub.com/i18next/i18next/pull/1121) ### [`v11.10.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​11100) [Compare Source](https://togithub.com/i18next/i18next/compare/v11.9.1...v11.10.0) - Allow missingInterpolationHandler to be provided as t() option [1118](https://togithub.com/i18next/i18next/pull/1118) ### [`v11.9.1`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1191) [Compare Source](https://togithub.com/i18next/i18next/compare/v11.9.0...v11.9.1) - fixes allow overriding of fallbackLng when in options passed to t functions call ### [`v11.9.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1190) [Compare Source](https://togithub.com/i18next/i18next/compare/v11.8.0...v11.9.0) - merge load and reloadResources functionality to allow an optional callback in reloadResources ### [`v11.8.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1180) [Compare Source](https://togithub.com/i18next/i18next/compare/v11.7.0...v11.8.0) - deeper support for i18nFormats - add getResource function from format ### [`v11.7.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1170) [Compare Source](https://togithub.com/i18next/i18next/compare/v11.6.0...v11.7.0) - allows defining defaultValues for plurals -> same logic as using pluralsuffixes in translation files [details](https://www.i18next.com/translation-function/plurals#how-to-find-the-correct-plural-suffix) using eg. defaultValue_plural / defaultValue_2 based on request [1096](https://togithub.com/i18next/i18next/issues/1096) ### [`v11.6.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1160) [Compare Source](https://togithub.com/i18next/i18next/compare/v11.5.0...v11.6.0) - expose new store function getDataByLanguage [1087](https://togithub.com/i18next/i18next/pull/1087) ### [`v11.5.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1150) [Compare Source](https://togithub.com/i18next/i18next/compare/v11.4.0...v11.5.0) - EventEmitter.prototype.on returns this for chaining calls [1079](https://togithub.com/i18next/i18next/pull/1079) ### [`v11.4.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1140) [Compare Source](https://togithub.com/i18next/i18next/compare/v11.3.6...v11.4.0) - Allow to pass raw value to the custom interpolation escape function [1076](https://togithub.com/i18next/i18next/pull/1076) ### [`v11.3.6`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1136) [Compare Source](https://togithub.com/i18next/i18next/compare/v11.3.5...v11.3.6) - fix support zero for saveMissing plurals [1072](https://togithub.com/i18next/i18next/pull/1072) ### [`v11.3.5`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1135) [Compare Source](https://togithub.com/i18next/i18next/compare/v11.3.4...v11.3.5) - trigger loaded event only once per loaded namespace - consolidate all the loaded and done queued load calls [react-i18next 456 ](https://togithub.com/i18next/react-i18next/issues/456) ### [`v11.3.4`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1134) [Compare Source](https://togithub.com/i18next/i18next/compare/v11.3.3...v11.3.4) - fixes simplifyPluralSuffix: false cases for languages having only singular, plural [1069](https://togithub.com/i18next/i18next/issues/1069) ### [`v11.3.3`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1133) [Compare Source](https://togithub.com/i18next/i18next/compare/v11.3.2...v11.3.3) - pass down resolved to i18nFormat.parse as last argument ### [`v11.3.2`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1132) [Compare Source](https://togithub.com/i18next/i18next/compare/v11.3.1...v11.3.2) - Properly handle arguments containing arrays while listening to a wildcard event [1052](https://togithub.com/i18next/i18next/pull/1052) ### [`v11.3.1`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1131) [Compare Source](https://togithub.com/i18next/i18next/compare/v11.3.0...v11.3.1) - Fixes allowing setting keySeparator to false in calling t function [1051](https://togithub.com/i18next/i18next/pull/1051) ### [`v11.3.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1130) [Compare Source](https://togithub.com/i18next/i18next/compare/v11.2.3...v11.3.0) - Option to skip interpolation when calling t. [1050](https://togithub.com/i18next/i18next/pull/1050) ### [`v11.2.3`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1123) [Compare Source](https://togithub.com/i18next/i18next/compare/v11.2.2...v11.2.3) - Remove unnecessary warning when value is empty string [1046](https://togithub.com/i18next/i18next/pull/1046) ### [`v11.2.2`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1122) [Compare Source](https://togithub.com/i18next/i18next/compare/v11.2.1...v11.2.2) - adds used key to call parse of i18nFormat ### [`v11.2.1`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1121) [Compare Source](https://togithub.com/i18next/i18next/compare/v11.2.0...v11.2.1) - fixes for i18nFormat plugin ### [`v11.2.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1120) [Compare Source](https://togithub.com/i18next/i18next/compare/v11.1.1...v11.2.0) - allows new plugin of type 'i18nFormat' to override i18next format with eg. ICU format ### [`v11.1.1`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1100---1111-fixing-version-mismatch-cdnjs---npm) [Compare Source](https://togithub.com/i18next/i18next/compare/v11.0.0...v11.1.1) - **[BREAKING]** removes plugin of type cache. Can be replace by [i18next-chained-backend](https://togithub.com/i18next/i18next-chained-backend) example cache for localStorage [i18next-localstorage-backend](https://togithub.com/i18next/i18next-localstorage-backend#getting-started) - **[BREAKING]** removes the support for multiload (multiRead) in backends - will just use read per language-namespace. You can enable multiRead support in backends again by using [i18next-multiload-backend-adapter](https://togithub.com/i18next/i18next-multiload-backend-adapter) ### [`v11.0.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1100---1111-fixing-version-mismatch-cdnjs---npm) [Compare Source](https://togithub.com/i18next/i18next/compare/v10.6.0...v11.0.0) - **[BREAKING]** removes plugin of type cache. Can be replace by [i18next-chained-backend](https://togithub.com/i18next/i18next-chained-backend) example cache for localStorage [i18next-localstorage-backend](https://togithub.com/i18next/i18next-localstorage-backend#getting-started) - **[BREAKING]** removes the support for multiload (multiRead) in backends - will just use read per language-namespace. You can enable multiRead support in backends again by using [i18next-multiload-backend-adapter](https://togithub.com/i18next/i18next-multiload-backend-adapter) ### [`v10.6.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1060) [Compare Source](https://togithub.com/i18next/i18next/compare/v10.5.1...v10.6.0) - adds missingInterpolationHandler [1039](https://togithub.com/i18next/i18next/pull/1039) ### [`v10.5.1`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1051) [Compare Source](https://togithub.com/i18next/i18next/compare/v10.5.0...v10.5.1) - fixes call to getPluralFormsOfKey if called with unsupported language [1032](https://togithub.com/i18next/i18next/issues/1032) - Avoid mutating whitelist array. [1037](https://togithub.com/i18next/i18next/pull/1037) ### [`v10.5.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1050) [Compare Source](https://togithub.com/i18next/i18next/compare/v10.4.1...v10.5.0) - Adds options.silent to addResources and addResourceBundle [1024](https://togithub.com/i18next/i18next/pull/1024) ### [`v10.4.1`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1041) [Compare Source](https://togithub.com/i18next/i18next/compare/v10.4.0...v10.4.1) - forward options in backend.create saveMissing ### [`v10.4.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1040) [Compare Source](https://togithub.com/i18next/i18next/compare/v10.3.0...v10.4.0) - fixes combination of returnObject and context by returning original value for deep translation when lookup for inner returns a key (failed to translate proper) [1014](https://togithub.com/i18next/i18next/issues/1014) - _[EXPERIMENTAL]_ additional you can pass `tDescription` to the `t` options or as a third param to calling `t` -> `t(key, defaultValue, tDescription);`. Those will get forwarded to the backend and can be submitted on saveMissing to provide contextual information for translators. ### [`v10.3.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1030) [Compare Source](https://togithub.com/i18next/i18next/compare/v10.2.2...v10.3.0) - new option saveMissingPlurals (default true) will enable submitting plural forms on saveMissing if t call is for plural (count passed in options). ### [`v10.2.2`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1022) [Compare Source](https://togithub.com/i18next/i18next/compare/v10.2.1...v10.2.2) - fixes Context and nested lost initial options [1009](https://togithub.com/i18next/i18next/issues/1009) ### [`v10.2.1`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1021) [Compare Source](https://togithub.com/i18next/i18next/compare/v10.2.0...v10.2.1) - optimize update output in log ### [`v10.2.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1020) [Compare Source](https://togithub.com/i18next/i18next/compare/v10.1.0...v10.2.0) - _[EXPERIMENTAL]_ init option updateMissing: enable to update default values if different from translated value (only useful on initial development or when keeping code as source of truth not changing values outside of code) ### [`v10.1.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1010) [Compare Source](https://togithub.com/i18next/i18next/compare/v10.0.7...v10.1.0) - return boolean, number from translator - initial set language on translator if non set yet (after that only if loaded) [#​998](https://togithub.com/i18next/i18next/issues/998) ### [`v10.0.7`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1007) [Compare Source](https://togithub.com/i18next/i18next/compare/v10.0.6...v10.0.7) - support all overloadTranslationOptionHandler in getFixedT [react-i18next/issues/332](https://togithub.com/i18next/react-i18next/issues/332) ### [`v10.0.6`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1006) [Compare Source](https://togithub.com/i18next/i18next/compare/fcfdccf6c977fd7f1a3f5295e5a66204d73e1069...v10.0.6) - native browser es modules via adding .js where needed [PR980](https://togithub.com/i18next/i18next/pull/980) ### [`v10.0.5`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1005) [Compare Source](https://togithub.com/i18next/i18next/compare/v10.0.4...fcfdccf6c977fd7f1a3f5295e5a66204d73e1069) - should fix sync of options in clone and its translator ### [`v10.0.4`](https://togithub.com/i18next/i18next/compare/v10.0.3...v10.0.4) [Compare Source](https://togithub.com/i18next/i18next/compare/v10.0.3...v10.0.4) ### [`v10.0.3`](https://togithub.com/i18next/i18next/compare/v10.0.2...v10.0.3) [Compare Source](https://togithub.com/i18next/i18next/compare/v10.0.2...v10.0.3) ### [`v10.0.2`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1002) [Compare Source](https://togithub.com/i18next/i18next/compare/v10.0.1...v10.0.2) - fixes issue in object return when passing in multiple keys ### [`v10.0.1`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1001) [Compare Source](https://togithub.com/i18next/i18next/compare/v10.0.0...v10.0.1) - fixes support for using suffix `_0` on languages only having "singular" form ### [`v10.0.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1000) [Compare Source](https://togithub.com/i18next/i18next/compare/v9.1.0...v10.0.0) - **[BREAKING]** brings pt, pt-PT, pt-BR plurals in line with, new pt reflects pt-BR and pt-PT gets a special case for plural handling ### [`v9.1.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1910) [Compare Source](https://togithub.com/i18next/i18next/compare/v9.0.1...v9.1.0) - explict warning when no languageDetector is used and no lng is defined [1381](https://togithub.com/i18next/i18next/pull/1381) - Add option to always format interpolated values [1385](https://togithub.com/i18next/i18next/pull/1385) - pass all options to format function [992#issuecomment-577797162](https://togithub.com/i18next/i18next/issues/992#issuecomment-577797162) ### [`v9.0.1`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1901) [Compare Source](https://togithub.com/i18next/i18next/compare/v9.0.0...v9.0.1) - ignore non valid keys in saveMissing [1359](https://togithub.com/i18next/i18next/pull/1359) ### [`v9.0.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1900) [Compare Source](https://togithub.com/i18next/i18next/compare/v8.4.3...v9.0.0) - typescript: Typescript use `export default` for esm-first approach [1352](https://togithub.com/i18next/i18next/pull/1352) ### [`v8.4.3`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​843) [Compare Source](https://togithub.com/i18next/i18next/compare/v8.4.2...v8.4.3) - getFixedT lng parameter of array type -> pass as lngs to t function [PR949](https://togithub.com/i18next/i18next/pull/949) ### [`v8.4.2`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​842) [Compare Source](https://togithub.com/i18next/i18next/compare/v8.4.1...v8.4.2) - fixes merging options in clone instance...do not override passed values by values on main instance ### [`v8.4.1`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​841) [Compare Source](https://togithub.com/i18next/i18next/compare/v8.4.0...v8.4.1) - emits correct lng to changeLanguage event (fixes async detection behaviour) [PR933](https://togithub.com/i18next/i18next/pull/933) ### [`v8.4.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​840) [Compare Source](https://togithub.com/i18next/i18next/compare/v8.3.0...v8.4.0) - expose i18next.options.interpolation.format on i18next.format - i18next.dir if not passing lng use first of i18next.languages before using i18next.language ### [`v8.3.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​830) [Compare Source](https://togithub.com/i18next/i18next/compare/v8.2.1...v8.3.0) - allows nesting objects/arrays into objects [#​925](https://togithub.com/i18next/i18next/issues/925) ### [`v8.2.1`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​821) [Compare Source](https://togithub.com/i18next/i18next/compare/v8.2.0...v8.2.1) - fixes issue in async lng detection ### [`v8.2.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​820) [Compare Source](https://togithub.com/i18next/i18next/compare/v8.1.0...v8.2.0) - supports now async language detection - when language detector has member async = true ### [`v8.1.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​810) [Compare Source](https://togithub.com/i18next/i18next/compare/v8.0.0...v8.1.0) - option to disable nesting by calling `i18next.t('key', { nest: false })` [PR920](https://togithub.com/i18next/i18next/pull/920) - fixes passing lng from options to formatter function if available ### [`v8.0.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1800) [Compare Source](https://togithub.com/i18next/i18next/compare/v7.2.3...v8.0.0) - When calling `i18next.changeLanguage()` both `i18next.language` and `i18next.languages` will be set to the new language after calling `loadResources` -> means when accessing `t` function meanwhile you will get still the translations for the previous language instead of the fallback. - **When is this breaking?** this does not break any current test - but if you depend on accessing i18next.language or i18next.dir during language change and expect the new language this will break your app. - Reasoning: In react-i18next we get in a not ready state for loaded translations while we would prefer just waiting for the new language ready and trigger a rerender then - also a triggered rerender outside of the bound events would end in Suspense... - How can I get the language i18next will be set to? `i18next.isLanguageChangingTo` is set to the language called ### [`v7.2.3`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​723) [Compare Source](https://togithub.com/i18next/i18next/compare/v7.2.2...v7.2.3) - rebuild seems we had a mistake in pushing latest build ### [`v7.2.2`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​722) [Compare Source](https://togithub.com/i18next/i18next/compare/v7.2.1...v7.2.2) - fixes issue in accepting string as a result of "nested" lookup [PR909](https://togithub.com/i18next/i18next/pull/909) ### [`v7.2.1`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​721) [Compare Source](https://togithub.com/i18next/i18next/compare/v7.2.0...v7.2.1) - fixes iterating over object's own properties [#​904](https://togithub.com/i18next/i18next/pull/904) ### [`v7.2.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1720) [Compare Source](https://togithub.com/i18next/i18next/compare/v7.1.3...v7.2.0) - Support using ImmutableJS Records as the data model in interpolation [1339](https://togithub.com/i18next/i18next/pull/1339) ### [`v7.1.3`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​713) [Compare Source](https://togithub.com/i18next/i18next/compare/v7.1.2...v7.1.3) - fixes issue in returnObject tree called with options including ns: [react-i18next #​240](https://togithub.com/i18next/react-i18next/issues/240) ### [`v7.1.2`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​712) [Compare Source](https://togithub.com/i18next/i18next/compare/v7.1.1...v7.1.2) - remove regex escape from format separators [#​896](https://togithub.com/i18next/i18next/pull/896) ### [`v7.1.1`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​711) [Compare Source](https://togithub.com/i18next/i18next/compare/v7.1.0...v7.1.1) - change to named plugins for 3rd party - just calling init ### [`v7.1.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1710) [Compare Source](https://togithub.com/i18next/i18next/compare/v7.0.1...v7.1.0) DX improvements: - warning if accessing t before i18next was initialized or namespace loaded - warning and cancelling save if saveMissing key before i18next was initialized or namespace loaded Both are a clear sign you render your app / call t to early not waiting for the callbacks or Promise.resolve on i18next.init, i18next.loadNamespace or i18next.changeLanguage. ### [`v7.0.1`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​17018) [Compare Source](https://togithub.com/i18next/i18next/compare/v7.0.0...v7.0.1) - Improve performance of EventEmitter.off [1333](https://togithub.com/i18next/i18next/pull/1333) ### [`v7.0.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1700) [Compare Source](https://togithub.com/i18next/i18next/compare/v6.1.2...v7.0.0) - removes checking in build files (umd) into source code - for CDN usage use: - removes named exports in main file - avoids issues in mixed exports makes usage better in commonjs scenarios (node.js) - no strange `const i18next = require('i18next').default;` - **impact** you can't no longer `import { changeLanguage } from 'i18next'; changeLanguage('de');` you will have to `import i18next from 'i18next'; i18next.changeLanguage('de');` - **note** if can create a own file providing the named bound functions and use that instead, sample: ### [`v6.1.2`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​612) [Compare Source](https://togithub.com/i18next/i18next/compare/v6.1.1...v6.1.2) - fixes fix in 6.1.1 ### [`v6.1.1`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​611) [Compare Source](https://togithub.com/i18next/i18next/compare/v6.1.0...v6.1.1) - patching same separators to lookup if the ns exists - else guess the first item is just part of the key and not meant as a namespace ### [`v6.1.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​610) [Compare Source](https://togithub.com/i18next/i18next/compare/v6.0.3...v6.1.0) - you now can use same nsSeparator and keySeparator (eg. use a dot for both) ### [`v6.0.3`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​603) [Compare Source](https://togithub.com/i18next/i18next/compare/v6.0.2...v6.0.3) - do not loop over objectTree if keySeparator is set to false ### [`v6.0.2`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​602) [Compare Source](https://togithub.com/i18next/i18next/compare/v6.0.1...v6.0.2) - fixes init flow of clone ### [`v6.0.1`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​601) [Compare Source](https://togithub.com/i18next/i18next/compare/v6.0.0...v6.0.1) - fixes issue in event emitter, assert all emitters get called even if one called get removed and changes the array index ### [`v6.0.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1600) [Compare Source](https://togithub.com/i18next/i18next/compare/v5.0.0...v6.0.0) - removes deprecated jsnext:main from package.json - Bundle all entry points with rollup [1256](https://togithub.com/i18next/i18next/pull/1256) - **note:** dist/es -> dist/esm, dist/commonjs -> dist/cjs (individual files -> one bundled file) ### [`v5.0.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1500) [Compare Source](https://togithub.com/i18next/i18next/compare/v4.2.0...v5.0.0) - update build process (while all test passes feeling more save making this a major release) ### [`v4.2.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​420) [Compare Source](https://togithub.com/i18next/i18next/compare/v4.1.4...v4.2.0) - adds i18next.isInitialized when isInitialized - triggers backend loaded event before initialized ### [`v4.1.4`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​413--414) [Compare Source](https://togithub.com/i18next/i18next/compare/v4.1.3...v4.1.4) - smaller changes suggested to still inofficial support ie8 [#​852](https://togithub.com/i18next/i18next/issues/852) ### [`v4.1.3`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​413--414) [Compare Source](https://togithub.com/i18next/i18next/compare/v4.1.2...v4.1.3) - smaller changes suggested to still inofficial support ie8 [#​852](https://togithub.com/i18next/i18next/issues/852) ### [`v4.1.2`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​412) [Compare Source](https://togithub.com/i18next/i18next/compare/v4.1.1...v4.1.2) - fixes same interpolation object with multiple getFixedT() in different locales yields wrong translation [#​851](https://togithub.com/i18next/i18next/issues/851) - updated all build deps ### [`v4.1.1`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1411) [Compare Source](https://togithub.com/i18next/i18next/compare/v4.1.0...v4.1.1) - allow empty string for array join [1191](https://togithub.com/i18next/i18next/issues/1191) ### [`v4.1.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1410) [Compare Source](https://togithub.com/i18next/i18next/compare/v4.0.0...v4.1.0) - support plurals in returning objecttree array [1196](https://togithub.com/i18next/i18next/issues/1196) ### [`v4.0.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1400) [Compare Source](https://togithub.com/i18next/i18next/compare/v3.5.2...v4.0.0) - typescript: BREAKING Refactor generics usage [1180](https://togithub.com/i18next/i18next/pull/1180) ### [`v3.5.2`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​352) [Compare Source](https://togithub.com/i18next/i18next/compare/v3.5.1...v3.5.2) - remove the module entry point again will be added in 4.0.0 ### [`v3.5.1`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​351) [Compare Source](https://togithub.com/i18next/i18next/compare/v3.5.0...v3.5.1) - fix build output add a test file to test the generated build ### [`v3.5.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​350) [Compare Source](https://togithub.com/i18next/i18next/compare/v3.4.4...v3.5.0) - Setting options on individual translations override, rather than merge global configs [#​832](https://togithub.com/i18next/i18next/issues/832) - Create an new translator when cloning i18next instance [#​834](https://togithub.com/i18next/i18next/pull/834) - allows fallbackLng to be an string, an array or an object defining fallbacks for lng, lng-region plus default, eg fallbackLng: { 'de-CH': ['fr', 'it', 'en'], 'de': ['fr', 'en'], 'zh-Hans': ['zh-Hant', 'en'], 'zh-Hant': ['zh-Hans', 'en'], 'default': ['en'] } ### [`v3.4.4`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​344) [Compare Source](https://togithub.com/i18next/i18next/compare/v3.4.3...v3.4.4) - Fix Interpolator.escapeValue defaulting to undefined in some cases [#​826](https://togithub.com/i18next/i18next/issues/826) ### [`v3.4.3`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​343) [Compare Source](https://togithub.com/i18next/i18next/compare/v3.4.2...v3.4.3) - Fix Interpolator formatter exception error propagation due to not reset RegExp indices [#​820](https://togithub.com/i18next/i18next/issues/820) ### [`v3.4.2`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​342) [Compare Source](https://togithub.com/i18next/i18next/compare/v3.4.1...v3.4.2) - assert dir function does not crash if no language available ### [`v3.4.1`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​341) [Compare Source](https://togithub.com/i18next/i18next/compare/v3.4.0...v3.4.1) - fix issue with format containing formatSeparator for interpolation formatting ### [`v3.4.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​340) [Compare Source](https://togithub.com/i18next/i18next/compare/v3.3.1...v3.4.0) - adds formatting 'format this: {{var, formatRule}}' having a function on options.interpolation.format: function(value, format, lng) { retu

Renovate configuration

:date: Schedule: At any time (no schedule defined).

:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.

:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

:no_bell: Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by WhiteSource Renovate. View repository job log here.