Skip to content

(chore): Bump the react-ecosystem group across 1 directory with 4 updates - #2009

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/react-ecosystem-b45502b194
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/react-ecosystem-b45502b194

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Bumps the react-ecosystem group with 4 updates in the / directory: react-i18next, @hookform/resolvers, react-hook-form and react-router-dom.

Updates react-i18next from 16.0.0 to 18.0.3

Changelog

Sourced from react-i18next's changelog.

18.0.3

  • fix: Trans with children and values (or count) no longer fills a placeholder that came in with a value. The text t() returned was interpolated a second time after parsing, with all variables, so values={{ name: '{{otherVar}}', otherVar: 'x' }} rendered x instead of {{otherVar}}, and a value containing its own placeholder was filled twice. interpolation.skipOnVariables now holds as in t(). Text that t() did not interpolate (cimode, a t that returns the key, a format plugin, skipInterpolation) is still filled after parsing (#1950)

18.0.2

  • fix: useTranslation, Trans and IcuTrans re-render for a bindI18nStore event that fires after they rendered but before they subscribed (a bundle added in a parent's layout effect, for example). They kept the old text, because only the events their own subscription received changed their snapshot (#1949)

18.0.1

  • fix(types): declare @types/react as an optional peer dependency. The type declarations import from react, and with pnpm's global virtual store (virtualStoreType: global) TypeScript resolved that to the untyped react/index.js, so every React type in them became any: wrong props compiled, callback parameters failed with TS7006. Under the default pnpm layout it only worked through pnpm's hidden hoisting. The range is *, so projects without TypeScript install nothing extra and an older @types/react does not make npm fail (#1948)
  • requires i18next 27.0.1 or later (peer >= 27.0.1), which keeps at most 1000 formatters in each cached format

18.0.0

Released together with i18next 27. The migration guide lists every change with what to do: https://react.i18next.com/latest/migrating-v17-to-v18

Breaking changes

  • requires i18next 27 (peer >= 27.0.0) and React 18 or later (peer >= 18.0.0). React 16 and 17 apps stay on react-i18next 17: on i18next 27, use react-i18next 17.1.13 or later (it brings the types of the react init options), or 18. useSyncExternalStore comes from React itself, so use-sync-external-store is no longer a dependency.
  • Trans output no longer depends on interpolation.escapeValue: it always decodes HTML entities after parsing, as IcuTrans does, in text and in attribute values, both with react.unescape (attribute values used the built-in decoder before). With i18next's default escapeValue: true, a value Tom & Jerry rendered as Tom & Jerry and a date 17/12/2025 as 17/12/2025; both now render as written, and so do entities in the translation itself (&, <,  , ...). Values still render as text, never as markup (since 17.1.10). The shouldUnescape prop and react.transDefaultProps.shouldUnescape are ignored and warn (DEPRECATED_OPTION, in development and with debug: true); remove them. Snapshot tests that contain entities inside Trans output need an update (#1903, #1893).
  • Trans and IcuTrans re-render on language change by themselves: they subscribe to the react.bindI18n (default languageChanged) and react.bindI18nStore events, like useTranslation. Before, they only updated when a parent re-rendered (#1710). They still neither load translations nor suspend; with a t prop, that t still decides the language. TransWithoutContext and IcuTransWithoutContext stay hook-free.
  • the react options of an instance stay on that instance. initReactI18next copied them into module-wide defaults, so a second instance without react options inherited, for example, the first one's useSuspense: false. Set them on every instance, or call setDefaults() once.
  • the i18n returned by useTranslation (and passed by withTranslation and Translation) forwards reads and writes to the instance. It was a copy taken when the language changed, so after await i18n.changeLanguage('de') the copy still said en, and properties set on it never reached the instance. It is still a new object whenever the language changes, for dependency arrays and the React Compiler. Because the old object now reads the current language too, a check like prevProps.i18n.language !== this.props.i18n.language (or the language of a usePrevious(i18n)) no longer sees a change: compare the objects (prevProps.i18n !== this.props.i18n) or keep the previous language yourself.
  • useSSR and withSSR call i18next's hydrate() instead of writing resourceStore.data, options.ns, initializedStoreOnce, isInitialized and initializedLanguageOnce themselves. Same behavior with real instances, including the opt-out for cloned instances. Test mocks of i18n used with useSSR/withSSR now need a hydrate method, mocks that load before init() need once, and mocks used with Trans or IcuTrans need on and off, since both subscribe to events now (with bindI18nStore set, also store.on and store.off): a minimal mock like { t, options, language } throws i18n.on is not a function.
  • the react-i18next/icu.macro Babel macro (deprecated since 17.0.21) is removed, with the placeholder exports date, time, number, select, plural and selectOrdinal. Write IcuTrans directly.
  • types: the HTMLAttributes['children'] augmentation for allowObjectInHTMLChildren moved to the opt-in react-i18next/augment-react. Default installs no longer change React's DOM types. With allowObjectInHTMLChildren: true, add import 'react-i18next/augment-react'; next to your CustomTypeOptions; with current @types/react it needs skipLibCheck: true (#1928).
  • types: I18nContext is typed { i18n: i18n; defaultNS?: string | string[] } | undefined, as at runtime: useContext(I18nContext) is undefined outside an I18nextProvider. getI18n() keeps its type.
  • types: react-i18next now declares the react init options. i18next 27 keeps an empty ReactOptions interface that react-i18next fills in, so import type { ReactOptions } from 'i18next' keeps working, and ReactOptions is also exported from react-i18next. The defaultTransParent docs no longer claim a 'div' default.
  • the UMD build no longer bundles i18next: it uses the global i18next (load i18next's UMD build first) and shrinks from 71.3 KB to 26.2 KB minified. The AMD build (dist/amd) is removed; AMD loaders can use the UMD file.
  • engines.node is >=22, and the build targets ES2020 syntax with a fixed browser list instead of browserslist defaults.

Other changes

  • feat: a react-server export condition for react-i18next. In a React Server Component, import { Trans } from 'react-i18next' failed with createContext is not a function; it now resolves to an entry with Trans and IcuTrans (the variants without React context), TransWithoutContext, IcuTransWithoutContext, nodesToString, initReactI18next, setI18n/getI18n and setDefaults/getDefaults. Hooks, HOCs, Translation, I18nextProvider and the SSR helpers stay client-only, so importing them there is a build error. Without an i18n prop, the server Trans and IcuTrans use the global instance (the one initReactI18next registered), which is the wrong one with an instance per request: pass that instance as i18n (t is optional). A t alone is not enough, because a t from getFixedT carries no instance. In development and with debug: true they warn about it (GLOBAL_INSTANCE_ON_SERVER) (#1759, #1840).
  • fix(Trans): a component given for a self-closing tag (<0/>) with children of its own is no longer remounted on every render. Trans created a new component type for it each time, so its state and effects were reset.
  • fix: warnings are deduplicated per i18next instance instead of once per process, so a second instance reports its own problems. Clones (cloneInstance(), for example one per request in i18next-http-middleware) share their parent's, as they share its logger, so they do not repeat them.
  • fix: a translation load waiting for init() uses i18n.once('initialized') instead of removing its listener with a delay.
  • fix(types): with keySeparator: false and a key prefix (useTranslation(ns, { keyPrefix }), getFixedT), the values of Trans and IcuTrans are typed from the right key. The prefix and the key were joined with the text false (nestedfalsec), so no variables were checked; they are now joined with ., as getFixedT does.
  • fix(types): useSSR takes its third argument { i18n }, and the useTranslation options take bindI18nStore, as at runtime. ErrorCode lists I18N_NOT_INITIALIZED, ICU_TRANS_RENDER_ERROR and GLOBAL_INSTANCE_ON_SERVER.
  • chore: a files whitelist replaces .npmignore; @babel/runtime is no longer a dependency.

17.1.13

  • fix(types): the react init options keep their types with i18next 27. i18next 27 declares ReactOptions (the type of i18next.init({ react })) as an empty interface and leaves its shape to react-i18next, so with react-i18next 17 the react options were no longer checked and getDefaults().useSuspense did not compile. react-i18next now declares them itself, with exactly the types i18next 26 has: TypeScript accepts the repeated declaration on i18next 26, and on i18next 27 it fills in the empty interface. Nothing changes with i18next 26.

17.1.12

  • fix(types): type-checking a <Trans> is fast again with large resources. Since 17.0.2 the return type of the key was a type parameter of Trans, so TypeScript also computed it for every key of the namespace: with 50 namespaces of 200 keys, one <Trans> cost about 1.3 million more type instantiations than in 17.0.1, with or without a values prop. The return type is computed inside the values prop again, as in 17.0.1, and values still only needs the variables of the given i18nKey (#1913). The exported TransProps type loses the Ret parameter added in 17.0.2, so its 6th parameter is the element props E again, as before 17.0.2. Thanks @​leshaduduk (#1947), fixes #1946.

... (truncated)

Commits

Updates @hookform/resolvers from 3.6.0 to 7.0.10

Release notes

Sourced from @​hookform/resolvers's releases.

v7.0.10

7.0.10 (2026-11-30)

Bug Fixes

  • standard-schema: await cross-realm validation promises (#905) (098bc5f)

v7.0.9

7.0.9 (2026-11-24)

Bug Fixes

  • fluentvalidation-ts: accept versions 4 and 5 as peer dependencies (#903) (78a5ff4)

v7.0.8

7.0.8 (2026-11-20)

Bug Fixes

  • arktype: accept arktype 3 as a peer dependency (#902) (128b8ab)

v7.0.7

7.0.7 (2026-11-17)

Bug Fixes

  • ajv: await async validation results (#899) (af44724)
  • typeschema: preserve path-less validation issues (#898) (beb3999)
  • zod: select the Zod 4 overload for a generic Zod 4 schema (#897) (c7abc80), closes #861 #894

v7.0.6

7.0.6 (2026-11-11)

Bug Fixes

  • arktype: report object-level issues on the empty path (#895) (e02dcd6)
  • valibot: clear native validation errors after successful validation (#896) (b02b258)

v7.0.5

7.0.5 (2026-11-08)

Bug Fixes

  • ajv: accept ajv-formats v3 as a peer dependency (#892) (2a8b28d), closes #850

v7.0.4

7.0.4 (2026-11-08)

... (truncated)

Commits
  • 098bc5f fix(standard-schema): await cross-realm validation promises (#905)
  • 5e9051e Fix the TypeBox links in the README table of contents (#904)
  • 78a5ff4 fix(fluentvalidation-ts): accept versions 4 and 5 as peer dependencies (#903)
  • 128b8ab fix(arktype): accept arktype 3 as a peer dependency (#902)
  • f14fc25 ci: speed up workflows (#901)
  • cd2d36c ci: use Node 26 for semantic-release (#900)
  • af44724 fix(ajv): await async validation results (#899)
  • beb3999 fix(typeschema): preserve path-less validation issues (#898)
  • c7abc80 fix(zod): select the Zod 4 overload for a generic Zod 4 schema (#897)
  • e02dcd6 fix(arktype): report object-level issues on the empty path (#895)
  • Additional commits viewable in compare view
Install script changes

This version modifies prepare script that runs during installation. Review the package contents before updating.


Updates react-hook-form from 7.52.2 to 7.92.0

Release notes

Sourced from react-hook-form's releases.

Version 7.92.0

🐞 Fixes

  • Fix useFormState and Controller unnecessarily cloning form state during mount and unmount (#13945)
  • Fix setValues not updating dirty state for unregistered fields (#13946)
  • Fix form state values becoming inconsistent (#13948)
  • Fix setValue not selecting checkbox options with empty string values (#13950)
  • Fix stale asynchronous form-level validation results (#13951, #13954)
  • Fix useFieldArray applying reValidateMode: 'onSubmit' before submission (#13952)
  • Fix default values not being applied correctly to selects with disabled optgroups (#13953)
  • Fix useController reading stale shouldUnregister options (#13956, #13996)
  • Fix focusing disabled radio and checkbox inputs (#13960, #13968, #13977)
  • Fix TypeScript type regression (#13963)
  • Fix field array notifications using stale values (#13965)
  • Fix rejected submission callbacks with falsy rejection reasons (#13967)
  • Fix useWatch missing reset() updates on mount in React Native (#13974)
  • Fix trigger losing nested field array root errors (#13975)
  • Fix unregister retaining descendant registrations when removing a parent (#13976)
  • Fix trigger not marking nested fields as touched when shouldTouch targets a parent (#13978)
  • Fix useWatch compute cache not synchronizing when compute is removed (#13987)
  • Fix setValues ignoring options when values remain unchanged (#13989)
  • Fix handleSubmit incorrectly updating form state after reset() during asynchronous callbacks (#13991)
  • Fix useFieldArray retaining validation rules after the rules prop is removed (#13992)
  • Fix reset not updating isValid after cancelling pending validation (#13994)
  • Fix TypeScript nested array paths not preserving undefined (#13995)
  • Fix <Form /> not respecting encType when constructing request bodies (#13997)
  • Fix handleSubmit not supporting nullish and primitive transformed values with disabled fields (#13999, #14011)
  • Fix useController dirty tracking with controller-level defaultValue (#14001)
  • Fix multi-select changes including disabled options (#14002)
  • Fix register overwriting untouched range and color input defaults (#14007)
  • Fix stale schema resolver errors after field array operations (#14008)
  • Fix unset failing on primitive values (#14014)
  • Fix form-level validation errors appearing before submission during isValid checks (#14015)
  • Fix stale field errors when form-level validation returns a message (#14016)
  • Fix repeated reset() calls and error focusing with keepFieldsRef and memoized inputs (#14023)

⚡ Performance Improvements

  • Avoid unnecessary form state cloning in useFormState and Controller (#13945)

🧹 Refactors

  • Skip non-dirty array holes when collecting dirty field names (#13979)
  • Avoid mutating field metadata when building resolver options (#13984)

🧪 Tests

  • Expand regression coverage for reset, useController, useFieldArray, validation, dirty state and form submissions
  • Add regression coverage for disabled radio and checkbox inputs, React Native reset handling, and primitive transformed values

... (truncated)

Changelog

Sourced from react-hook-form's changelog.

[7.92.0] - 2026-11-11

Changed

  • Improve performance of useFormState and Controller by avoiding form state cloning on mount and unmount
  • Skip non-dirty array holes when collecting dirty field names
  • Avoid mutating field metadata when building resolver options

Fixed

  • setValues not updating dirty state for unregistered fields
  • Form state values becoming inconsistent
  • setValue not selecting checkbox options with empty string values
  • Stale asynchronous form-level validation results
  • useFieldArray applying reValidateMode: 'onSubmit' before submission
  • Default values not applied to selects with disabled optgroups
  • useController reading stale shouldUnregister options
  • Focusing disabled radio and checkbox inputs
  • TypeScript type regression
  • Field array notifications using stale values
  • Rejected submission callbacks with falsy rejection reasons
  • useWatch missing reset() updates on mount in React Native
  • trigger losing nested field array root errors
  • unregister retaining descendant registrations when removing a parent
  • trigger not marking nested fields as touched when shouldTouch targets a parent
  • useWatch compute cache not synchronizing when compute is removed
  • setValues ignoring options when values remain unchanged
  • handleSubmit updating form state after reset() during asynchronous callbacks
  • useFieldArray retaining validation rules after the rules prop is removed
  • reset not updating isValid after cancelling pending validation
  • TypeScript nested array paths not preserving undefined
  • Form not respecting encType when constructing request bodies
  • handleSubmit not supporting nullish and primitive transformed values with disabled fields
  • useController dirty tracking with controller-level defaultValue
  • Multi-select changes including disabled options
  • register overwriting untouched range and color input defaults
  • Stale schema resolver errors after field array operations
  • unset failing on primitive values
  • Form-level validation errors appearing before submission during isValid checks
  • Stale field errors when form-level validation returns a message
  • Repeated reset() calls and error focusing with keepFieldsRef and memoized inputs

[7.91.0] - 2026-10-24

Changed

  • Improve performance of Form by reading control from context to avoid unnecessary re-renders
  • Improve performance of getValues by avoiding unnecessary shallow copies
  • Simplify multipart content-type header filtering
  • Align form-level validation error types

... (truncated)

Commits
  • 6864846 7.92.0
  • 670bc87 7.91.1
  • 2d9c6ee 🐞 fix(reset): keep mounted field names with keepFieldsRef so later resets res...
  • f31a882 🐞 fix(validate): stop isValid checks from showing form-level errors before su...
  • 1c625f9 🐞 fix(validate): drop previous form-level field errors when validate returns ...
  • f44d083 🐞 fix(handleSubmit): support transformed primitive values with disabled field...
  • 9a17d96 🐞 fix(unset): make unset a no-op on primitive values (#14014)
  • c6d7866 🐞 fix(useFieldArray): schema resolver row errors are ignored after array oper...
  • dbdc960 🐞 fix(register): keep defaultValues for untouched range and color inputs (#13...
  • 3f788fb 🐞 fix(useController): use controller defaultValue as dirty baseline (#14001)
  • Additional commits viewable in compare view

Updates react-router-dom from 6.30.3 to 6.30.6

Changelog

Sourced from react-router-dom's changelog.

v6.30.6

Patch Changes

v6.30.5

Patch Changes

v6.30.4

Patch Changes

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 18, 2026
@greptile-apps

greptile-apps Bot commented Nov 18, 2026

Copy link
Copy Markdown

PR author is in the excluded authors list.

@changeset-bot

changeset-bot Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 124e63f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/react-ecosystem-b45502b194 branch 2 times, most recently from 4ac478f to 124e63f Compare November 30, 2026 22:16
…ates

Bumps the react-ecosystem group with 4 updates in the / directory: [react-i18next](https://github.com/i18next/react-i18next), [@hookform/resolvers](https://github.com/react-hook-form/resolvers), [react-hook-form](https://github.com/react-hook-form/react-hook-form) and [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom).


Updates `react-i18next` from 16.0.0 to 18.0.3
- [Changelog](https://github.com/i18next/react-i18next/blob/master/CHANGELOG.md)
- [Commits](i18next/react-i18next@v16.0.0...v18.0.3)

Updates `@hookform/resolvers` from 3.6.0 to 7.0.10
- [Release notes](https://github.com/react-hook-form/resolvers/releases)
- [Commits](react-hook-form/resolvers@v3.6.0...v7.0.10)

Updates `react-hook-form` from 7.52.2 to 7.92.0
- [Release notes](https://github.com/react-hook-form/react-hook-form/releases)
- [Changelog](https://github.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md)
- [Commits](react-hook-form/react-hook-form@v7.52.2...v7.92.0)

Updates `react-router-dom` from 6.30.3 to 6.30.6
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/react-router-dom@6.30.6/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.30.6/packages/react-router-dom)

---
updated-dependencies:
- dependency-name: "@hookform/resolvers"
  dependency-version: 7.0.6
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: react-ecosystem
- dependency-name: react-hook-form
  dependency-version: 7.92.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: react-ecosystem
- dependency-name: react-i18next
  dependency-version: 18.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: react-ecosystem
- dependency-name: react-router-dom
  dependency-version: 6.30.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: react-ecosystem
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/react-ecosystem-b45502b194 branch from 124e63f to f0bf558 Compare December 3, 2026 01:15
@sonarqubecloud

sonarqubecloud Bot commented Dec 3, 2026

Copy link
Copy Markdown

This branch has not been deployed

No deployments
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 javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants