Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

Commit c384757

Browse files
build(deps): Bump react-hook-form from 7.39.0 to 7.41.3 in /api-editor/gui (#1167)
Bumps [react-hook-form](https://github.com/react-hook-form/react-hook-form) from 7.39.0 to 7.41.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/react-hook-form/react-hook-form/releases">react-hook-form's releases</a>.</em></p> <blockquote> <h2>Version 7.41.3</h2> <p>💁‍♂️ close <a href="https://github-redirect.dependabot.com/react-hook-form/react-hook-form/issues/9684">#9684</a> revert <code>UnPackAsyncDefaultValues</code> to avoid TS breaking change</p> <h2>Version 7.41.2</h2> <p>🤦🏻‍♂️fix <a href="https://github-redirect.dependabot.com/react-hook-form/react-hook-form/issues/9661">#9661</a> regression on required valueAsNumber (<a href="https://github-redirect.dependabot.com/react-hook-form/react-hook-form/issues/9662">#9662</a>)</p> <h2>🎅 Version 7.41.1</h2> <p>🐞 fix <a href="https://github-redirect.dependabot.com/react-hook-form/react-hook-form/issues/9659">#9659</a> NaN prevent validation update (<a href="https://github-redirect.dependabot.com/react-hook-form/react-hook-form/issues/9660">#9660</a>) 🕯️ close <a href="https://github-redirect.dependabot.com/react-hook-form/react-hook-form/issues/9524">#9524</a> <code>useWatch</code> return undefined value (<a href="https://github-redirect.dependabot.com/react-hook-form/react-hook-form/issues/9653">#9653</a>) 📖 adjust contributing document (<a href="https://github-redirect.dependabot.com/react-hook-form/react-hook-form/issues/9641">#9641</a>) 💆🏻 fix <a href="https://github-redirect.dependabot.com/react-hook-form/react-hook-form/issues/9621">#9621</a> with the inline default value (<a href="https://github-redirect.dependabot.com/react-hook-form/react-hook-form/issues/9622">#9622</a>) 🩻 docs: update contribution guidelines (<a href="https://github-redirect.dependabot.com/react-hook-form/react-hook-form/issues/9605">#9605</a>)</p> <p>thanks to <a href="https://github.com/Mini-ghost"><code>@​Mini-ghost</code></a> and <a href="https://github.com/stefanpl"><code>@​stefanpl</code></a></p> <h2>🎄 Version 7.41.0</h2> <h3>👉 <strong>NEW</strong> <code>values</code> props</h3> <p>The following syntax will react to <code>values</code> prop update/changes.</p> <ul> <li>values will be reactive to update/change and reset accordingly</li> <li>provide a reset option to keep dirty/touched values potentially</li> </ul> <pre lang="tsx"><code>const values = await fetch('API') <p>useForm({ values, // will reset the form when values updates // resetOptions: { // keepDirtyValues: true // } }) </code></pre></p> <hr /> <h3>👉 <strong>NEW</strong> async <code>defaultValues</code> props</h3> <p>The following syntax will support async <code>defaultValues</code>, so we will manage the <code>reset</code> form internally and update <code>formState</code> accordingly.</p> <ul> <li>promise will only be resolved once during <code>useForm()</code> call</li> <li>It's possible to supply <code>resetOptions</code> as well</li> </ul> <pre lang="tsx"><code>const { formState: { isLoading } } = useForm({ defaultValues: fetch('API') // resetOptions: { // keepDirtyValues: true // } }) &lt;/tr&gt;&lt;/table&gt; </code></pre> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md">react-hook-form's changelog</a>.</em></p> <blockquote> <h1>Changelog</h1> <h2>[7.40.0] - 2022-11-30</h2> <h2>Changed</h2> <ul> <li>async validation (or combined with sync) will always the take the latest validation result and abort the previous</li> </ul> <h2>[7.39.5] - 2022-11-21</h2> <h2>Changed</h2> <ul> <li>Conditional render <code>useFormState</code> will trigger an extra re-render to reflect the current <code>formState</code></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/react-hook-form/react-hook-form/commit/1647bb2295ef4f7633b0e30c2158dac9e0a2898a"><code>1647bb2</code></a> 7.41.3</li> <li><a href="https://github.com/react-hook-form/react-hook-form/commit/0af8b0048606a6adc1c07c3dbf13e3e3066caab1"><code>0af8b00</code></a> 💁‍♂️ close <a href="https://github-redirect.dependabot.com/react-hook-form/react-hook-form/issues/9684">#9684</a> revert <code>UnPackAsyncDefaultValues</code> to avoid TS breaking chang...</li> <li><a href="https://github.com/react-hook-form/react-hook-form/commit/1af256312e4f098d94c076e7403ce43055fbfb4a"><code>1af2563</code></a> 7.41.2</li> <li><a href="https://github.com/react-hook-form/react-hook-form/commit/d9b70a89e63b722dec3c02c9be5b99cf17d5e2ab"><code>d9b70a8</code></a> 🤦🏻‍♂️fix <a href="https://github-redirect.dependabot.com/react-hook-form/react-hook-form/issues/9661">#9661</a> regression on required valueAsNumber (<a href="https://github-redirect.dependabot.com/react-hook-form/react-hook-form/issues/9662">#9662</a>)</li> <li><a href="https://github.com/react-hook-form/react-hook-form/commit/508ddc865893e5b67fa7ddca277b27fd0a614ba0"><code>508ddc8</code></a> 7.41.1</li> <li><a href="https://github.com/react-hook-form/react-hook-form/commit/48e1b3c57dc3bacc9b79b125323952cbedf4a4e6"><code>48e1b3c</code></a> 🐞 fix <a href="https://github-redirect.dependabot.com/react-hook-form/react-hook-form/issues/9659">#9659</a> <code>NaN</code> prevent validation update (<a href="https://github-redirect.dependabot.com/react-hook-form/react-hook-form/issues/9660">#9660</a>)</li> <li><a href="https://github.com/react-hook-form/react-hook-form/commit/0246e8d180104ebc94b75d51e2a404a2f7411cc0"><code>0246e8d</code></a> 🕯️ close <a href="https://github-redirect.dependabot.com/react-hook-form/react-hook-form/issues/9524">#9524</a> useWatch return undefined value (<a href="https://github-redirect.dependabot.com/react-hook-form/react-hook-form/issues/9653">#9653</a>)</li> <li><a href="https://github.com/react-hook-form/react-hook-form/commit/eb30119eb1b162368952d94470927753d17c1db3"><code>eb30119</code></a> 📖 adjust contributing document (<a href="https://github-redirect.dependabot.com/react-hook-form/react-hook-form/issues/9641">#9641</a>)</li> <li><a href="https://github.com/react-hook-form/react-hook-form/commit/cf5a81f8452d310d7df37157f25cf07b634a5006"><code>cf5a81f</code></a> 💆🏻 fix <a href="https://github-redirect.dependabot.com/react-hook-form/react-hook-form/issues/9621">#9621</a> with inline default value (<a href="https://github-redirect.dependabot.com/react-hook-form/react-hook-form/issues/9622">#9622</a>)</li> <li><a href="https://github.com/react-hook-form/react-hook-form/commit/cc2a96e7c6bed88af566c2d27cfdcc35a5286ca8"><code>cc2a96e</code></a> 🩻 docs: update contribution guidelines (<a href="https://github-redirect.dependabot.com/react-hook-form/react-hook-form/issues/9605">#9605</a>)</li> <li>Additional commits viewable in <a href="https://github.com/react-hook-form/react-hook-form/compare/v7.39.0...v7.41.3">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=react-hook-form&package-manager=npm_and_yarn&previous-version=7.39.0&new-version=7.41.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 1507cc9 commit c384757

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

api-editor/gui/package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api-editor/gui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"react-chartjs-2": "^4.3.1",
3131
"react-dom": "^18.2.0",
3232
"react-dropzone": "^14.2.3",
33-
"react-hook-form": "^7.39.0",
33+
"react-hook-form": "^7.41.3",
3434
"react-icons": "^4.6.0",
3535
"react-markdown": "^8.0.3",
3636
"react-redux": "^8.0.4",

0 commit comments

Comments
 (0)