这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@dependabot-preview
Copy link
Contributor

Bumps react-hook-form from 6.14.1 to 7.12.0.

Release notes

Sourced from react-hook-form's releases.

Version 7.12.0

⌚ UX: useForm config delayError (#5935)

useForm({
  delayError: 500 // delay error appear with 500ms
})

⌨️ stricter type check on onChange event type (#6030) 🐞 fix #6035 issue with Controller select toggle inValid state (#6069) 🐞 fix #6055 missing dirtyFields subscribe in useFieldArray actions (#6059) 🐞 fix #6052 miss marking controller as mounted (#6053)

Version 7.11.1

🐛 fix #5944 reset issue with unmounted useFieldArray (#5954) 🐛 fix #5942 case when value is supplied as null/undefined ⌨️ close #5928 improve useWatch and watch types (#5945) 🎮 fix #5936 regression with controller value transform (#5937)

Version 7.11.0

🚅 update method for useFieldArray (#5835)

const { update } = useFieldArray();
update(0, data); // update an individual field array node

🔄 fix #5911 issue with reset clear flag for Controller (#5912) ⌨️ fix #5839 issue with null type with deepMap (#5896) 🚌 close #5857 setValue missing await with trigger validation (#5859) 👨🏻‍💻 chore: allow readonly tuple in useWatch generic params (#5845)

Version 7.10.1

🗝️ fix #5808 DeepMap extend issue with File (#5813) 🕵️ fix #5816 variable name typo in useController

Version 7.10.0

🍌 deprecated defaultValue at useFieldArray as a required prop (#5636)

function Test() {
  const { control, register } = useForm();
  const { fields, append, prepend, remove, swap, move, insert } = useFieldArray({
    control,
    name: "test",
  });
return (
{fields.map((field, index) => (
</tr></table>

... (truncated)

Changelog

Sourced from react-hook-form's changelog.

[7.12.0] - 2021-07-24

Add

  • new useForm config delayError
useForm({
  delayError: 500, // delay error appear with 500ms
});

[7.11.0] - 2021-07-13

Add

  • update method to update an field array inputs
const { update } = useFieldArray();
update(0, data); // update an individual field array node

[7.10.0] - 2021-07-02

Changed

  • defaultValue is no longer a required prop for register input with useFieldArray

[7.9.0] - 2021-06-19

Add

  • new config at useForm to enabled native browser validation
const { register, handleSubmit } = useForm({
  shouldUseNativeValidation: true,
});

[7.8.5] - 2021-06-15

Change

  • useController no longer access input ref except focus event for focus management

[7.8.0] - 2021-06-5

... (truncated)

Commits
  • 64cca4c 7.12.0
  • 8ef53cc 🐞 fix #6035 issue with Controller select toggle inValid state (#6069)
  • bff550b ❤️ thank you GraphCMS for sponsoring
  • b4423c5 👨🏻‍💻 revert feature request template
  • edf936f 👨🏻‍💻 update issue/feature request ttemplate
  • 94099e8 👨🏻‍💻 create bug report form
  • 3c41f1f 🐞 fix #6055 missing dirtyFields subscribe in useFieldArray actions (#6059)
  • 4a613ff ⌨️ stricter type check on onChange event type (#6030)
  • e32797b 🐞 fix #6052 miss marking controller as mounted (#6053)
  • bb1fbf2 Revert "🐞 fix #6040 set up defaultValue for nested field array (#6041)"
  • 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 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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Jul 27, 2021
@dependabot-preview dependabot-preview bot requested a review from matthewdias July 27, 2021 00:32
@dependabot-preview
Copy link
Contributor Author

Superseded by #693.

@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/react-hook-form-7.12.0 branch July 28, 2021 00:32
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