Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump swr from 2.1.5 to 2.2.0 in /website (#3561)
Bumps [swr](https://github.com/vercel/swr) from 2.1.5 to 2.2.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/vercel/swr/releases">swr's releases</a>.</em></p> <blockquote> <h2>v2.2.0</h2> <h2>What's Changed</h2> <ul> <li>feat: use <code>React.use</code> API by <a href="https://github.com/himself65"><code>@himself65</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2596">vercel/swr#2596</a></li> <li>feat: improve preload and suspense integration by <a href="https://github.com/promer94"><code>@promer94</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2658">vercel/swr#2658</a></li> <li>feat: Add react-server bundle for core and infinite by <a href="https://github.com/huozhi"><code>@huozhi</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2664">vercel/swr#2664</a></li> <li>fix: remove <code>startTransition</code> so mutation hook could update immediately by <a href="https://github.com/promer94"><code>@promer94</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2654">vercel/swr#2654</a></li> <li>fix: keepPreviousData should also work in suspense by <a href="https://github.com/promer94"><code>@promer94</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2649">vercel/swr#2649</a></li> <li>fix: do unsubscribe synchronously by <a href="https://github.com/promer94"><code>@promer94</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2648">vercel/swr#2648</a></li> <li>fix: reset the error when mutate succeeded by <a href="https://github.com/koba04"><code>@koba04</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2592">vercel/swr#2592</a></li> <li>fix: Fix mutation types order by <a href="https://github.com/huozhi"><code>@huozhi</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2669">vercel/swr#2669</a></li> <li>fix: Conditional Typing in useSWRMutation to Allow Optional ExtraArg Without Explicitly Passing Undefined by <a href="https://github.com/saengmotmi"><code>@saengmotmi</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2666">vercel/swr#2666</a></li> <li>fix: Pass displayed data as second parameter of functional optimistic data by <a href="https://github.com/francescogior"><code>@francescogior</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2668">vercel/swr#2668</a></li> <li>fix: Adjust rsc exports by <a href="https://github.com/huozhi"><code>@huozhi</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2673">vercel/swr#2673</a></li> <li>fix: Revert "fix: remove startTransition so mutation hook could update immediately (<a href="https://redirect.github.com/vercel/swr/issues/2654">#2654</a>)" by <a href="https://github.com/huozhi"><code>@huozhi</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2681">vercel/swr#2681</a></li> <li>types: fix immutable export paths by <a href="https://github.com/huozhi"><code>@huozhi</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2670">vercel/swr#2670</a></li> <li>types: improve <code>useSWRMutation</code> type. by <a href="https://github.com/promer94"><code>@promer94</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2604">vercel/swr#2604</a></li> <li>chore: upgrade to pnpm8 by <a href="https://github.com/promer94"><code>@promer94</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2605">vercel/swr#2605</a></li> <li>ci: drop unused inputs and step by <a href="https://github.com/nicolewhite"><code>@nicolewhite</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2624">vercel/swr#2624</a></li> <li>ci: update github token by <a href="https://github.com/huozhi"><code>@huozhi</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2636">vercel/swr#2636</a></li> <li>ci: use gh token credentials for cloning repo by <a href="https://github.com/huozhi"><code>@huozhi</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2637">vercel/swr#2637</a></li> <li>ci: use script to bump semver version by <a href="https://github.com/huozhi"><code>@huozhi</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2651">vercel/swr#2651</a></li> <li>ci: Add daily test job for react canary by <a href="https://github.com/suyanhanx"><code>@suyanhanx</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2601">vercel/swr#2601</a></li> <li>build: fix equal signs by <a href="https://github.com/huozhi"><code>@huozhi</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2628">vercel/swr#2628</a></li> <li>build: fix bad runner by <a href="https://github.com/huozhi"><code>@huozhi</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2629">vercel/swr#2629</a></li> <li>build: use prepatch/minor/major command for prerelease by <a href="https://github.com/huozhi"><code>@huozhi</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2627">vercel/swr#2627</a></li> <li>build: fix release semver by <a href="https://github.com/huozhi"><code>@huozhi</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2630">vercel/swr#2630</a></li> <li>build: add trigger release job by <a href="https://github.com/huozhi"><code>@huozhi</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2615">vercel/swr#2615</a></li> <li>build: determin release tag by <a href="https://github.com/huozhi"><code>@huozhi</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2616">vercel/swr#2616</a></li> <li>build: fix conflict types for index and index.react-server by <a href="https://github.com/huozhi"><code>@huozhi</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2677">vercel/swr#2677</a></li> <li>test: fix flaky suspense test in canary by <a href="https://github.com/promer94"><code>@promer94</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2655">vercel/swr#2655</a></li> <li>test: improve preload test by <a href="https://github.com/promer94"><code>@promer94</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2657">vercel/swr#2657</a></li> <li>test: add e2e test for react-server entry by <a href="https://github.com/promer94"><code>@promer94</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2671">vercel/swr#2671</a></li> <li>test: add a new test setting to run tests with build files by <a href="https://github.com/koba04"><code>@koba04</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2583">vercel/swr#2583</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/suyanhanx"><code>@suyanhanx</code></a> made their first contribution in <a href="https://redirect.github.com/vercel/swr/pull/2601">vercel/swr#2601</a></li> <li><a href="https://github.com/nicolewhite"><code>@nicolewhite</code></a> made their first contribution in <a href="https://redirect.github.com/vercel/swr/pull/2624">vercel/swr#2624</a></li> <li><a href="https://github.com/saengmotmi"><code>@saengmotmi</code></a> made their first contribution in <a href="https://redirect.github.com/vercel/swr/pull/2666">vercel/swr#2666</a></li> <li><a href="https://github.com/francescogior"><code>@francescogior</code></a> made their first contribution in <a href="https://redirect.github.com/vercel/swr/pull/2668">vercel/swr#2668</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/vercel/swr/compare/v2.1.5...v2.2.0">https://github.com/vercel/swr/compare/v2.1.5...v2.2.0</a></p> <h2>v2.2.0-beta.5</h2> <h2>What's Changed</h2> <ul> <li>Revert "fix: remove startTransition so mutation hook could update immediately (<a href="https://redirect.github.com/vercel/swr/issues/2654">#2654</a>)" by <a href="https://github.com/huozhi"><code>@huozhi</code></a> in <a href="https://redirect.github.com/vercel/swr/pull/2681">vercel/swr#2681</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/vercel/swr/compare/v2.2.0-beta.4...v2.2.0-beta.5">https://github.com/vercel/swr/compare/v2.2.0-beta.4...v2.2.0-beta.5</a></p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/vercel/swr/commit/024cbd106f8f1b0f8ea0006301d1a5fe974c691b"><code>024cbd1</code></a> 2.2.0</li> <li><a href="https://github.com/vercel/swr/commit/373ab93ef74ad50dae988dadf811f6e22d805a8a"><code>373ab93</code></a> 2.2.0-beta.5</li> <li><a href="https://github.com/vercel/swr/commit/87c6e9de2008b1dd6443551202e3e67a515ea792"><code>87c6e9d</code></a> Revert "fix: remove startTransition so mutation hook could update immediately...</li> <li><a href="https://github.com/vercel/swr/commit/eb9444c8393de443754248b4ab657963a0601ef3"><code>eb9444c</code></a> 2.2.0-beta.4</li> <li><a href="https://github.com/vercel/swr/commit/34aa3d9fc7072ae82034a825f40362501abbb078"><code>34aa3d9</code></a> build: fix conflict types for index and index.react-server (<a href="https://redirect.github.com/vercel/swr/issues/2677">#2677</a>)</li> <li><a href="https://github.com/vercel/swr/commit/e6383dc9c6bcf7788ee831521ab4cab55c55c8d4"><code>e6383dc</code></a> 2.2.0-beta.3</li> <li><a href="https://github.com/vercel/swr/commit/feb5c2803ef7cdbbd9134814702def83570a0000"><code>feb5c28</code></a> test: add e2e test for react-server entry (<a href="https://redirect.github.com/vercel/swr/issues/2671">#2671</a>)</li> <li><a href="https://github.com/vercel/swr/commit/c30509f91750414df3e3f07413645284fc44c59c"><code>c30509f</code></a> Adjust rsc exports (<a href="https://redirect.github.com/vercel/swr/issues/2673">#2673</a>)</li> <li><a href="https://github.com/vercel/swr/commit/9b552e46a83efdeeba50392585a9852d96df456a"><code>9b552e4</code></a> Pass displayed data as second parameter of functional optimistic data (<a href="https://redirect.github.com/vercel/swr/issues/2668">#2668</a>)</li> <li><a href="https://github.com/vercel/swr/commit/31832dc8096c267d0edd8567e1d5a1c0bf610a17"><code>31832dc</code></a> fix:fix conditional Typing in useSWRMutation to Allow Optional ExtraArg Witho...</li> <li>Additional commits viewable in <a href="https://github.com/vercel/swr/compare/v2.1.5...v2.2.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=swr&package-manager=npm_and_yarn&previous-version=2.1.5&new-version=2.2.0)](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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information