Skip to content
This repository has been archived by the owner on Jul 6, 2024. It is now read-only.

[Snyk] Upgrade react-hook-form from 7.27.1 to 7.44.3 #48

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

Conversation

peterleiva
Copy link
Owner

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.27.1 to 7.44.3.

ℹ️ 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 70 versions ahead of your current version.
  • The recommended version was released a month ago, on 2023-06-01.
Release notes
Package name: react-hook-form
  • 7.44.3 - 2023-06-01

    🦉 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

  • 7.44.3-beta.1 - 2023-05-31
  • 7.44.3-beta.0 - 2023-05-31

    7.44.3-beta.0

  • 7.44.2 - 2023-05-28

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

  • 7.44.1 - 2023-05-27

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

  • 7.44.0 - 2023-05-27

    📄 New <Form /> Component (#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 (#10322)

    useFormContext<FormValue, TransformedValues>()

    🚔 added TTransformedValues to FormProvider (#10368)

    FormProviderProps<TFieldValues, TContext, TTransformedValues>

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

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

  • 7.44.0-rc.5 - 2023-05-20

    7.44.0-rc.5

  • 7.44.0-rc.4 - 2023-05-20

    👔 Improve Form component onSubmit and remove fetcher prop (#10425)

    <Form 
    -  fetcher={(...) => {}}
    +  onSubmit={await ({ formData, data, event }) => {
    +    await fetch('/api', { body: formData, method: 'post' })
    +  }} 
    />
    // With action prop, it achieve the same as above
    <Form action="/api" />

    😵‍💫 close #10386 re-register controller input to fix strict mode (#10418)
    ✍️ update form.tsx for TSdoc (#10399)

  • 7.44.0-rc.3 - 2023-05-07

    🐞 fix #9037 bugs that occur in the presence of Array polyfills (#10328)
    🚔 added TTransformedValues to FormProvider (#10368)

    FormProviderProps<TFieldValues, TContext, TTransformedValues>
    

    🫥 close #10348 stop shouldUseNativeValidation pass down constraint props (#10350)

    thanks to @ yasamoka & @ Torvin

  • 7.44.0-rc.1 - 2023-04-15
    Read more
  • 7.44.0-rc.0 - 2023-03-10
  • 7.44.0-next.1 - 2023-02-16
  • 7.44.0-next.0 - 2023-02-09
  • 7.43.9 - 2023-03-30
  • 7.43.8 - 2023-03-24
  • 7.43.7 - 2023-03-18
  • 7.43.6 - 2023-03-17
  • 7.43.5 - 2023-03-06
  • 7.43.4 - 2023-03-03
  • 7.43.3 - 2023-03-01
  • 7.43.2 - 2023-02-22
  • 7.43.1 - 2023-02-07
  • 7.43.0 - 2023-01-30
  • 7.43.0-next.0 - 2023-01-18
  • 7.42.1 - 2023-01-15
  • 7.42.0 - 2023-01-13
  • 7.42.0-next.0 - 2023-01-01
  • 7.41.8-beta.0 - 2023-01-04
  • 7.41.5 - 2023-01-04
  • 7.41.4 - 2023-01-03
  • 7.41.3 - 2022-12-30
  • 7.41.2 - 2022-12-28
  • 7.41.1 - 2022-12-23
  • 7.41.0 - 2022-12-16
  • 7.40.0 - 2022-11-29
  • 7.40.0-next.1 - 2022-11-23
  • 7.40.0-next.0 - 2022-11-17
  • 7.39.7 - 2022-11-28
  • 7.39.6 - 2022-11-27
  • 7.39.5 - 2022-11-21
  • 7.39.4 - 2022-11-14
  • 7.39.3 - 2022-11-10
  • 7.39.2 - 2022-11-09
  • 7.39.1 - 2022-11-02
  • 7.39.0 - 2022-11-01
  • 7.38.0 - 2022-10-18
  • 7.37.0 - 2022-10-06
  • 7.37.0-next.0 - 2022-09-29
  • 7.36.1 - 2022-09-23
  • 7.36.0 - 2022-09-20
  • 7.35.0 - 2022-09-09
  • 7.35.0-next.0 - 2022-08-25
  • 7.34.2 - 2022-08-15
  • 7.34.1 - 2022-08-12
  • 7.34.0 - 2022-07-28
  • 7.34.0-next.0 - 2022-07-10
  • 7.33.1 - 2022-07-01
  • 7.33.0 - 2022-06-24
  • 7.32.2 - 2022-06-17
  • 7.32.1 - 2022-06-14
  • 7.32.0 - 2022-06-10
  • 7.31.3 - 2022-05-27
  • 7.31.2 - 2022-05-20
  • 7.31.1 - 2022-05-10
  • 7.31.0 - 2022-05-10
  • 7.30.0 - 2022-04-17
  • 7.29.0 - 2022-03-30
  • 7.28.1 - 2022-03-20
  • 7.28.0 - 2022-03-13
  • 7.28.0-next.0 - 2022-02-26
  • 7.27.1 - 2022-02-19
from react-hook-form GitHub release notes
Commit messages
Package name: react-hook-form
  • c22761f 7.44.3
  • 8b3c76b 🦉 fix: add named component export (#10486)
  • 83f79dd 💭 fix React import inconsistency (#10479)
  • 0ab6b15 🏙️ fix: removed code from the README updater which was trying to read a non-existent `docs/Helpers.yaml` (#10471)
  • 58732db 📝 fix doc: update urls from /api to /docs (#10468)
  • 335659c 7.44.2
  • 92be5ca 🪟 fix #10456 `object.hasown` replaced with `hasOwnProperty` (#10458)
  • d928728 7.44.1
  • ba03685 🐞 fix <Form /> component content-type json type missing (#10454)
  • 11fa730 7.44.0
  • 38a24d2 📝 update <Form /> component support `encType` with json (#10452)
  • f416613 📝 improve <Form /> type (#10448)
  • ace2713 ❤️ thank you Mirakl for sponsoring the project
  • fc51127 7.44.0-rc.5
  • 7873189 Revert "🧛‍♂️ close #10277 remove pattern empty string check (#10279)"
  • 3f2838e 💆🏻 remove .only for Form tests
  • b6d9454 7.44.0-rc.4
  • c6ba96c 👔 Improve Form component `onSubmit` and remove `fetcher` (#10425)
  • ccc42df 😵‍💫 close #10386 re-register controller input to fix strict mode (#10418)
  • bc0f67e ❤️ thank you FabForm.io for sponsoring! (#10403)
  • d8e23a6 ✍️ update form.tsx for TSdoc (#10399)
  • ddc1e44 7.44.0-rc.3
  • e659e78 🚔 added TTransformedValues to FormProvider (#10368)
  • edc4cec 🫥 close #10348 stop shouldUseNativeValidation pass down constraint props (#10350)

Compare


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

@vercel
Copy link

vercel bot commented Jul 4, 2023

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

Name Status Preview Comments Updated (UTC)
community ❌ Failed (Inspect) Jul 4, 2023 8:26pm

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants