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

Update dependency react-hook-form to v7.44.3 #297

Merged
merged 1 commit into from
Jun 13, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 13, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
react-hook-form (source) 7.43.9 -> 7.44.3 age adoption passing confidence

Release Notes

react-hook-form/react-hook-form

v7.44.3: Version 7.44.3

Compare Source

🦉 fix: add named component export (#​10486)
💭 fix React import inconsistency (#​10479)
🏙️ fix: removed code from the README updater which was trying to read a non-existent docs/Helpers.yaml
📝 fix doc: update urls from /api to /docs (#​10468)

thanks to @​Moshyfawn @​@​protofarer @​farfromrest

v7.44.2: Version 7.44.2

Compare Source

🪟 fix #​10456 object.hasown replaced with hasOwnProperty (#​10458)

v7.44.1: Version 7.44.1

Compare Source

🐞 fix <Form /> component content-type json type missing (#​10454)

v7.44.0: Version 7.44.0

Compare Source

📄 New <Form /> Component (https://github.com/react-hook-form/react-hook-form/pull/9735)

https://react-hook-form.com/docs/useform/form

  • add try and catch for JSON.stringify
// Send post request with formData
<Form
  action="/api"
  control={control}
  onSuccess={() => {
    alert("Great");
  }}
/>

// Send post request with json form data
<Form action="/api" encType="application/json" headers={{ accessToken: 'test' }}> 
  {errors.root?.server.type === 500 && 'Error message'}
  {errors.root?.server.type === 400 && 'Error message'}
</Form>

// Send post request with formData with fetch
<Form
  onSubmit={async ({ formData, data, formDataJson, event }) => {
    await fetch("api", {
      method: "post",
      body: formData,
    });
  }}
/>

🗝️ support TransformedValues with useFormContext (https://github.com/react-hook-form/react-hook-form/pull/10322)

useFormContext<FormValue, TransformedValues>()

🚔 added TTransformedValues to FormProvider (https://github.com/react-hook-form/react-hook-form/pull/10368)

FormProviderProps<TFieldValues, TContext, TTransformedValues>

🐞 fix https://github.com/react-hook-form/react-hook-form/issues/10139 with errors diff from the previous with field array action (https://github.com/react-hook-form/react-hook-form/pull/10216)
🐞 related https://github.com/react-hook-form/react-hook-form/issues/10238 return default values in watch and useWatch when reset is called with an empty object
🦮 remove unnecessary as unknown as cast (https://github.com/react-hook-form/react-hook-form/pull/10300)
🧛‍♂️ close https://github.com/react-hook-form/react-hook-form/issues/10277 remove pattern empty string check (https://github.com/react-hook-form/react-hook-form/pull/10279)
🐞 fix https://github.com/react-hook-form/react-hook-form/issues/9037 bugs that occur in the presence of Array polyfills (https://github.com/react-hook-form/react-hook-form/pull/10328)
🫥 close https://github.com/react-hook-form/react-hook-form/issues/10348 stop shouldUseNativeValidation pass down constraint props (https://github.com/react-hook-form/react-hook-form/pull/10350)
😵‍💫 close https://github.com/react-hook-form/react-hook-form/issues/10386 re-register controller input to fix strict mode (https://github.com/react-hook-form/react-hook-form/pull/10418)
✍️ update form.tsx for TSdoc (https://github.com/react-hook-form/react-hook-form/pull/10399)

thanks to @​yasamoka & @​Torvin @​ryota-murakami & @​devakrishna33


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from a team as a code owner June 13, 2023 16:16
@renovate renovate bot temporarily deployed to dev June 13, 2023 16:16 Inactive
@renovate renovate bot temporarily deployed to staging June 13, 2023 16:16 Inactive
@renovate renovate bot temporarily deployed to staging June 13, 2023 16:17 Inactive
@renovate renovate bot temporarily deployed to dev June 13, 2023 16:19 Inactive
@renovate renovate bot temporarily deployed to dev June 13, 2023 16:19 Inactive
@renovate renovate bot temporarily deployed to dev June 13, 2023 16:19 Inactive
@renovate renovate bot temporarily deployed to dev June 13, 2023 16:19 Inactive
@renovate renovate bot temporarily deployed to dev June 13, 2023 16:19 Inactive
@fkoulen fkoulen enabled auto-merge June 13, 2023 16:21
@cypress
Copy link

cypress bot commented Jun 13, 2023

Passing run #157 ↗︎

0 116 0 0 Flakiness 0

Details:

Update dependency react-hook-form to v7.44.3
Project: The Rhapsodies Commit: 027cd4d415
Status: Passed Duration: 02:45 💡
Started: Jun 13, 2023 4:45 PM Ended: Jun 13, 2023 4:48 PM

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.

@renovate renovate bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from b5e7780 to 07ceee7 Compare June 13, 2023 16:32
@renovate renovate bot temporarily deployed to staging June 13, 2023 16:32 Inactive
@renovate renovate bot temporarily deployed to dev June 13, 2023 16:32 Inactive
@renovate renovate bot temporarily deployed to staging June 13, 2023 16:32 Inactive
@renovate renovate bot temporarily deployed to dev June 13, 2023 16:34 Inactive
@renovate renovate bot temporarily deployed to dev June 13, 2023 16:34 Inactive
@renovate renovate bot temporarily deployed to dev June 13, 2023 16:34 Inactive
@renovate renovate bot temporarily deployed to dev June 13, 2023 16:34 Inactive
@sonarcloud
Copy link

sonarcloud bot commented Jun 13, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@renovate renovate bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 07ceee7 to 027cd4d Compare June 13, 2023 16:40
@renovate renovate bot temporarily deployed to staging June 13, 2023 16:40 Inactive
@renovate renovate bot temporarily deployed to dev June 13, 2023 16:40 Inactive
@renovate renovate bot temporarily deployed to staging June 13, 2023 16:40 Inactive
@renovate renovate bot temporarily deployed to dev June 13, 2023 16:42 Inactive
@renovate renovate bot temporarily deployed to dev June 13, 2023 16:42 Inactive
@renovate renovate bot temporarily deployed to dev June 13, 2023 16:42 Inactive
@renovate renovate bot temporarily deployed to dev June 13, 2023 16:42 Inactive
@renovate renovate bot temporarily deployed to dev June 13, 2023 16:42 Inactive
@github-actions
Copy link

Preview can be found at https://the-rhapsodies-71cn6jvl3-the-rhapsodies.vercel.app

@fkoulen fkoulen disabled auto-merge June 13, 2023 16:50
@fkoulen fkoulen merged commit f2a3f65 into dev Jun 13, 2023
@fkoulen fkoulen deleted the renovate/react-hook-form-7.x-lockfile branch June 13, 2023 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant