Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Dec 9, 2024

Bumps react-hook-form from 7.49.2 to 7.54.0.

Release notes

Sourced from react-hook-form's releases.

Version 7.54.0

🦥 fix: useForm should return a new object on formState changes (#12424) 🧻 improve prototype pollution check (#12431) 🪖 fix: add FileList availability check for environments without FileList support (#12332) 🧪 close #12198 memo for useController and useFormState (#12421) 🐞 fix #12407 useFieldArray append issue with useForm disabled props (#12420) 🐞 fix #12415 issue with flatten object with null value (#12418) 🐞 fix #12385 nested array field invalid validation report on removed (#12405) 🙀 fix: hasPromiseValidation return true or false appropriately. (#12389) 👃 fix more staled props (#12404)

thanks to @​developer-bandi, @​OlegDev1, @​sukvvon, @​alexandredev3 and @​mfazekas

Version 7.53.2

🐞 fix #12398 staled disabled issue with resubmit form (#12403) 🐞 fix: add type guard to fieldRef.select (#12390) Revert "🏺 watch reference update on formState update (#12326)" (#12391)

thanks to @​developer-bandi

Version 7.53.1

🐞 fix: #12294 ensure Invalid Date is evaluated correctly (#12295) 🐞 fix #12316 setValue should work for arrays of primitives to handle checkboxes (#12316) (#12317) 🐞 fix #12097 Use dirty fields along with mount names for form reset with keepDirtyValues (#12211) 🫀 fix #12237 disabled state trigger formState dirty/dirtyFields to update (#12239) 🐞 fix #12291 field array remove cause undefined with FormData (#12305) 📝 improve flatten function with object type check (#12306) 🖐️ improve: resolve type of set function (#12145) 🔧 chore: upgrade eslint to v9 (#12150) 📖 fix: code example input field placeholder name (#12296) 📖 docs: fix typo in code example (#12271)

thanks to @​rasikhq @​abnud11 @​crypt0box @​developer-bandi @​matmannion @​hasancruk & @​vismay7

Version 7.53.0

🌫️ feat: #12148 support isValid when mode is set to onBlur (#12194)

// update formstate isValid with onBlur event
const { formState: { isValid } } = useForm({
  mode: 'onBlur'
})

🐞 fix #12021 issue with disable prop not reflecting on re-render without trigger by useEffect (#12193) 👩‍🌾 close #12168 optimise re-render with validating fields subscription (#12192) 🐞 fix #12127 issue with compare object value changed with object input (#12185) 🎲 improve : break out of recursive loops on first focus (#11827) 📖 fix example of ObjectKeys type (#11965)

... (truncated)

Commits
  • 893ffce 7.54.0
  • 9532038 ❤️ thank you so much for St. Galler Kantonalbank AG sponsor
  • 5db95c9 🐸 update SECURITY.md
  • 09a9a49 🦥 fix: useForm should return a new object on formState changes (#12424)
  • 0952f7e 🧻 improve prototype pollution check (#12431)
  • 30ea87e 🪖 fix: add FileList availability check for environments without FileList ...
  • 29ae596 🧪 close #12198 memo for useController and useFormState (#12421)
  • 2d7b789 🐞 fix #12407 useFieldArray append issue with useForm disabled props (#12420)
  • 00e39c8 🐞 fix #12415 issue with flatten object with null value (#12418)
  • 2b1c709 Update README.md
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [react-hook-form](https://github.com/react-hook-form/react-hook-form) from 7.49.2 to 7.54.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.49.2...v7.54.0)

---
updated-dependencies:
- dependency-name: react-hook-form
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 9, 2024
@dryrunsecurity
Copy link

dryrunsecurity bot commented Dec 9, 2024

DryRun Security Summary

The code change updates the react-hook-form dependency to version ^7.54.0 in the package.json file, which appears to be a routine minor version update that likely includes bug fixes and improvements, and should be reviewed and tested before implementation.

Expand for full summary

Summary:

The code change in the provided package.json file updates the version of the react-hook-form dependency from ^7.49.2 to ^7.54.0. This is a minor version update, which typically indicates bug fixes, performance improvements, or new features, rather than breaking changes.

From an application security perspective, this update does not immediately raise any major concerns. The react-hook-form library is a popular and widely used form handling library for React applications, and version updates are generally considered safe unless they include known security vulnerabilities. However, it's always a good practice to review the release notes or change logs for the updated dependency to ensure that there are no security-related changes or fixes included in the new version. Additionally, it's recommended to thoroughly test the application after the dependency update to ensure that there are no regressions or unintended behavior changes.

Files Changed:

  • package.json: The code change in this file updates the version of the react-hook-form dependency from ^7.49.2 to ^7.54.0. This is a minor version update, which typically indicates bug fixes, performance improvements, or new features, rather than breaking changes.

Code Analysis

We ran 9 analyzers against 2 files and 1 analyzer had findings. 8 analyzers had no findings.

Analyzer Findings
Sensitive Files Analyzer 1 finding

View PR in the DryRun Dashboard.

@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Dec 13, 2024

Superseded by #124.

@dependabot dependabot bot closed this Dec 13, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/react-hook-form-7.54.0 branch December 13, 2024 20:45
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