[Snyk] Upgrade react-hook-form from 7.30.0 to 7.31.0
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade react-hook-form from 7.30.0 to 7.31.0.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
- The recommended version is 1 version ahead of your current version.
- The recommended version was released 22 days ago, on 2022-05-10.
Release notes
Package name: react-hook-form
-
7.31.0 - 2022-05-10
๐ reset optional prop: keepDirtyValues (#8237)reset( { firstName: "bill", // if firstName is dirty then the value will be retained lastName: "luo" }, { keepDirtyValues: true } // keep any changed field );
๐ฉโ๐ง close #8324 auto-correct field array errors on user action (#8325)const { append } = useFieldArray()append({ data: '' }) // will auto correct existing field array errors if any
๐ fix: clone objects which have functions (#8301)
๐ fix name of a new option in 6.12.0 change-log notes (#8335)thanks to @ Moshyfawn @ airman5573 @ TkDodo and @ MasterOdin
-
7.30.0 - 2022-04-17
Notes
๐ฃ determine checkbox group bydefaultValuesset as array value (#7938)useForm({ defaultValues: { checkboxes: [], // register checkbox will be determine as array of checkboxes }, }); register('checkboxes'); // will return array as value
๐งช improve test cases with checkbox default value as array (#7501)
๐ add fieldState invalid depreciation note (#8202)
โ improve getNodeParentName missing case(s) (#8181)
๐จ support field array parents with numbers in name (#8167)
๐ improve lib tests cases (#8155)Contributors
Thanks to contributors below
โค๏ธ
Commit messages
Package name: react-hook-form
- 248c7c7 7.31.0
- 2921bfe โค๏ธ thank you Roger Lee for sponsoring the project
- c113147 ๐ fix name of new option in 6.12.0 change-log notes (#8335)
- 5bb2024 ๐ฉโ๐ง close #8324 auto correct field array errors on user action (#8325)
- b8a030e ๐งช include function test at the root level for cloneObject
- 7d959ee ๐ง fix clone object with skip function clone (#8306)
- ec45ed4 ๐ remove reference for blob and filelist (#8305)
- d38c1ce ๐ fix: clone object which have functions (#8301)
- 553f8d6 Resolve async pkg dep of cypress to patch ver (#8288)
- 2f69568 ๐ง eslint: allow unused spread siblings (#8287)
- 000801c ๐ท update app vulnerability dependency (#8285)
- 558c441 ๐ use bundlewatch instead of bundlesize (#8289)
- a6df008 ๐ตโ๐ซ remove ts-nocheck
- 394ae5d ๐ `reset` optional prop: `keepDirtyValues` (#8237)
- 13749bd ๐ ci: fix csb folder name (#8249)
- 7c5009f โค๏ธ thank you wantedly for sponsoring the project
- 31e21ba ๐ ci: Generate package builds on PR (#8221)
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
๐ง View latest project report
๐ Adjust upgrade PR settings
๐ Ignore this dependency or unsubscribe from future upgrade PRs