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

chore(deps): update dependency i18next to v23 #144

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 15, 2023

This PR contains the following updates:

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

Release Notes

i18next/i18next (i18next)

v23.16.4

Compare Source

  • revert formatter change 2247 because of caching not working anymore

v23.16.3

Compare Source

  • fix utils imports for Deno

v23.16.2

Compare Source

  • perf(size): Adds a isString utility 2248

v23.16.1

Compare Source

  • perf: Optimize size of Formatter 2247

v23.16.0

Compare Source

  • use Intl.getCanonicalLocales function if available to format language code, like suggested in 2244

v23.15.2

Compare Source

  • fix(types): make context related keys detection stricter 2243 fixes 2242

v23.15.1

Compare Source

  • types(TFunction): make return not inferrable and use defaultValue as return when provided 2234

v23.15.0

Compare Source

  • support unescaped variables in TypeScript 2233

v23.14.0

Compare Source

  • If backend errors with retry flag, set internal state to 0, so reloadingResources should work 147

v23.13.0

Compare Source

  • Cache output of getRule to optimize performance 2226

v23.12.7

Compare Source

  • revert last optimization to address 2227

v23.12.6

Compare Source

  • remove console.log statement 2227

v23.12.5

Compare Source

  • try to optimize last fix for 2227

v23.12.4

Compare Source

  • try to address 2227 without the removal of cached formatter for in-built formatters

v23.12.3

Compare Source

  • fix: Using a comma in a formatter parameter 2225

v23.12.2

Compare Source

  • fix: Nested translation resolution between languages uses the fallback language for nested translations 2216 by preserving issue fix "lng is undefined when formatter used in $t( )" 1938

v23.12.1

Compare Source

  • Use explicit imports for utils 2212

v23.12.0

Compare Source

  • feat: Add posibility to override keyPrefix for certain translation. 2211

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

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 was generated by Mend Renovate. View the repository job log.

@vercel
Copy link

vercel bot commented Jun 15, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
zod-i18n ❌ Failed (Inspect) Jun 15, 2023 8:57am

@codecov-commenter
Copy link

Codecov Report

Merging #144 (8846854) into main (522257a) will not change coverage.
The diff coverage is n/a.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@            Coverage Diff            @@
##              main      #144   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines          298       298           
  Branches        60        60           
=========================================
  Hits           298       298           
Flag Coverage Δ
core 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant