Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency i18next to v23 #746

Closed
wants to merge 1 commit into from
Closed

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 22, 2023

Mend Renovate

This PR contains the following updates:

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

Release Notes

i18next/i18next (i18next)

v23.11.5

Compare Source

  • perf: use Array.isArray() 2193
  • perf: trim keys once 2194

v23.11.4

Compare Source

  • perf(interpolator): use object deconstruction 2181

v23.11.3

Compare Source

  • fix: Unsupported language is automatically added to preload option 2178

v23.11.2

Compare Source

  • allow defaultValue in nested translation 2174

v23.11.1

Compare Source

  • types: remove const from ParseKeys Context type parameter and disable skipLibCheck 2169

v23.11.0

Compare Source

  • Fix typing performance regression 2166

v23.10.1

Compare Source

v23.10.0

Compare Source

  • Add 'isInitializing' property so we're able to detect init() was already called 2141

v23.9.0

Compare Source

  • types: support nested keys in InterpolationMap 2140 fixes 2014

v23.8.3

Compare Source

  • prevent resource mutation when using addResourceBundle 2081

v23.8.2

Compare Source

  • optimize addResources to address 2130

v23.8.1

Compare Source

  • types: support stricter typechecking for returnEmptyString and returnNull 2129

v23.8.0

Compare Source

  • improve performance by reducing array slices and RegExp recreation 2128

v23.7.20

Compare Source

  • optimize: consistent _zero special handling also for defaultValue_zero 2124
  • intl plural rule for dev is now en (consistent with v3 compatibility)

v23.7.19

Compare Source

  • fix: consistent _zero special handling also for defaultValue_zero 2124

v23.7.18

Compare Source

  • types: support readonly defaultNS 2123

v23.7.17

Compare Source

  • types: fix support for defaultNS as array (fixes 2118) 2121
  • types: fix typo in CustomInstanceExtensions 2122

v23.7.16

Compare Source

  • fix: Use Typescript 5 types with Typescript 5+ 2108
    • Hint: If you're using TypeScript 4 and you navigate to the type definitions in your code editor, it might be you will see the TypeScript 5 types, but the TS compiler should use the correct types.

v23.7.15

Compare Source

  • types: simplifies types for array access and fixes 2103

v23.7.14

Compare Source

  • types: fix types for array access

v23.7.13

Compare Source

  • types: optimise ParseTReturn 2095

v23.7.12

Compare Source

  • types: fix for older ts version (context validation only for TS 5)

v23.7.11

Compare Source

  • types: fix for older ts versions 2090

v23.7.10

Compare Source

  • types: initializedStoreOnce and initializedLanguageOnce 2089

v23.7.9

Compare Source

  • types: fix FormatFunction should allow any value inside options parameter

v23.7.8

Compare Source

  • prevent cosmetic SyntaxError because of non catched error variable

v23.7.7

Compare Source

  • optimize TypeScript V4 export

v23.7.6

Compare Source

  • types: CustomInstanceExtenstions

v23.7.5

Compare Source

  • fix types export for TypeScript v4 in combination with react-i18next

v23.7.4

Compare Source

  • fix for TypeScript v4 in combination with react-i18next

v23.7.3

Compare Source

  • fix: consider importing '*.js'

v23.7.2

Compare Source

  • types: optimize mts

v23.7.1

Compare Source

  • fix some mjs typings

v23.7.0

Compare Source

  • fix: separate cjs and mjs typings 2010
  • fix: consider importing './typescript/t.js' 2048

v23.6.0

Compare Source

  • add interpolation data to response if returnDetails is true 2053

v23.5.1

Compare Source

  • types: use unknown to better infer types on nested t functions also for older typescript version 2032

v23.5.0

Compare Source

  • types: use unknown to better infer types on nested t functions 2018

v23.4.9

Compare Source

  • fix: preload languages also on cimode, if configured also as fallbackLng

v23.4.8

Compare Source

  • fix: preload languages also on cimode, if configured

v23.4.7

Compare Source

  • preload languages also on cimode, if configured

v23.4.6

Compare Source

  • pass correct language for custom i18nFormat

v23.4.5

Compare Source

  • types: named export for FlatNamespace

v23.4.4

Compare Source

  • types: add customisation of contextSeparator also on v4 t types 2019

