Skip to content
This repository has been archived by the owner on Dec 12, 2020. It is now read-only.

Bump react-hook-form from 5.2.0 to 6.13.0 #188

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot-preview[bot]
Copy link

Bumps react-hook-form from 5.2.0 to 6.13.0.

Release notes

Sourced from react-hook-form's releases.

Version 6.13.0

🌟 custom hook: useController (#3488)

import React from "react";
import { useController } from "react-hook-form";
function Input({ control, name }) {
const {
field,
state: { invalid, isTouched, isDirty },
} = useController({
name,
control,
rules: { required: true },
});
return <input {...field} />;
}

👨🏻‍💻 fix #3613 shouldUnregister:false with append deep clone object (#3614) 🐞 fix #3617 remove fields from append dep (#3618) 👨🏻‍💻 close #3628 reset inconsistency with different shouldUnregister mode (#3633) ⌨️ fix #3593 Map type for NestedValue (#3616) 😿 #1680 fix unmount warning on dev build (#3645) 👻 fix #3651 setValue with shouldUnregister:false with deep clone object (#3652) 🤖 change from deepClone to shallowClone with defaultValues's reset (#3607)

Version 6.12.2

🐞 fix 3577 issue with Controller register at FieldArray (#3583) 🤜 improve useFieldArray fast refresh (#3576) 🐞 fix input range max/min validation (#3575) 🤝 make cloneObject work in both Node & browsers (#3571)

Version 6.12.1

🐞 fix controller register issue with field array (#3561) 🐞 fix fast refresh (#3559) 🐞 fix #3539 issue with JSX deepEqual (#3558) 👨🏻‍💻 improve DX with field array and fast refresh (#3551)

Version 6.12.0

⭐️ feature: valueAsNumber, valueAsDate & setValueAs (#3489)

register({ valueAsNumber: true });
register({ valueAsDate: true });
register({ setValueAs: (date) => data });

🤖 enhance #3439 with useWatch default value after reset (#3505)

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)
  • @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 the .dependabot/config.yml file in this repo:

  • Update frequency
  • 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 Dec 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants