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: bump react-hook-form from 7.15.3 to 7.33.0 #617

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 1, 2022

Bumps react-hook-form from 7.15.3 to 7.33.0.

Release notes

Sourced from react-hook-form's releases.

Version 7.33.0

⚛️ upgrade to react 18 (react-hook-form/react-hook-form#8529) 🐞 fix react-hook-form/react-hook-form#8558 missing select function for controlled component (react-hook-form/react-hook-form#8559) 🔬 improve nested field errors type (react-hook-form/react-hook-form#8527) 🗑 UseFormHandleSubmit remove unused generic (react-hook-form/react-hook-form#8526)

👋 deprecate on NestedValue and UnpackNestedValue (react-hook-form/react-hook-form#8528)

type FormValues = {
-  select: NestedValue<{
-    nested: string
-  }>
+  select: {
+    nested: string
+  }
}
errors.select.message ✅

Important (25/06/2022)

The deprecation with UnpackNestedValue caused a breaking change on the @hookform/resolvers package, please refer to the changelog and upgrade the resolver to the latest.

🥼 close react-hook-form/react-hook-form#8564 update changelog for breaking change with resolver 💥 The above type deprecation cause breaking change with @hookform/resolvers needs to be upgraded to version ^2.9.3 above

Huge thanks go to @​felixschorer on type improvement and @​romain-trotard for improving tests for react 18

Version 7.32.2

🏋🏻 improve build dist package size (react-hook-form/react-hook-form#8511) 🐞 fix react-hook-form/react-hook-form#8506 delayError not overwrite existing function call (react-hook-form/react-hook-form#8509) 📖 update the use of validadtionSchema in v7 examples (react-hook-form/react-hook-form#8501)

thanks, @​bryantobing12

Version 7.32.1

🐞 fix react-hook-form/react-hook-form#8493 error not trigger with delayError (react-hook-form/react-hook-form#8494) 🔍 fix null or undefined cases caught by TS ^4.8 (react-hook-form/react-hook-form#8487) 🥸 funnel along with appropriate constraints for (upcoming) TypeScript 4.8 (react-hook-form/react-hook-form#8484)

thanks to @​DanielRosenwasser

Version 7.32.0

🎠 feat: make UseFormRegisterReturn generic over TFieldName (react-hook-form/react-hook-form#8414) 🐞 fix react-hook-form/react-hook-form#8459 regression issue with draft state object (react-hook-form/react-hook-form#8463) 🧾 fix: doc watch() with callback example must deconstruct the returned type (react-hook-form/react-hook-form#8451) 🤝 fix: compare html elements against correct global (react-hook-form/react-hook-form#8355) 🐞 flush errors state update when user switch input with delayError (#8429)

... (truncated)

Changelog

Sourced from react-hook-form's changelog.

[7.33.0] - 2022-6-24

Breaking Change

  • @hookform/resolvesrs needs to upgraded to version ^2.9.3 above

Changed

  • Deprecate NestedValue and UnpackNestedValue type, will be removed in the next major version. Important: If you are using them, it may cause TS compile error, so please just remove the type usage.
type FormValues = {
-  select: NestedValue<{
-    nested: string
-  }>
+  select: {
+    nested: string
+  }
}
type Data = UnpackNestedValue<FieldValues>

  • formState's errors is now mapped/merged with FieldError
  • UseFormHandleSubmit has removed unused function generic

[7.32.0] - 2022-6-10

Changed

  • UseFormRegisterReturn name type change from string to TFieldName

[7.31.0] - 2022-5-11

Added

  • new: reset optional prop: keepDirtyValues
reset(
  {
    firstName: 'bill', // if firstName is dirty then the value will be retained
    lastName: 'luo',
  },
  { keepDirtyValues: true }, // keep any changed field
);

Changed

... (truncated)

Commits

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 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.15.3 to 7.33.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.15.3...v7.33.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jul 1, 2022
@vercel
Copy link

vercel bot commented Jul 1, 2022

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

Name Status Preview Updated
smart-gate ✅ Ready (Inspect) Visit Preview Jul 1, 2022 at 7:11AM (UTC)

@cypress
Copy link

cypress bot commented Jul 1, 2022



Test summary

9 0 0 0


Run details

Project e2e
Status Passed
Commit 0225eea ℹ️
Started Jul 1, 2022 7:15 AM
Ended Jul 1, 2022 7:15 AM
Duration 00:33 💡
OS Linux Debian - 10.5
Browser Electron 91

View run in Cypress Dashboard ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 1, 2022

Superseded by #632.

@dependabot dependabot bot closed this Dec 1, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/dev/react-hook-form-7.33.0 branch December 1, 2022 07:25
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