v23.4.3

Compare Source

  • types: add customisation of contextSeparator 2017

v23.4.2

Compare Source

  • types: export some types for next-i18next

v23.4.1

Compare Source

  • types: fix typescript imports

v23.4.0

Compare Source

  • types: Support const modifier for options and key 2007
  • types: Support context 2006

v23.3.0

Compare Source

  • types: Fix performance issue that affects flat object with multiple (thousands) keys 2004

v23.2.11

Compare Source

  • types: Fix $TFunctionBrand 1997

v23.2.10

Compare Source

  • types: emit function can have additional arguments 1993

v23.2.9

Compare Source

  • types: Add brand to TFunction type so different namespaces' TFunctions are not treated as compatible 1994

v23.2.8

Compare Source

  • types for hasLoadedNamespace

v23.2.7

Compare Source

  • fix utils import (for Deno)

v23.2.6

Compare Source

  • Re-allow unknown keys, when a defaultValue is provided 1867

v23.2.5

Compare Source

  • Clean language code before passing to formatters 1988

v23.2.3

Compare Source

  • types: Optimize logic for fallback ns 1984

v23.2.2

Compare Source

  • types: try to fix fallbackNS type handling also for older TS version 1981

v23.2.1

Compare Source

  • types: Fix $TFunctionBrand 1997

v23.2.0

Compare Source

  • types: add fallbackNS type handling 1975

v23.1.0

Compare Source

  • cloneInstance: introduce forkResourceStore 1974
  • types: default argument values for ParseKeys type

v23.0.2

Compare Source

  • refactor: static createInstance for wider browser support 1973

v23.0.1

Compare Source

  • types: export ParseKeys

v23.0.0

Compare Source

This is a major breaking release:

  • redesigned TypeScript types 1911

  • removed setDebug function in the logger: 1954

  • changed returnNull default to false 1885

  • drop support for old browsers and Node.js < v12 1948

  • ordinal plural keys are now prefixed with _ordinal to help translators (non-breaking, because of fallback) 1945

➡️ check out the migration guide

v22.5.1

Compare Source

  • ResourceStore addResource: offer possibility to pass keySeparator via options 1968

v22.5.0

Compare Source

  • extend hasLoadedNamespace function options to pass optional lng to optimize server side usage of react-i18next

v22.4.15

Compare Source

  • fix: function t() passed options alteration 1947

v22.4.14

Compare Source

  • fix: pass lng to format function used in nesting 1938

v22.4.13

Compare Source

  • fix: deepFind as fallback for interpolation 1930

v22.4.12

Compare Source

  • fix: getBestMatchFromCodes when dev is a supported lng 1927

v22.4.11

Compare Source

  • types: fix postProcessor key argument type, fixes 1919

v22.4.10

Compare Source

  • format options are optional, fixes 1913

v22.4.9

Compare Source

  • fix: getFixedT with keyPrefix and fallback keys usage 1604

v22.4.8

Compare Source

  • fix: nested interpolation with data model "replace"

v22.4.7

Compare Source

  • fix: interpolation with data model "replace"

v22.4.6

Compare Source

  • types: missing dir function export for typescript

v22.4.5

Compare Source

  • types: allow als general options as second argument for t function

v22.4.4

Compare Source

  • types: fix some strange t function overloads fixes 1882

v22.4.3

Compare Source

  • types: t function overloads fix (open issue is still calling t with optional options argument)

v22.4.2

Compare Source

  • types: t function overloads for call with ns option in combination with objects

v22.4.1

Compare Source

  • fix: function t() passed options alteration 1947

v22.4.0

Compare Source

  • types: more overloads for t function

v22.3.0

Compare Source

  • offer possibility to define a language detector's detect function as promise

v22.2.0

Compare Source

  • types: extend the init method with a generic parameter for backend options 1878, 105, 34

v22.1.5

Compare Source

  • types: ability to pass ns as option instead of prefix i.e. i18next.t('bar', { ns: 'alternate' });

v22.1.4

Compare Source

  • dir function executable also without initialization

v22.1.3

Compare Source

  • named export for dir function

v22.1.2

Compare Source

  • revert: guess if languageDetector is async if no info provided

v22.1.1

Compare Source

  • guess if languageDetector is async if no info provided

v22.1.0

