Skip to content

Commit

Permalink
deps(example): bump the dependencies group across 1 directory with 13…
Browse files Browse the repository at this point in the history
… updates (#2553)

Bumps the dependencies group with 13 updates in the /examples/nextjs-react-hook-form directory:

| Package | From | To |
| --- | --- | --- |
| [@arcjet/next](https://github.com/arcjet/arcjet-js/tree/HEAD/arcjet-next) | `1.0.0-alpha.33` | `1.0.0-alpha.34` |
| [lucide-react](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react) | `0.462.0` | `0.468.0` |
| [next](https://github.com/vercel/next.js) | `15.0.3` | `15.1.0` |
| [next-themes](https://github.com/pacocoursey/next-themes) | `0.4.3` | `0.4.4` |
| [react](https://github.com/facebook/react/tree/HEAD/packages/react) | `18.3.1` | `19.0.0` |
| [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) | `18.3.12` | `19.0.1` |
| [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom) | `18.3.1` | `19.0.0` |
| [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) | `18.3.1` | `19.0.2` |
| [react-hook-form](https://github.com/react-hook-form/react-hook-form) | `7.53.2` | `7.54.0` |
| [zod](https://github.com/colinhacks/zod) | `3.23.8` | `3.24.1` |
| [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) | `7.18.0` | `8.18.0` |
| [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) | `15.0.3` | `15.1.0` |
| [tailwindcss](https://github.com/tailwindlabs/tailwindcss) | `3.4.15` | `3.4.16` |


Updates `@arcjet/next` from 1.0.0-alpha.33 to 1.0.0-alpha.34
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/arcjet/arcjet-js/releases"><code>@​arcjet/next</code>'s releases</a>.</em></p>
<blockquote>
<h2>v1.0.0-alpha.34</h2>
<h2><a href="https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.33...v1.0.0-alpha.34">1.0.0-alpha.34</a> (2024-12-03)</h2>
<h3>⚠ BREAKING CHANGES</h3>
<ul>
<li><strong>nosecone:</strong> Remove <code>upgradeInsecureRequests</code> default value (<a href="https://redirect.github.com/arcjet/arcjet-js/issues/2401">#2401</a>)</li>
</ul>
<h3>🚀 New Features</h3>
<ul>
<li><strong>ip:</strong> Allow trusted proxies to exclude when looking for global IP (<a href="https://redirect.github.com/arcjet/arcjet-js/issues/2393">#2393</a>) (<a href="https://github.com/arcjet/arcjet-js/commit/58286b72d456236e85bdd0c975b007e081dcac5a">58286b7</a>)</li>
<li><strong>nosecone-next:</strong> Keep <code>'self'</code> script-src in defaults (<a href="https://redirect.github.com/arcjet/arcjet-js/issues/2378">#2378</a>) (<a href="https://github.com/arcjet/arcjet-js/commit/13348c8a771a167f970cfa68d6c57f1c6288447b">13348c8</a>)</li>
<li>Support trusted proxy configuration on each adapter (<a href="https://redirect.github.com/arcjet/arcjet-js/issues/2394">#2394</a>) (<a href="https://github.com/arcjet/arcjet-js/commit/f9587d8ec6bd0327cb34ac19e52aeecbf6b79cf3">f9587d8</a>), closes <a href="https://redirect.github.com/arcjet/arcjet-js/issues/2346">#2346</a></li>
</ul>
<h3>🪲 Bug Fixes</h3>
<ul>
<li><strong>nosecone:</strong> Remove <code>upgradeInsecureRequests</code> default value (<a href="https://redirect.github.com/arcjet/arcjet-js/issues/2401">#2401</a>) (<a href="https://github.com/arcjet/arcjet-js/commit/093dc53459c187955781997446df98e5d190fca3">093dc53</a>)</li>
</ul>
<h3>📝 Documentation</h3>
<ul>
<li>Add nosecone section to root README (<a href="https://redirect.github.com/arcjet/arcjet-js/issues/2404">#2404</a>) (<a href="https://github.com/arcjet/arcjet-js/commit/4674fa41d8ed2bace58ea66bed8a138c4f52a167">4674fa4</a>)</li>
</ul>
<h3>🧹 Miscellaneous Chores</h3>
<ul>
<li><strong>nosecone:</strong> Add JSDoc comments to NoseconeOptions (<a href="https://redirect.github.com/arcjet/arcjet-js/issues/2380">#2380</a>) (<a href="https://github.com/arcjet/arcjet-js/commit/53ec4eb96fd742dec7a23cd8abd2722b77c537b8">53ec4eb</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/arcjet/arcjet-js/blob/main/arcjet-next/CHANGELOG.md"><code>@​arcjet/next</code>'s changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.33...@arcjet/next-v1.0.0-alpha.34">1.0.0-alpha.34</a> (2024-12-03)</h2>
<h3>🚀 New Features</h3>
<ul>
<li>Support trusted proxy configuration on each adapter (<a href="https://redirect.github.com/arcjet/arcjet-js/issues/2394">#2394</a>) (<a href="https://github.com/arcjet/arcjet-js/commit/f9587d8ec6bd0327cb34ac19e52aeecbf6b79cf3">f9587d8</a>), closes <a href="https://redirect.github.com/arcjet/arcjet-js/issues/2346">#2346</a></li>
</ul>
<h3>Dependencies</h3>
<ul>
<li>The following workspace dependencies were updated
<ul>
<li>dependencies
<ul>
<li><code>@​arcjet/env</code> bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34</li>
<li><code>@​arcjet/headers</code> bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34</li>
<li><code>@​arcjet/ip</code> bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34</li>
<li><code>@​arcjet/logger</code> bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34</li>
<li><code>@​arcjet/protocol</code> bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34</li>
<li><code>@​arcjet/transport</code> bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34</li>
<li>arcjet bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34</li>
</ul>
</li>
<li>devDependencies
<ul>
<li><code>@​arcjet/eslint-config</code> bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34</li>
<li><code>@​arcjet/rollup-config</code> bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34</li>
<li><code>@​arcjet/tsconfig</code> bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34</li>
</ul>
</li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/arcjet/arcjet-js/commit/f8a80a77f7187c2eb958405995552a8f3d579d5d"><code>f8a80a7</code></a> chore: Release 1.0.0-alpha.34 (<a href="https://github.com/arcjet/arcjet-js/tree/HEAD/arcjet-next/issues/2392">#2392</a>)</li>
<li><a href="https://github.com/arcjet/arcjet-js/commit/331e222a81eb5ca1e73cf20c909e46b19b3fc521"><code>331e222</code></a> deps(dev): bump <code>@​rollup/wasm-node</code> from 4.27.4 to 4.28.0 (<a href="https://github.com/arcjet/arcjet-js/tree/HEAD/arcjet-next/issues/2383">#2383</a>)</li>
<li><a href="https://github.com/arcjet/arcjet-js/commit/f9587d8ec6bd0327cb34ac19e52aeecbf6b79cf3"><code>f9587d8</code></a> feat: Support trusted proxy configuration on each adapter (<a href="https://github.com/arcjet/arcjet-js/tree/HEAD/arcjet-next/issues/2394">#2394</a>)</li>
<li>See full diff in <a href="https://github.com/arcjet/arcjet-js/commits/v1.0.0-alpha.34/arcjet-next">compare view</a></li>
</ul>
</details>
<br />

Updates `lucide-react` from 0.462.0 to 0.468.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/lucide-icons/lucide/releases">lucide-react's releases</a>.</em></p>
<blockquote>
<h2>New icons 0.468.0</h2>
<h2>New icons 🎨</h2>
<ul>
<li><code>waves-ladder</code> (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2529">#2529</a>) by <a href="https://github.com/jguddas"><code>@​jguddas</code></a></li>
</ul>
<h2>New icons 0.467.0</h2>
<h2>New icons 🎨</h2>
<ul>
<li><code>scan-heart</code> (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2385">#2385</a>) by <a href="https://github.com/jguddas"><code>@​jguddas</code></a></li>
</ul>
<h2>Modified Icons 🔨</h2>
<ul>
<li><code>book-dashed</code> (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2399">#2399</a>) by <a href="https://github.com/jguddas"><code>@​jguddas</code></a></li>
</ul>
<h2>New icons 0.466.0</h2>
<h2>New icons 🎨</h2>
<ul>
<li><code>list-filter-plus</code> (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2645">#2645</a>) by <a href="https://github.com/abdeniz"><code>@​abdeniz</code></a></li>
</ul>
<h2>Modified Icons 🔨</h2>
<ul>
<li><code>bell-dot</code> (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2656">#2656</a>) by <a href="https://github.com/karsa-mistmere"><code>@​karsa-mistmere</code></a></li>
<li><code>bell-minus</code> (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2656">#2656</a>) by <a href="https://github.com/karsa-mistmere"><code>@​karsa-mistmere</code></a></li>
<li><code>bell-off</code> (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2656">#2656</a>) by <a href="https://github.com/karsa-mistmere"><code>@​karsa-mistmere</code></a></li>
<li><code>bell-plus</code> (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2656">#2656</a>) by <a href="https://github.com/karsa-mistmere"><code>@​karsa-mistmere</code></a></li>
<li><code>bell-ring</code> (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2656">#2656</a>) by <a href="https://github.com/karsa-mistmere"><code>@​karsa-mistmere</code></a></li>
<li><code>bell</code> (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2656">#2656</a>) by <a href="https://github.com/karsa-mistmere"><code>@​karsa-mistmere</code></a></li>
</ul>
<h2>New icons 0.465.0</h2>
<h2>New icons 🎨</h2>
<ul>
<li><code>droplet-off</code> (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2641">#2641</a>) by <a href="https://github.com/jguddas"><code>@​jguddas</code></a></li>
</ul>
<h2>Modified Icons 🔨</h2>
<ul>
<li><code>flask-conical-off</code> (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2659">#2659</a>) by <a href="https://github.com/jamiemlaw"><code>@​jamiemlaw</code></a></li>
<li><code>flask-conical</code> (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2659">#2659</a>) by <a href="https://github.com/jamiemlaw"><code>@​jamiemlaw</code></a></li>
<li><code>flask-round</code> (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2659">#2659</a>) by <a href="https://github.com/jamiemlaw"><code>@​jamiemlaw</code></a></li>
</ul>
<h2>New icons 0.464.0</h2>
<h2>Modified Icons 🔨</h2>
<ul>
<li><code>paperclip</code> (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2482">#2482</a>) by <a href="https://github.com/jguddas"><code>@​jguddas</code></a></li>
<li><code>picture-in-picture</code> (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2481">#2481</a>) by <a href="https://github.com/jguddas"><code>@​jguddas</code></a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/lucide-icons/lucide/commit/4f038d5fe8b13e00031311af6975a43d2d735e9e"><code>4f038d5</code></a> feat(docs): add Bun.sh support to documentation (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2642">#2642</a>)</li>
<li>See full diff in <a href="https://github.com/lucide-icons/lucide/commits/0.468.0/packages/lucide-react">compare view</a></li>
</ul>
</details>
<br />

Updates `next` from 15.0.3 to 15.1.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/vercel/next.js/releases">next's releases</a>.</em></p>
<blockquote>
<h2>v15.1.0</h2>
<h3>Core Changes</h3>
<ul>
<li>fix: decrypt bound args before generating a cache key: <a href="https://redirect.github.com/vercel/next.js/issues/72463">#72463</a></li>
<li>Fix the path to the next/experimental/testing/server export: <a href="https://redirect.github.com/vercel/next.js/issues/72527">#72527</a></li>
<li>Expand <code>server-source-maps</code> scenarios to cover Edge runtime: <a href="https://redirect.github.com/vercel/next.js/issues/72288">#72288</a></li>
<li>Ensure logged errors in Edge runtime include the stack: <a href="https://redirect.github.com/vercel/next.js/issues/72394">#72394</a></li>
<li>fix: added cache control headers for static app routes: <a href="https://redirect.github.com/vercel/next.js/issues/72521">#72521</a></li>
<li>capture console issues as console errors: <a href="https://redirect.github.com/vercel/next.js/issues/72468">#72468</a></li>
<li>Add expireTag and expirePath APIs: <a href="https://redirect.github.com/vercel/next.js/issues/72485">#72485</a></li>
<li>fix: try/catch access to localStorage within __NEXT_APP_ISR_INDICATOR useEffect: <a href="https://redirect.github.com/vercel/next.js/issues/72362">#72362</a></li>
<li>Move client build ID to a global variable: <a href="https://redirect.github.com/vercel/next.js/issues/72592">#72592</a></li>
<li>refactor(turbopack): Remove <code>swc_css</code>: <a href="https://redirect.github.com/vercel/next.js/issues/72602">#72602</a></li>
<li>Bypass source map dev middleware for client chunks: <a href="https://redirect.github.com/vercel/next.js/issues/72581">#72581</a></li>
<li>chore: remove <code>rc</code> from URL: <a href="https://redirect.github.com/vercel/next.js/issues/72599">#72599</a></li>
<li>improve <code>no-img-element</code> lint error message: <a href="https://redirect.github.com/vercel/next.js/issues/72410">#72410</a></li>
<li>Combine bound <code>&quot;use cache&quot;</code> closure args into a single parameter: <a href="https://redirect.github.com/vercel/next.js/issues/72587">#72587</a></li>
<li>[Turbopack] add BackendOptions and allow to disable dependencies, children and storage: <a href="https://redirect.github.com/vercel/next.js/issues/72426">#72426</a></li>
<li>Omit unused args when calling <code>&quot;use cache&quot;</code> functions: <a href="https://redirect.github.com/vercel/next.js/issues/72506">#72506</a></li>
<li>Add experimental <code>clientSegmentCache</code> flag: <a href="https://redirect.github.com/vercel/next.js/issues/72626">#72626</a></li>
<li>Add <code>compiler.define</code> option: <a href="https://redirect.github.com/vercel/next.js/issues/71802">#71802</a></li>
<li>Fix static indicator with dynamicIO: <a href="https://redirect.github.com/vercel/next.js/issues/72631">#72631</a></li>
<li>Allow usage of Node.js prereleases: <a href="https://redirect.github.com/vercel/next.js/issues/72635">#72635</a></li>
<li>improved network url in (dev) cli: <a href="https://redirect.github.com/vercel/next.js/issues/72634">#72634</a></li>
<li>chore: update <code>getting-started/react-essentials</code> path: <a href="https://redirect.github.com/vercel/next.js/issues/72250">#72250</a></li>
<li>Fix static indicator for pure IO case: <a href="https://redirect.github.com/vercel/next.js/issues/72639">#72639</a></li>
<li>Bump the monorepo packages TypeScript to <code>5.6.3</code>: <a href="https://redirect.github.com/vercel/next.js/issues/72625">#72625</a></li>
<li>Bump <code>@capsizecss/metrics</code> to 3.4.0 for Geist Google Font: <a href="https://redirect.github.com/vercel/next.js/issues/72746">#72746</a></li>
<li>refactor: remove unused asNotFound property: <a href="https://redirect.github.com/vercel/next.js/issues/72585">#72585</a></li>
<li>Remove unused <code>enabled</code> config from server actions transforms: <a href="https://redirect.github.com/vercel/next.js/issues/72755">#72755</a></li>
<li>Ensure Next.js is ignore-listed when used as external: <a href="https://redirect.github.com/vercel/next.js/issues/72498">#72498</a></li>
<li>Bump <code>eslint-plugin-react</code> to 7.37.0: <a href="https://redirect.github.com/vercel/next.js/issues/72759">#72759</a></li>
<li>upgrade amphtml-validator to 1.0.38: <a href="https://redirect.github.com/vercel/next.js/issues/72645">#72645</a></li>
<li>fix multi-level redirect in server actions: <a href="https://redirect.github.com/vercel/next.js/issues/72770">#72770</a></li>
<li>refactor: rename error boundary not-found to http-error-fallback: <a href="https://redirect.github.com/vercel/next.js/issues/72586">#72586</a></li>
<li>Upgrade React from <code>5c56b873-20241107</code> to <code>7ac8e612-20241113</code>: <a href="https://redirect.github.com/vercel/next.js/issues/72768">#72768</a></li>
<li>Re-use randomly selected dev server port for automatic restarts: <a href="https://redirect.github.com/vercel/next.js/issues/72771">#72771</a></li>
<li>Emit build error when <code>&quot;use cache&quot;</code> is used without <code>dynamicIO</code> enabled: <a href="https://redirect.github.com/vercel/next.js/issues/72781">#72781</a></li>
<li>fix: not found bounary prop: <a href="https://redirect.github.com/vercel/next.js/issues/72784">#72784</a></li>
<li>silence sass <code>legacy-js-api</code> warning: <a href="https://redirect.github.com/vercel/next.js/issues/72632">#72632</a></li>
<li>[Segment Prefetch] Move access token to route tree: <a href="https://redirect.github.com/vercel/next.js/issues/72775">#72775</a></li>
<li>Add internal affordances to show ignore-listed stackframes in terminal: <a href="https://redirect.github.com/vercel/next.js/issues/72763">#72763</a></li>
<li>chore(turbopack): Centralize reqwest TLS feature configs in turbo-tasks-fetch: <a href="https://redirect.github.com/vercel/next.js/issues/72526">#72526</a></li>
<li>Upgrade React from <code>7ac8e612-20241113</code> to <code>380f5d67-20241113</code>: <a href="https://redirect.github.com/vercel/next.js/issues/72819">#72819</a></li>
<li>Shorten unsourcemapped absolute locations in terminal stacktraces: <a href="https://redirect.github.com/vercel/next.js/issues/72764">#72764</a></li>
<li>codemod: replace <code>revalidate(Tag|Path)</code> to <code>expire(Tag|Path)</code>: <a href="https://redirect.github.com/vercel/next.js/issues/72826">#72826</a></li>
<li>&quot;Fix&quot;: Lift type check out of loop: <a href="https://redirect.github.com/vercel/next.js/issues/72840">#72840</a></li>
<li>hide stack trace in CanaryOnlyError: <a href="https://redirect.github.com/vercel/next.js/issues/72859">#72859</a></li>
<li>Allow missing CacheNodeSeedData during prefetch: <a href="https://redirect.github.com/vercel/next.js/issues/72857">#72857</a></li>
<li>Add Segment Cache feature check to <code>prefetch</code> API: <a href="https://redirect.github.com/vercel/next.js/issues/72861">#72861</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/vercel/next.js/commit/dafcd43fac3ef9d0ffd94f9c94fd61db4449df25"><code>dafcd43</code></a> v15.1.0</li>
<li><a href="https://github.com/vercel/next.js/commit/2deb35d487f20d0e0459b29e313b8f2d4e793fde"><code>2deb35d</code></a> v15.0.4-canary.52</li>
<li><a href="https://github.com/vercel/next.js/commit/f92b159e57845db7a269817e04fc51dacf3e7689"><code>f92b159</code></a> test: fix type error in segment-cache-basic test (<a href="https://redirect.github.com/vercel/next.js/issues/73755">#73755</a>)</li>
<li><a href="https://github.com/vercel/next.js/commit/4074ede0b6cf7743f4602953f7d424d7a0e8ebcf"><code>4074ede</code></a> docs(turbopack): Better document the Vc type, with references to ResolvedVc a...</li>
<li><a href="https://github.com/vercel/next.js/commit/eecc5f1c86d6cbf0a037aa03c0c7da5883a1fc02"><code>eecc5f1</code></a> [Segment Cache] Skip dynamic request if possible (<a href="https://redirect.github.com/vercel/next.js/issues/73540">#73540</a>)</li>
<li><a href="https://github.com/vercel/next.js/commit/3970d33e6d4bb055a8596c2b6f7ddbcaa5ca55dc"><code>3970d33</code></a> v15.0.4-canary.51</li>
<li><a href="https://github.com/vercel/next.js/commit/ef4160792528f7e32b0fa9af96038f56bc47c5e5"><code>ef41607</code></a> re-enable middleware deploy tests (<a href="https://redirect.github.com/vercel/next.js/issues/73744">#73744</a>)</li>
<li><a href="https://github.com/vercel/next.js/commit/16bfce64ef2157f2c1dfedcfdb7771bc63103fd2"><code>16bfce6</code></a> [Segment Cache] Respond with 204 on cache miss (<a href="https://redirect.github.com/vercel/next.js/issues/73649">#73649</a>)</li>
<li><a href="https://github.com/vercel/next.js/commit/c7d6ab7f4c351c45a41b6361efc3dea76a0ddffc"><code>c7d6ab7</code></a> fix: <code>warnOnce()</code> lru (<a href="https://redirect.github.com/vercel/next.js/issues/73742">#73742</a>)</li>
<li><a href="https://github.com/vercel/next.js/commit/c824c183d064f2e3594b2f6dd5db55c134bf18da"><code>c824c18</code></a> v15.0.4-canary.50</li>
<li>Additional commits viewable in <a href="https://github.com/vercel/next.js/compare/v15.0.3...v15.1.0">compare view</a></li>
</ul>
</details>
<br />

Updates `next-themes` from 0.4.3 to 0.4.4
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/pacocoursey/next-themes/releases">next-themes's releases</a>.</em></p>
<blockquote>
<h2>v0.4.4</h2>
<h2>What's Changed</h2>
<ul>
<li>fix: infinite loop theme flicker by <a href="https://github.com/arturbien"><code>@​arturbien</code></a> in <a href="https://redirect.github.com/pacocoursey/next-themes/pull/329">pacocoursey/next-themes#329</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/o1Suleyman"><code>@​o1Suleyman</code></a> made their first contribution in <a href="https://redirect.github.com/pacocoursey/next-themes/pull/328">pacocoursey/next-themes#328</a></li>
<li><a href="https://github.com/arturbien"><code>@​arturbien</code></a> made their first contribution in <a href="https://redirect.github.com/pacocoursey/next-themes/pull/329">pacocoursey/next-themes#329</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/pacocoursey/next-themes/compare/v0.4.3...v0.4.4">https://github.com/pacocoursey/next-themes/compare/v0.4.3...v0.4.4</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/pacocoursey/next-themes/commit/57c0561b1fac95fab0a951adf1bc74f21e24c91c"><code>57c0561</code></a> v0.4.4</li>
<li><a href="https://github.com/pacocoursey/next-themes/commit/ae2ab9b47ac85d4b7b830bd74dbe241778e498d8"><code>ae2ab9b</code></a> fix: infinite loop theme flicker (<a href="https://redirect.github.com/pacocoursey/next-themes/issues/329">#329</a>)</li>
<li><a href="https://github.com/pacocoursey/next-themes/commit/32ef71413052a421bd218ef2350d58971b5e4f66"><code>32ef714</code></a> Fix &quot;With Tailwind&quot; link (<a href="https://redirect.github.com/pacocoursey/next-themes/issues/328">#328</a>)</li>
<li>See full diff in <a href="https://github.com/pacocoursey/next-themes/compare/v0.4.3...v0.4.4">compare view</a></li>
</ul>
</details>
<br />

Updates `react` from 18.3.1 to 19.0.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/facebook/react/releases">react's releases</a>.</em></p>
<blockquote>
<h2>19.0.0 (December 5, 2024)</h2>
<p>Below is a list of all new features, APIs, deprecations, and breaking changes. Read <a href="https://react.dev/blog/2024/04/25/react-19">React 19 release post</a> and <a href="https://react.dev/blog/2024/04/25/react-19-upgrade-guide">React 19 upgrade guide</a> for more information.</p>
<blockquote>
<p>Note: To help make the upgrade to React 19 easier, we’ve published a [email protected] release that is identical to 18.2 but adds warnings for deprecated APIs and other changes that are needed for React 19. We recommend upgrading to React 18.3.1 first to help identify any issues before upgrading to React 19.</p>
</blockquote>
<h2>New Features</h2>
<h3>React</h3>
<ul>
<li>Actions: <code>startTransition</code> can now accept async functions. Functions passed to <code>startTransition</code> are called “Actions”. A given Transition can include one or more Actions which update state in the background and update the UI with one commit. In addition to updating state, Actions can now perform side effects including async requests, and the Action will wait for the work to finish before finishing the Transition. This feature allows Transitions to include side effects like <code>fetch()</code> in the pending state, and provides support for error handling, and optimistic updates.</li>
<li><code>useActionState</code>: is a new hook to order Actions inside of a Transition with access to the state of the action, and the pending state. It accepts a reducer that can call Actions, and the initial state used for first render. It also accepts an optional string that is used if the action is passed to a form <code>action</code> prop to support progressive enhancement in forms.</li>
<li><code>useOptimistic</code>: is a new hook to update state while a Transition is in progress. It returns the state, and a set function that can be called inside a transition to “optimistically” update the state to expected final value immediately while the Transition completes in the background. When the transition finishes, the state is updated to the new value.</li>
<li><code>use</code>: is a new API that allows reading resources in render. In React 19, <code>use</code> accepts a promise or Context. If provided a promise, <code>use</code> will suspend until a value is resolved. <code>use</code> can only be used in render but can be called conditionally.</li>
<li><code>ref</code> as a prop: Refs can now be used as props, removing the need for <code>forwardRef</code>.</li>
<li><strong>Suspense sibling pre-warming</strong>: When a component suspends, React will immediately commit the fallback of the nearest Suspense boundary, without waiting for the entire sibling tree to render. After the fallback commits, React will schedule another render for the suspended siblings to “pre-warm” lazy requests.</li>
</ul>
<h3>React DOM Client</h3>
<ul>
<li><code>&lt;form&gt; action</code> prop: Form Actions allow you to manage forms automatically and integrate with <code>useFormStatus</code>. When a <code>&lt;form&gt; action</code> succeeds, React will automatically reset the form for uncontrolled components. The form can be reset manually with the new <code>requestFormReset</code> API.</li>
<li><code>&lt;button&gt; and &lt;input&gt; formAction</code> prop: Actions can be passed to the <code>formAction</code> prop to configure form submission behavior. This allows using different Actions depending on the input.</li>
<li><code>useFormStatus</code>: is a new hook that provides the status of the parent <code>&lt;form&gt; action</code>, as if the form was a Context provider. The hook returns the values: <code>pending</code>, <code>data</code>, <code>method</code>, and <code>action</code>.</li>
<li>Support for Document Metadata: We’ve added support for rendering document metadata tags in components natively. React will automatically hoist them into the <code>&lt;head&gt;</code> section of the document.</li>
<li>Support for Stylesheets: React 19 will ensure stylesheets are inserted into the <code>&lt;head&gt;</code> on the client before revealing the content of a Suspense boundary that depends on that stylesheet.</li>
<li>Support for async scripts: Async scripts can be rendered anywhere in the component tree and React will handle ordering and deduplication.</li>
<li>Support for preloading resources: React 19 ships with <code>preinit</code>, <code>preload</code>, <code>prefetchDNS</code>, and <code>preconnect</code> APIs to optimize initial page loads by moving discovery of additional resources like fonts out of stylesheet loading. They can also be used to prefetch resources used by an anticipated navigation.</li>
</ul>
<h3>React DOM Server</h3>
<ul>
<li>Added <code>prerender</code> and <code>prerenderToNodeStream</code> APIs for static site generation. They are designed to work with streaming environments like Node.js Streams and Web Streams. Unlike <code>renderToString</code>, they wait for data to load for HTML generation.</li>
</ul>
<h3>React Server Components</h3>
<ul>
<li>RSC features such as directives, server components, and server functions are now stable. This means libraries that ship with Server Components can now target React 19 as a peer dependency with a react-server export condition for use in frameworks that support the Full-stack React Architecture. The underlying APIs used to implement a React Server Components bundler or framework do not follow semver and may break between minors in React 19.x. See <a href="https://19.react.dev/reference/rsc/server-components">docs</a> for how to support React Server Components.</li>
</ul>
<h2>Deprecations</h2>
<ul>
<li>Deprecated: <code>element.ref</code> access: React 19 supports ref as a prop, so we’re deprecating <code>element.ref</code> in favor of <code>element.props.ref</code>. Accessing will result in a warning.</li>
<li><code>react-test-renderer</code>: In React 19, react-test-renderer logs a deprecation warning and has switched to concurrent rendering for web usage. We recommend migrating your tests to  <a href="https://github.com/testinglibrary"><code>@​testinglibrary</code></a>.com/docs/react-testing-library/intro/) or <a href="https://github.com/testingesting-library"><code>@​testingesting-library</code></a>.com/docs/react-native-testing-library/intro)</li>
</ul>
<h2>Breaking Changes</h2>
<p>React 19 brings in a number of breaking changes, including the removals of long-deprecated APIs. We recommend first upgrading to <code>18.3.1</code>, where we've added additional deprecation warnings. Check out the <a href="https://19.react.dev/blog/2024/04/25/react-19-upgrade-guide">upgrade guide</a> for more details and guidance on codemodding.</p>
<h3>React</h3>
<ul>
<li>New JSX Transform is now required: We introduced <a href="https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html">a new JSX transform</a> in 2020 to improve bundle size and use JSX without importing React. In React 19, we’re adding additional improvements like using ref as a prop and JSX speed improvements that require the new transform.</li>
<li>Errors in render are not re-thrown: Errors that are not caught by an Error Boundary are now reported to window.reportError. Errors that are caught by an Error Boundary are reported to console.error. We’ve introduced <code>onUncaughtError</code> and <code>onCaughtError</code> methods to <code>createRoot</code> and <code>hydrateRoot</code> to customize this error handling.</li>
<li>Removed: <code>propTypes</code>: Using <code>propTypes</code> will now be silently ignored. If required, we recommend migrating to TypeScript or another type-checking solution.</li>
<li>Removed: <code>defaultProps</code> for functions: ES6 default parameters can be used in place. Class components continue to support <code>defaultProps</code> since there is no ES6 alternative.</li>
<li>Removed: <code>contextTypes</code> and <code>getChildContext</code>: Legacy Context for class components has been removed in favor of the <code>contextType</code> API.</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/facebook/react/blob/main/CHANGELOG.md">react's changelog</a>.</em></p>
<blockquote>
<h2>19.0.0 (December 5, 2024)</h2>
<p>Below is a list of all new features, APIs, deprecations, and breaking changes. Read <a href="https://react.dev/blog/2024/04/25/react-19">React 19 release post</a> and <a href="https://react.dev/blog/2024/04/25/react-19-upgrade-guide">React 19 upgrade guide</a> for more information.</p>
<blockquote>
<p>Note: To help make the upgrade to React 19 easier, we’ve published a [email protected] release that is identical to 18.2 but adds warnings for deprecated APIs and other changes that are needed for React 19. We recommend upgrading to React 18.3.1 first to help identify any issues before upgrading to React 19.</p>
</blockquote>
<h3>New Features</h3>
<h4>React</h4>
<ul>
<li>Actions: <code>startTransition</code> can now accept async functions. Functions passed to <code>startTransition</code> are called “Actions”. A given Transition can include one or more Actions which update state in the background and update the UI with one commit. In addition to updating state, Actions can now perform side effects including async requests, and the Action will wait for the work to finish before finishing the Transition. This feature allows Transitions to include side effects like <code>fetch()</code> in the pending state, and provides support for error handling, and optimistic updates.</li>
<li><code>useActionState</code>: is a new hook to order Actions inside of a Transition with access to the state of the action, and the pending state. It accepts a reducer that can call Actions, and the initial state used for first render. It also accepts an optional string that is used if the action is passed to a form <code>action</code> prop to support progressive enhancement in forms.</li>
<li><code>useOptimistic</code>: is a new hook to update state while a Transition is in progress. It returns the state, and a set function that can be called inside a transition to “optimistically” update the state to expected final value immediately while the Transition completes in the background. When the transition finishes, the state is updated to the new value.</li>
<li><code>use</code>: is a new API that allows reading resources in render. In React 19, <code>use</code> accepts a promise or Context. If provided a promise, <code>use</code> will suspend until a value is resolved. <code>use</code> can only be used in render but can be called conditionally.</li>
<li><code>ref</code> as a prop: Refs can now be used as props, removing the need for <code>forwardRef</code>.</li>
<li><strong>Suspense sibling pre-warming</strong>: When a component suspends, React will immediately commit the fallback of the nearest Suspense boundary, without waiting for the entire sibling tree to render. After the fallback commits, React will schedule another render for the suspended siblings to “pre-warm” lazy requests.</li>
</ul>
<h4>React DOM Client</h4>
<ul>
<li><code>&lt;form&gt; action</code> prop: Form Actions allow you to manage forms automatically and integrate with <code>useFormStatus</code>. When a <code>&lt;form&gt; action</code> succeeds, React will automatically reset the form for uncontrolled components. The form can be reset manually with the new <code>requestFormReset</code> API.</li>
<li><code>&lt;button&gt; and &lt;input&gt; formAction</code> prop: Actions can be passed to the <code>formAction</code> prop to configure form submission behavior. This allows using different Actions depending on the input.</li>
<li><code>useFormStatus</code>: is a new hook that provides the status of the parent <code>&lt;form&gt; action</code>, as if the form was a Context provider. The hook returns the values: <code>pending</code>, <code>data</code>, <code>method</code>, and <code>action</code>.</li>
<li>Support for Document Metadata: We’ve added support for rendering document metadata tags in components natively. React will automatically hoist them into the <code>&lt;head&gt;</code> section of the document.</li>
<li>Support for Stylesheets: React 19 will ensure stylesheets are inserted into the <code>&lt;head&gt;</code> on the client before revealing the content of a Suspense boundary that depends on that stylesheet.</li>
<li>Support for async scripts: Async scripts can be rendered anywhere in the component tree and React will handle ordering and deduplication.</li>
<li>Support for preloading resources: React 19 ships with <code>preinit</code>, <code>preload</code>, <code>prefetchDNS</code>, and <code>preconnect</code> APIs to optimize initial page loads by moving discovery of additional resources like fonts out of stylesheet loading. They can also be used to prefetch resources used by an anticipated navigation.</li>
</ul>
<h4>React DOM Server</h4>
<ul>
<li>Added <code>prerender</code> and <code>prerenderToNodeStream</code> APIs for static site generation. They are designed to work with streaming environments like Node.js Streams and Web Streams. Unlike <code>renderToString</code>, they wait for data to load for HTML generation.</li>
</ul>
<h4>React Server Components</h4>
<ul>
<li>RSC features such as directives, server components, and server functions are now stable. This means libraries that ship with Server Components can now target React 19 as a peer dependency with a react-server export condition for use in frameworks that support the Full-stack React Architecture. The underlying APIs used to implement a React Server Components bundler or framework do not follow semver and may break between minors in React 19.x. See <a href="https://19.react.dev/reference/rsc/server-components">docs</a> for how to support React Server Components.</li>
</ul>
<h3>Deprecations</h3>
<ul>
<li>Deprecated: <code>element.ref</code> access: React 19 supports ref as a prop, so we’re deprecating <code>element.ref</code> in favor of <code>element.props.ref</code>. Accessing will result in a warning.</li>
<li><code>react-test-renderer</code>: In React 19, react-test-renderer logs a deprecation warning and has switched to concurrent rendering for web usage. We recommend migrating your tests to  <a href="https://testing-library.com/docs/react-testing-library/intro/"><code>@​testing-library/react</code></a> or <a href="https://testing-library.com/docs/react-native-testing-library/intro"><code>@​testing-library/react-native</code></a></li>
</ul>
<h3>Breaking Changes</h3>
<p>React 19 brings in a number of breaking changes, including the removals of long-deprecated APIs. We recommend first upgrading to <code>18.3.1</code>, where we've added additional deprecation warnings. Check out the <a href="https://19.react.dev/blog/2024/04/25/react-19-upgrade-guide">upgrade guide</a> for more details and guidance on codemodding.</p>
<h3>React</h3>
<ul>
<li>New JSX Transform is now required: We introduced <a href="https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html">a new JSX transform</a> in 2020 to improve bundle size and use JSX without importing React. In React 19, we’re adding additional improvements like using ref as a prop and JSX speed improvements that require the new transform.</li>
<li>Errors in render are not re-thrown: Errors that are not caught by an Error Boundary are now reported to window.reportError. Errors that are caught by an Error Boundary are reported to console.error. We’ve introduced <code>onUncaughtError</code> and <code>onCaughtError</code> methods to <code>createRoot</code> and <code>hydrateRoot</code> to customize this error handling.</li>
<li>Removed: <code>propTypes</code>: Using <code>propTypes</code> will now be silently ignored. If required, we recommend migrating to TypeScript or another type-checking solution.</li>
<li>Removed: <code>defaultProps</code> for functions: ES6 default parameters can be used in place. Class components continue to support <code>defaultProps</code> since there is no ES6 alternative.</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/facebook/react/commit/e1378902bbb322aa1fe1953780f4b2b5f80d26b1"><code>e137890</code></a> [string-refs] cleanup string ref code (<a href="https://github.com/facebook/react/tree/HEAD/packages/react/issues/31443">#31443</a>)</li>
<li><a href="https://github.com/facebook/react/commit/d1f04722d617600cc6cd96dcebc1c2ef7affc904"><code>d1f0472</code></a> [string-refs] remove enableLogStringRefsProd flag (<a href="https://github.com/facebook/react/tree/HEAD/packages/react/issues/31414">#31414</a>)</li>
<li><a href="https://github.com/facebook/react/commit/3dc1e4820ec985baa6668a4fa799760c4b99f5d9"><code>3dc1e48</code></a> Followup: remove dead test code from <a href="https://github.com/facebook/react/tree/HEAD/packages/react/issues/30346">#30346</a> (<a href="https://github.com/facebook/react/tree/HEAD/packages/react/issues/31415">#31415</a>)</li>
<li><a href="https://github.com/facebook/react/commit/07aa494432e97f63fca9faf2fad6f76fead31063"><code>07aa494</code></a> Remove enableRefAsProp feature flag (<a href="https://github.com/facebook/react/tree/HEAD/packages/react/issues/30346">#30346</a>)</li>
<li><a href="https://github.com/facebook/react/commit/45804af18d589fd2c181f3b020f07661c46b73ea"><code>45804af</code></a> [flow] Eliminate usage of more than 1-arg <code>React.AbstractComponent</code> in React ...</li>
<li><a href="https://github.com/facebook/react/commit/5636fad840942cfea80301d91e931a50c6370d19"><code>5636fad</code></a> [string-refs] log string ref from prod (<a href="https://github.com/facebook/react/tree/HEAD/packages/react/issues/31161">#31161</a>)</li>
<li><a href="https://github.com/facebook/react/commit/b78a7f2f35e554a8647c3262d7f392e68d06febc"><code>b78a7f2</code></a> [rcr] Re-export useMemoCache in top level React namespace (<a href="https://github.com/facebook/react/tree/HEAD/packages/react/issues/31139">#31139</a>)</li>
<li><a href="https://github.com/facebook/react/commit/4e9540e3c2a8f9ae56318b967939c99b3a815190"><code>4e9540e</code></a> [Fiber] Log the Render/Commit phases and the gaps in between (<a href="https://github.com/facebook/react/tree/HEAD/packages/react/issues/31016">#31016</a>)</li>
<li><a href="https://github.com/facebook/react/commit/d4688dfaafe51a4cb6e3c51fc2330662cb4e2296"><code>d4688df</code></a> [Fiber] Track Event Time, startTransition Time and setState Time (<a href="https://github.com/facebook/react/tree/HEAD/packages/react/issues/31008">#31008</a>)</li>
<li><a href="https://github.com/facebook/react/commit/15da9174518f18f82869767ebe2a21be2fc8bd90"><code>15da917</code></a> Don't read currentTransition back from internals (<a href="https://github.com/facebook/react/tree/HEAD/packages/react/issues/30991">#30991</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/facebook/react/commits/v19.0.0/packages/react">compare view</a></li>
</ul>
</details>
<br />

Updates `@types/react` from 18.3.12 to 19.0.1
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react">compare view</a></li>
</ul>
</details>
<br />

Updates `react-dom` from 18.3.1 to 19.0.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/facebook/react/releases">react-dom's releases</a>.</em></p>
<blockquote>
<h2>19.0.0 (December 5, 2024)</h2>
<p>Below is a list of all new features, APIs, deprecations, and breaking changes. Read <a href="https://react.dev/blog/2024/04/25/react-19">React 19 release post</a> and <a href="https://react.dev/blog/2024/04/25/react-19-upgrade-guide">React 19 upgrade guide</a> for more information.</p>
<blockquote>
<p>Note: To help make the upgrade to React 19 easier, we’ve published a [email protected] release that is identical to 18.2 but adds warnings for deprecated APIs and other changes that are needed for React 19. We recommend upgrading to React 18.3.1 first to help identify any issues before upgrading to React 19.</p>
</blockquote>
<h2>New Features</h2>
<h3>React</h3>
<ul>
<li>Actions: <code>startTransition</code> can now accept async functions. Functions passed to <code>startTransition</code> are called “Actions”. A given Transition can include one or more Actions which update state in the background and update the UI with one commit. In addition to updating state, Actions can now perform side effects including async requests, and the Action will wait for the work to finish before finishing the Transition. This feature allows Transitions to include side effects like <code>fetch()</code> in the pending state, and provides support for error handling, and optimistic updates.</li>
<li><code>useActionState</code>: is a new hook to order Actions inside of a Transition with access to the state of the action, and the pending state. It accepts a reducer that can call Actions, and the initial state used for first render. It also accepts an optional string that is used if the action is passed to a form <code>action</code> prop to support progressive enhancement in forms.</li>
<li><code>useOptimistic</code>: is a new hook to update state while a Transition is in progress. It returns the state, and a set function that can be called inside a transition to “optimistically” update the state to expected final value immediately while the Transition completes in the background. When the transition finishes, the state is updated to the new value.</li>
<li><code>use</code>: is a new API that allows reading resources in render. In React 19, <code>use</code> accepts a promise or Context. If provided a promise, <code>use</code> will suspend until a value is resolved. <code>use</code> can only be used in render but can be called conditionally.</li>
<li><code>ref</code> as a prop: Refs can now be used as props, removing the need for <code>forwardRef</code>.</li>
<li><strong>Suspense sibling pre-warming</strong>: When a component suspends, React will immediately commit the fallback of the nearest Suspense boundary, without waiting for the entire sibling tree to render. After the fallback commits, React will schedule another render for the suspended siblings to “pre-warm” lazy requests.</li>
</ul>
<h3>React DOM Client</h3>
<ul>
<li><code>&lt;form&gt; action</code> prop: Form Actions allow you to manage forms automatically and integrate with <code>useFormStatus</code>. When a <code>&lt;form&gt; action</code> succeeds, React will automatically reset the form for uncontrolled components. The form can be reset manually with the new <code>requestFormReset</code> API.</li>
<li><code>&lt;button&gt; and &lt;input&gt; formAction</code> prop: Actions can be passed to the <code>formAction</code> prop to configure form submission behavior. This allows using different Actions depending on the input.</li>
<li><code>useFormStatus</code>: is a new hook that provides the status of the parent <code>&lt;form&gt; action</code>, as if the form was a Context provider. The hook returns the values: <code>pending</code>, <code>data</code>, <code>method</code>, and <code>action</code>.</li>
<li>Support for Document Metadata: We’ve added support for rendering document metadata tags in components natively. React will automatically hoist them into the <code>&lt;head&gt;</code> section of the document.</li>
<li>Support for Stylesheets: React 19 will ensure stylesheets are inserted into the <code>&lt;head&gt;</code> on the client before revealing the content of a Suspense boundary that depends on that stylesheet.</li>
<li>Support for async scripts: Async scripts can be rendered anywhere in the component tree and React will handle ordering and deduplication.</li>
<li>Support for preloading resources: React 19 ships with <code>preinit</code>, <code>preload</code>, <code>prefetchDNS</code>, and <code>preconnect</code> APIs to optimize initial page loads by moving discovery of additional resources like fonts out of stylesheet loading. They can also be used to prefetch resources used by an anticipated navigation.</li>
</ul>
<h3>React DOM Server</h3>
<ul>
<li>Added <code>prerender</code> and <code>prerenderToNodeStream</code> APIs for static site generation. They are designed to work with streaming environments like Node.js Streams and Web Streams. Unlike <code>renderToString</code>, they wait for data to load for HTML generation.</li>
</ul>
<h3>React Server Components</h3>
<ul>
<li>RSC features such as directives, server components, and server functions are now stable. This means libraries that ship with Server Components can now target React 19 as a peer dependency with a react-server export condition for use in frameworks that support the Full-stack React Architecture. The underlying APIs used to implement a React Server Components bundler or framework do not follow semver and may break between minors in React 19.x. See <a href="https://19.react.dev/reference/rsc/server-components">docs</a> for how to support React Server Components.</li>
</ul>
<h2>Deprecations</h2>
<ul>
<li>Deprecated: <code>element.ref</code> access: React 19 supports ref as a prop, so we’re deprecating <code>element.ref</code> in favor of <code>element.props.ref</code>. Accessing will result in a warning.</li>
<li><code>react-test-renderer</code>: In React 19, react-test-renderer logs a deprecation warning and has switched to concurrent rendering for web usage. We recommend migrating your tests to  <a href="https://github.com/testinglibrary"><code>@​testinglibrary</code></a>.com/docs/react-testing-library/intro/) or <a href="https://github.com/testingesting-library"><code>@​testingesting-library</code></a>.com/docs/react-native-testing-library/intro)</li>
</ul>
<h2>Breaking Changes</h2>
<p>React 19 brings in a number of breaking changes, including the removals of long-deprecated APIs. We recommend first upgrading to <code>18.3.1</code>, where we've added additional deprecation warnings. Check out the <a href="https://19.react.dev/blog/2024/04/25/react-19-upgrade-guide">upgrade guide</a> for more details and guidance on codemodding.</p>
<h3>React</h3>
<ul>
<li>New JSX Transform is now required: We introduced <a href="https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html">a new JSX transform</a> in 2020 to improve bundle size and use JSX without importing React. In React 19, we’re adding additional improvements like using ref as a prop and JSX speed improvements that require the new transform.</li>
<li>Errors in render are not re-thrown: Errors that are not caught by an Error Boundary are now reported to window.reportError. Errors that are caught by an Error Boundary are reported to console.error. We’ve introduced <code>onUncaughtError</code> and <code>onCaughtError</code> methods to <code>createRoot</code> and <code>hydrateRoot</code> to customize this error handling.</li>
<li>Removed: <code>propTypes</code>: Using <code>propTypes</code> will now be silently ignored. If required, we recommend migrating to TypeScript or another type-checking solution.</li>
<li>Removed: <code>defaultProps</code> for functions: ES6 default parameters can be used in place. Class components continue to support <code>defaultProps</code> since there is no ES6 alternative.</li>
<li>Removed: <code>contextTypes</code> and <code>getChildContext</code>: Legacy Context for class components has been removed in favor of the <code>contextType</code> API.</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/facebook/react/blob/main/CHANGELOG.md">react-dom's changelog</a>.</em></p>
<blockquote>
<h2>19.0.0 (December 5, 2024)</h2>
<p>Below is a list of all new features, APIs, deprecations, and breaking changes. Read <a href="https://react.dev/blog/2024/04/25/react-19">React 19 release post</a> and <a href="https://react.dev/blog/2024/04/25/react-19-upgrade-guide">React 19 upgrade guide</a> for more information.</p>
<blockquote>
<p>Note: To help make the upgrade to React 19 easier, we’ve published a [email protected] release that is identical to 18.2 but adds warnings for deprecated APIs and other changes that are needed for React 19. We recommend upgrading to React 18.3.1 first to help identify any issues before upgrading to React 19.</p>
</blockquote>
<h3>New Features</h3>
<h4>React</h4>
<ul>
<li>Actions: <code>startTransition</code> can now accept async functions. Functions passed to <code>startTransition</code> are called “Actions”. A given Transition can include one or more Actions which update state in the background and update the UI with one commit. In addition to updating state, Actions can now perform side effects including async requests, and the Action will wait for the work to finish before finishing the Transition. This feature allows Transitions to include side effects like <code>fetch()</code> in the pending state, and provides support for error handling, and optimistic updates.</li>
<li><code>useActionState</code>: is a new hook to order Actions inside of a Transition with access to the state of the action, and the pending state. It accepts a reducer that can call Actions, and the initial state used for first render. It also accepts an optional string that is used if the action is passed to a form <code>action</code> prop to support progressive enhancement in forms.</li>
<li><code>useOptimistic</code>: is a new hook to update state while a Transition is in progress. It returns the state, and a set function that can be called inside a transition to “optimistically” update the state to expected final value immediately while the Transition completes in the background. When the transition finishes, the state is updated to the new value.</li>
<li><code>use</code>: is a new API that allows reading resources in render. In React 19, <code>use</code> accepts a promise or Context. If provided a promise, <code>use</code> will suspend until a value is resolved. <code>use</code> can only be used in render but can be called conditionally.</li>
<li><code>ref</code> as a prop: Refs can now be used as props, removing the need for <code>forwardRef</code>.</li>
<li><strong>Suspense sibling pre-warming</strong>: When a component suspends, React will immediately commit the fallback of the nearest Suspense boundary, without waiting for the entire sibling tree to render. After the fallback commits, React will schedule another render for the suspended siblings to “pre-warm” lazy requests.</li>
</ul>
<h4>React DOM Client</h4>
<ul>
<li><code>&lt;form&gt; action</code> prop: Form Actions allow you to manage forms automatically and integrate with <code>useFormStatus</code>. When a <code>&lt;form&gt; action</code> succeeds, React will automatically reset the form for uncontrolled components. The form can be reset manually with the new <code>requestFormReset</code> API.</li>
<li><code>&lt;button&gt; and &lt;input&gt; formAction</code> prop: Actions can be passed to the <code>formAction</code> prop to configure form submission behavior. This allows using different Actions depending on the input.</li>
<li><code>useFormStatus</code>: is a new hook that provides the status of the parent <code>&lt;form&gt; action</code>, as if the form was a Context provider. The hook returns the values: <code>pending</code>, <code>data</code>, <code>method</code>, and <code>action</code>.</li>
<li>Support for Document Metadata: We’ve added support for rendering document metadata tags in components natively. React will automatically hoist them into the <code>&lt;head&gt;</code> section of the document.</li>
<li>Support for Stylesheets: React 19 will ensure stylesheets are inserted into the <code>&lt;head&gt;</code> on the client before revealing the content of a Suspense boundary that depends on that stylesheet.</li>
<li>Support for async scripts: Async scripts can be rendered anywhere in the component tree and React will handle ordering and deduplication.</li>
<li>Support for preloading resources: React 19 ships with <code>preinit</code>, <code>preload</code>, <code>prefetchDNS</code>, and <code>preconnect</code> APIs to optimize initial page loads by moving discovery of additional resources like fonts out of stylesheet loading. They can also be used to prefetch resources used by an anticipated navigation.</li>
</ul>
<h4>React DOM Server</h4>
<ul>
<li>Added <code>prerender</code> and <code>prerenderToNodeStream</code> APIs for static site generation. They are designed to work with streaming environments like Node.js Streams and Web Streams. Unlike <code>renderToString</code>, they wait for data to load for HTML generation.</li>
</ul>
<h4>React Server Components</h4>
<ul>
<li>RSC features such as directives, server components, and server functions are now stable. This means libraries that ship with Server Components can now target React 19 as a peer dependency with a react-server export condition for use in frameworks that support the Full-stack React Architecture. The underlying APIs used to implement a React Server Components bundler or framework do not follow semver and may break between minors in React 19.x. See <a href="https://19.react.dev/reference/rsc/server-components">docs</a> for how to support React Server Components.</li>
</ul>
<h3>Deprecations</h3>
<ul>
<li>Deprecated: <code>element.ref</code> access: React 19 supports ref as a prop, so we’re deprecating <code>element.ref</code> in favor of <code>element.props.ref</code>. Accessing will result in a warning.</li>
<li><code>react-test-renderer</code>: In React 19, react-test-renderer logs a deprecation warning and has switched to concurrent rendering for web usage. We recommend migrating your tests to  <a href="https://testing-library.com/docs/react-testing-library/intro/"><code>@​testing-library/react</code></a> or <a href="https://testing-library.com/docs/react-native-testing-library/intro"><code>@​testing-library/react-native</code></a></li>
</ul>
<h3>Breaking Changes</h3>
<p>React 19 brings in a number of breaking changes, including the removals of long-deprecated APIs. We recommend first upgrading to <code>18.3.1</code>, where we've added additional deprecation warnings. Check out the <a href="https://19.react.dev/blog/2024/04/25/react-19-upgrade-guide">upgrade guide</a> for more details and guidance on codemodding.</p>
<h3>React</h3>
<ul>
<li>New JSX Transform is now required: We introduced <a href="https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html">a new JSX transform</a> in 2020 to improve bundle size and use JSX without importing React. In React 19, we’re adding additional improvements like using ref as a prop and JSX speed improvements that require the new transform.</li>
<li>Errors in render are not re-thrown: Errors that are not caught by an Error Boundary are now reported to window.reportError. Errors that are caught by an Error Boundary are reported to console.error. We’ve introduced <code>onUncaughtError</code> and <code>onCaughtError</code> methods to <code>createRoot</code> and <code>hydrateRoot</code> to customize this error handling.</li>
<li>Removed: <code>propTypes</code>: Using <code>propTypes</code> will now be silently ignored. If required, we recommend migrating to TypeScript or another type-checking solution.</li>
<li>Removed: <code>defaultProps</code> for functions: ES6 default parameters can be used in place. Class components continue to support <code>defaultProps</code> since there is no ES6 alternative.</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/facebook/react/commit/989af12f72080c17db03ead91d99b6394a215564"><code>989af12</code></a> Make prerendering always non-blocking with fix (<a href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/31452">#31452</a>)</li>
<li><a href="https://github.com/facebook/react/commit/e1378902bbb322aa1fe1953780f4b2b5f80d26b1"><code>e137890</code></a> [string-refs] cleanup string ref code (<a href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/31443">#31443</a>)</li>
<li><a href="https://github.com/facebook/react/commit/07aa494432e97f63fca9faf2fad6f76fead31063"><code>07aa494</code></a> Remove enableRefAsProp feature flag (<a href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/30346">#30346</a>)</li>
<li><a href="https://github.com/facebook/react/commit/cae764ce81b1bd6c418e9e23651794b6b09208e8"><code>cae764c</code></a> Revert &quot;[Re-land] Make prerendering always non-blocking (<a href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/31268">#31268</a>)&quot; (<a href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/31355">#31355</a>)</li>
<li><a href="https://github.com/facebook/react/commit/d49123f73f12564223c890bfa36be537de2c571d"><code>d49123f</code></a> Expose prerender() for SSG in stable (<a href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/31298">#31298</a>)</li>
<li><a href="https://github.com/facebook/react/commit/6c4bbc783286bf6eebd9927cb52e8fec5ad4dd74"><code>6c4bbc7</code></a> [Re-land] Make prerendering always non-blocking (<a href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/31268">#31268</a>)</li>
<li><a href="https://github.com/facebook/react/commit/d8c90fa48d3addefe4b805ec56a3c65e4ee39127"><code>d8c90fa</code></a> Disable infinite render loop detection (<a href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/31088">#31088</a>)</li>
<li><a href="https://github.com/facebook/react/commit/67fee58b1f72754cc77488c40c44e786572ef954"><code>67fee58</code></a> [Fizz] Start initial work immediately (<a href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/31079">#31079</a>)</li>
<li><a href="https://github.com/facebook/react/commit/76aee6f39d94caa04c11be92d75d12cb9ee56494"><code>76aee6f</code></a> Revert &quot;Make prerendering always non-blocking&quot; (<a href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/31080">#31080</a>)</li>
<li><a href="https://github.com/facebook/react/commit/0f1856c49febe96923e469f98c0b123130ea015c"><code>0f1856c</code></a> Make prerendering always non-blocking (<a href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/31056">#31056</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/facebook/react/commits/v19.0.0/packages/react-dom">compare view</a></li>
</ul>
</details>
<br />

Updates `@types/react-dom` from 18.3.1 to 19.0.2
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom">compare view</a></li>
</ul>
</details>
<br />

Updates `react-hook-form` from 7.53.2 to 7.54.0
<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.54.0</h2>
<p>🦥 fix: useForm should return a new object on formState changes (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/12424">#12424</a>)
🧻 improve prototype pollution check (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/12431">#12431</a>)
🪖 fix: add FileList availability check for environments without FileList support (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/12332">#12332</a>)
🧪 close <a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/12198">#12198</a> memo for useController and useFormState (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/12421">#12421</a>)
🐞 fix <a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/12407">#12407</a> useFieldArray append issue with useForm disabled props (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/12420">#12420</a>)
🐞 fix <a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/12415">#12415</a> issue with flatten object with null value (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/12418">#12418</a>)
🐞 fix <a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/12385">#12385</a> nested array field invalid validation report on removed (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/12405">#12405</a>)
🙀 fix: hasPromiseValidation return true or false appropriately. (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/12389">#12389</a>)
👃 fix more staled props (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/12404">#12404</a>)</p>
<p>thanks to <a href="https://github.com/developer-bandi"><code>@​developer-bandi</code></a>, <a href="https://github.com/OlegDev1"><code>@​OlegDev1</code></a>, <a href="https://github.com/sukvvon"><code>@​sukvvon</code></a>, <a href="https://github.com/alexandredev3"><code>@​alexandredev3</code></a> and <a href="https://github.com/mfazekas"><code>@​mfazekas</code></a></p>
</blockquote>
</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>
<h2>[7.54.0] - 2024-12-09</h2>
<h3>Changed</h3>
<ul>
<li><code>useForm</code> return methods will be memorized based <code>formState</code> update</li>
</ul>
<h2>[7.53.0] - 2024-8-31</h2>
<h3>Added</h3>
<ul>
<li>add support for <code>onBlur</code> with formState <code>isValid</code></li>
</ul>
<h3>Changed</h3>
<ul>
<li><code>validateFields</code> will only trigger re-render for async validation</li>
</ul>
<h2>[7.51.0] - 2024-3-2</h2>
<h3>Added</h3>
<ul>
<li>added 'validateFields' to formState</li>
</ul>
<pre lang="tsx"><code>const {
  formState: { validateFields },
} = useForm();
</code></pre>
<h2>[7.49.0] - 2023-12-10</h2>
<h3>Added</h3>
<ul>
<li>add reactive <code>errors</code> prop at <code>useForm</code></li>
</ul>
<pre lang="tsx"><code>useForm({
  errors, // Server errors
});
</code></pre>
<h2>[7.48.0] - 2023-11-05</h2>
<h3>Added</h3>
<ul>
<li>added new <code>disabled</code> prop for <code>useForm</code> to disable the entire form</li>
</ul>
<pre><code>const App = () =&gt; {
  const [disabled, setDisabled] = useState(false);
  const { handleSubmit } = …
  • Loading branch information
dependabot[bot] authored Dec 12, 2024
1 parent 86ddd0d commit cfe4ef4
Show file tree
Hide file tree
Showing 2 changed files with 249 additions and 606 deletions.
Loading

0 comments on commit cfe4ef4

Please sign in to comment.