next-core icon indicating copy to clipboard operation
next-core copied to clipboard

chore(deps): Update i18next packages (next) (major)

Open renovate[bot] opened this issue 1 year ago • 0 comments

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
i18next (source) ^22.5.1 -> ^23.11.4 age adoption passing confidence
i18next-browser-languagedetector ^7.2.1 -> ^8.0.0 age adoption passing confidence
react-i18next ^12.3.1 -> ^14.1.1 age adoption passing confidence

Release Notes

i18next/i18next (i18next)

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

i18next/i18next-browser-languageDetector (i18next-browser-languagedetector)

v8.0.0

Compare Source

  • chore: set browsers target to defaults 286
  • perf: use object deconstruction, optional chaining and hot path optimisations 287
i18next/react-i18next (react-i18next)

v14.1.1

Compare Source

  • do not modify passed tOptions context property to address 1745

v14.1.0

Compare Source

  • types(Trans): add typechecking on context prop 1732 (might brake if using "internal" Trans or TransProps)

v14.0.8

Compare Source

  • fix: issue 1728 when useSuspense is false and default ns 1731

v14.0.7

Compare Source

  • try to get rid of internal interpolationOverride handling for Trans component, fixes 1729

v14.0.6

Compare Source

  • align context handling of Trans component with t function, fixes 1729

v14.0.5

Compare Source

  • Fix 1691 for strict mode, by preserving change language binding 1720

v14.0.4

Compare Source

  • fix interpolation of the count prop 1719

v14.0.3

Compare Source

  • revert changes done in v14.0.2 since it breaks normal language change render updates

v14.0.2

Compare Source

  • Fix/bug 1691 make returned t function identical upon second effect run in strict mode 1716

v14.0.1

Compare Source

  • types: fix typo in CustomInstanceExtensions 1713

v14.0.0

Compare Source

  • types: reportNamespaces is now optional, should fix 1693

v13.5.0

Compare Source

  • self-closing components in translation strings should not attempt to replace the component's children 1695

v13.4.1

Compare Source

  • types: use CustomInstanceExtenstions to extend reportNamespaces

v13.4.0

Compare Source

  • fix: separate cjs and mjs typings

v13.3.2

Compare Source

  • types: fix consider importing '*.js'

v13.3.1

Compare Source

  • optimize defaultVariables feature introduced in last release

v13.3.0

Compare Source

  • Respect defaultVariables in the interpolation options 1685

v13.2.2

Compare Source

  • Fix missing TransWithoutContext type 1672

v13.2.1

Compare Source

  • types: Allow iterable ReactI18NextChildren as children 1669

v13.2.0

Compare Source

  • Don't use defaults prop as default key 1664

v13.1.2

Compare Source

  • postpone usage of newer ES syntax

v13.1.1

Compare Source

  • Render all children regardless of type when using i18nIsDynamicList prop 1661

v13.1.0

Compare Source

  • Fix non-list dynamic content in Trans component 1660

v13.0.3

Compare Source

  • fix unescape is not consistently called for all values 1657

v13.0.2

Compare Source

  • export icu.macro 1652

v13.0.1

Compare Source

  • types: Fix performance issue in Trans component 1646

v13.0.0

Compare Source

  • Update types to support t function redesign 1615
  • requires i18next >= v23.0.1

Configuration

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

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

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

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


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

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

renovate[bot] avatar Apr 12 '24 01:04 renovate[bot]