Compare Source

  • extend backend connector to accept also backends with promise / async-await signature

v22.0.8

Compare Source

  • fix options for continuous nesting 1876

v22.0.7

Compare Source

  • Expose some types 1871

v22.0.6

Compare Source

  • fix CallbackError type

v22.0.5

Compare Source

  • Change DefaultTFuncReturn to return null if returnNull typeOption is true 1865

v22.0.4

Compare Source

  • Add type for Formatter.addCached 1862

v22.0.3

Compare Source

  • Make getFixedT type-safe 1860
  • types: Omit object from t function 1858

v22.0.2

Compare Source

  • [TypeScript] Add default value for TDefaultResult 1853

v22.0.1

Compare Source

  • Fix normalize type options 1850

v22.0.0

Compare Source

  • Make the translation function fully type-safe 1775

BREAKING:
Since this is a major rewrite for TypeScript usage we decided to create a major version.
For JavaScript users v22.0.0 is equivalent to 21.10.0

v21.10.0

Compare Source

  • Add formatter cache 1843

v21.9.2

Compare Source

  • optimize single quotes replacement for $t() nesting 1836

v21.9.1

Compare Source

  • defaultNS can now also be set to false

v21.9.0

Compare Source

  • Add Customizable Retry Logic 1810
  • types: extend compatibilityJSON with v4

v21.8.16

Compare Source

  • types: fix getDataByLanguage type 1810

v21.8.15

Compare Source

  • fix: make sure retry logic ends for failed backend reads

v21.8.14

Compare Source

  • allow overriding keyPrefix option t function returned from getFixedT (does not work for normal t function)

v21.8.13

Compare Source

  • types: new optional unescape option for react-i18next

v21.8.12

Compare Source

  • fix: respect pluralSeparator for special _zero handling

v21.8.11

Compare Source

  • fix: types should always come first in exports 1796

v21.8.10

Compare Source

  • types: fix loaded event result

v21.8.9

Compare Source

  • fix: deepFind for null values 1790

v21.8.8

Compare Source

  • fix: loadNamespaces() doesn't keep resolving order when the second request completes before the first one 1785

v21.8.7

Compare Source

  • fix: allow formatters having '' for string options eg. this is an {{val, array(join: ' | ’)}}

v21.8.6

Compare Source

  • fix: regression introduced in v21.6.11, respect appendNamespaceToMissingKey for parseMissingKeyHandler 1507

v21.8.5

Compare Source

  • fix: interpolation with $ in values resets nextIndex to wrong position with skipOnVariables 1782

v21.8.4

Compare Source

  • types: keyPrefix in react options

v21.8.3

Compare Source

  • prevent chrome warnings because of window.navigator.userAgent usage 1778

v21.8.2

Compare Source

  • types: add saveMissingPlurals option 1774

v21.8.1

Compare Source

  • types: fix getDataByLanguage type 1810

v21.8.0

Compare Source

  • add maxParallelReads option, default 10 1771
  • reduce CPU usage loading large numbers of items 1768

v21.7.1

Compare Source

  • types: missing returnDetails option in init options 1765

v21.7.0

Compare Source

  • introduce returnDetails option 1764

v21.6.16

Compare Source

  • fix: defaultVariables were not accessible inside plugin parse function 1751

v21.6.15

Compare Source

  • fix hasLoadedNamespace when providing inmemory resources and a backend but partialBundledLanguages is not set

v21.6.14

Compare Source

  • fix formatter for false inline options

v21.6.13

Compare Source

  • make sure resolvedLanguage is set if lazy loading resources

v21.6.12

Compare Source

  • fix ordinal-suffixes for saveMissingWithPlurals 1734

v21.6.11

Compare Source

  • make sure key and additionally optional defaultValue are passed to parseMissingKeyHandler function 1445

v21.6.10

Compare Source

  • fix: types for hasLoadedNamespace 1724

v21.6.9

Compare Source

  • fix: respect skipOnVariables option passed in t function also for $t() usage

v21.6.8

Compare Source

  • fix: respect skipOnVariables option passed in t function

v21.6.7

Compare Source

  • fix: consistently lowercase new formatter names internally

v21.6.6

Compare Source

  • fix: deepFind fallback when accessing missing flat dotted key 1719

v21.6.5

Compare Source

  • fix: passed format parameter value truncation in options argument for custom formatter 1715

v21.6.4

Compare Source

  • fix: skipOnVariables (and all other interpolation options should respect defaults) 1711

v21.6.3

Compare Source

  • types: wait option does not exist anymore for react-i18next

v21.6.2

Compare Source

  • remove console.log statement

v21.6.1

Compare Source

  • fix: defaultVariables were not accessible inside plugin parse function 1751

v21.6.0

Compare Source

  • add _zero suffix lookup if count === 0 1705

v21.5.6

Compare Source

  • fix: correct defaults for plural forms (if supplied) 1703

v21.5.5

Compare Source

  • fix: prevent TypeError when using returnObjects: true with non string values 1702

v21.5.4

Compare Source

  • include version info in generated package.json of esm dist

v21.5.3

Compare Source

  • do not use options.interpolation reference

v21.5.2

Compare Source

  • missing named exports for TypeScript usage 1692

v21.5.1

Compare Source

  • add package.json to exports subpath

v21.5.0

Compare Source

  • named exports for esm usage 1681

v21.4.2

Compare Source

  • trim multiple formatters, fixes 1689

v21.4.1

Compare Source

  • rtl fix for -arab language codes

v21.4.0

Compare Source

  • bind all i18next functions to this, this way you can for example just use t() instead of i18n.t() 1682

v21.3.3

Compare Source

  • apply default interpolation formatter when interpolation options don't specify one 1680

v21.3.2

Compare Source

  • formatter typescript declarations 1679

v21.3.1

Compare Source

  • get rid of internal isDummy check to prevent react-native issue 1675

v21.3.0

Compare Source

  • adds support for formats provided by Intl API (number, currency, datetime, relativedate, list)

v21.2.6

Compare Source

  • optimize do skip natural language detection also if user provided nsSeparator option is passed via direct options

v21.2.5

Compare Source

  • do skip natural language detection also if user provided nsSeparator option is passed 1665

v21.2.4

Compare Source

  • optimize Intl api check

v21.2.3

Compare Source

  • fix Intl.PluralRules fallback

v21.2.2

Compare Source

  • log error if Intl.PluralRules API is not available

v21.2.1

Compare Source

  • do skip natural language detection, if user provided keySeparator option is passed 1670

v21.2.0

Compare Source

  • provide bundled esm distributable 1667

v21.1.1

Compare Source

  • optimize natural language detection 1661

v21.1.0

Compare Source

  • A new RTL support added for ckb language code

v21.0.2

Compare Source

  • fix defaultNS regression if translation namespace is defined in ns option, fixes #​1658

v21.0.1

Compare Source

  • fix typescript typo for skipOnVariables

v21.0.0

Compare Source

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

v20.6.1

Compare Source

  • fix deepFind if looking for nesting array item

v20.6.0

Compare Source

  • feature: key prefix option 1644

v20.5.0

Compare Source

  • introduce missingKeyNoValueFallbackToKey option

v20.4.0

Compare Source

  • change to return false when a nullable argument is passed 1635
  • make sure parseMissingKeyHandler is called when defaultValue is provided 1354
  • types: Fix i18n.use() cannot pass module constructors in TypeScript 1442
  • types: fix TypeScript definition for "loaded" event handler 1637

v20.3.5

Compare Source

  • change init warning to only trigger if not using useSSR on react-i18next

v20.3.4

Compare Source

  • fix(types): only use readonly array of strings in API 1629

v20.3.3

Compare Source

  • add transWrapTextNodes to types 1626

v20.3.2

Compare Source

  • context can also be a number 1622

v20.3.1

Compare Source

  • add 'ns' to the 'returnedObjectHandler' options 1619
  • disable warn 'accessing an object' when the 'returnedObjectHandler' is defined 1617

v20.3.0

Compare Source

  • add simple toJSON function to fix uncontrolled serialization, fixes 1322

v20.2.4

Compare Source

  • fix types for LanguageDetector detect function

v20.2.3

Compare Source

  • if detected lng is falsy, set it to empty array, to make sure at least the fallbackLng will be used

v20.2.2

Compare Source

  • fix plural equations for Kazakh 1608

v20.2.1

Compare Source

  • fix lastIndex in regex when skipOnVariables is true

v20.2.0

Compare Source

  • add ignoreJSONStructure into the types
  • stop recursive interpolation also for "{{variable}}" when skipOnVariables is true 1595
  • old browser fix for "includes" usage 1597

v20.1.0

Compare Source

  • Add alwaysFormat into the types 1586
  • Add interpolation key name to format function 1571

v20.0.0

Compare Source

  • add support to proper augment PluginOptions type 1583
  • introduce ignoreJSONStructure flag, to automatically lookup for a flat key if a nested key is not found an vice-versa 1584 (MAJOR: because of ignoreJSONStructure is true by default)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

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

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

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


  • If you want to rebase/retry this PR, check this box

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

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Jun 22, 2023
@renovate renovate bot force-pushed the renovate/i18next-23.x branch 3 times, most recently from c3d6a95 to 0f3455a Compare July 4, 2023 14:30
@renovate renovate bot force-pushed the renovate/i18next-23.x branch 4 times, most recently from 385e6a4 to 1aa8bc7 Compare July 12, 2023 21:02
@renovate renovate bot force-pushed the renovate/i18next-23.x branch 3 times, most recently from a0a12de to 196744d Compare July 29, 2023 13:05
@renovate renovate bot force-pushed the renovate/i18next-23.x branch 3 times, most recently from 5db9752 to 99e21b5 Compare August 9, 2023 11:32
@renovate renovate bot force-pushed the renovate/i18next-23.x branch 2 times, most recently from bf21c91 to e93a4dc Compare August 25, 2023 17:02
@renovate renovate bot force-pushed the renovate/i18next-23.x branch 4 times, most recently from 966fe99 to a558339 Compare September 8, 2023 11:31
@renovate renovate bot force-pushed the renovate/i18next-23.x branch from a558339 to ddb9c61 Compare October 18, 2023 16:47
@renovate renovate bot force-pushed the renovate/i18next-23.x branch 5 times, most recently from 4d53bfc to 99f98c2 Compare November 13, 2023 13:10
@renovate renovate bot force-pushed the renovate/i18next-23.x branch from 99f98c2 to 1e80bea Compare November 28, 2023 17:31
@renovate renovate bot force-pushed the renovate/i18next-23.x branch 2 times, most recently from f0efa23 to 8553c96 Compare December 12, 2023 19:36
@renovate renovate bot force-pushed the renovate/i18next-23.x branch from 8553c96 to b77d4c9 Compare December 14, 2023 16:58
@renovate renovate bot force-pushed the renovate/i18next-23.x branch from b77d4c9 to 796c316 Compare December 15, 2023 00:51
@renovate renovate bot force-pushed the renovate/i18next-23.x branch 5 times, most recently from 05d5b20 to fa789b1 Compare January 4, 2024 12:03
@renovate renovate bot force-pushed the renovate/i18next-23.x branch 4 times, most recently from ce36939 to d8e2937 Compare January 26, 2024 14:09
@renovate renovate bot force-pushed the renovate/i18next-23.x branch 3 times, most recently from 1117387 to 726706e Compare January 31, 2024 16:13
@renovate renovate bot force-pushed the renovate/i18next-23.x branch 3 times, most recently from d578d20 to 52913a0 Compare February 22, 2024 12:56
@renovate renovate bot force-pushed the renovate/i18next-23.x branch from 52913a0 to a715720 Compare March 8, 2024 06:40
@renovate renovate bot force-pushed the renovate/i18next-23.x branch 3 times, most recently from e7ebdc8 to 7425958 Compare April 14, 2024 16:49
@renovate renovate bot force-pushed the renovate/i18next-23.x branch from 7425958 to 2fc58b7 Compare April 29, 2024 07:59
@renovate renovate bot force-pushed the renovate/i18next-23.x branch from 2fc58b7 to f5a0aae Compare May 10, 2024 09:40
@renovate renovate bot force-pushed the renovate/i18next-23.x branch from f5a0aae to 5c6c8f1 Compare May 20, 2024 23:18
@bagage
Copy link
Collaborator

bagage commented Jun 1, 2024

Closing all renovate PRs that are quite old

@bagage bagage closed this Jun 1, 2024
Copy link
Contributor Author

renovate bot commented Jun 1, 2024

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 23.x releases. But if you manually upgrade to 23.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/i18next-23.x branch June 1, 2024 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant