Skip to content

Commit

Permalink
chore(deps): update dependency swr to v2.2.0 (#189)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [swr](https://swr.vercel.app)
([source](https://togithub.com/vercel/swr)) | [`2.1.5` ->
`2.2.0`](https://renovatebot.com/diffs/npm/swr/2.1.5/2.2.0) |
[![age](https://badges.renovateapi.com/packages/npm/swr/2.2.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/swr/2.2.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/swr/2.2.0/compatibility-slim/2.1.5)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/swr/2.2.0/confidence-slim/2.1.5)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>vercel/swr (swr)</summary>

### [`v2.2.0`](https://togithub.com/vercel/swr/releases/tag/v2.2.0)

[Compare
Source](https://togithub.com/vercel/swr/compare/v2.1.5...v2.2.0)

##### What's Changed

- feat: use `React.use` API by
[@&#8203;himself65](https://togithub.com/himself65) in
[vercel/swr#2596
- feat: improve preload and suspense integration by
[@&#8203;promer94](https://togithub.com/promer94) in
[vercel/swr#2658
- feat: Add react-server bundle for core and infinite by
[@&#8203;huozhi](https://togithub.com/huozhi) in
[vercel/swr#2664
- fix: remove `startTransition` so mutation hook could update
immediately by [@&#8203;promer94](https://togithub.com/promer94) in
[vercel/swr#2654
- fix: keepPreviousData should also work in suspense by
[@&#8203;promer94](https://togithub.com/promer94) in
[vercel/swr#2649
- fix: do unsubscribe synchronously by
[@&#8203;promer94](https://togithub.com/promer94) in
[vercel/swr#2648
- fix: reset the error when mutate succeeded by
[@&#8203;koba04](https://togithub.com/koba04) in
[vercel/swr#2592
- fix: Fix mutation types order by
[@&#8203;huozhi](https://togithub.com/huozhi) in
[vercel/swr#2669
- fix: Conditional Typing in useSWRMutation to Allow Optional ExtraArg
Without Explicitly Passing Undefined by
[@&#8203;saengmotmi](https://togithub.com/saengmotmi) in
[vercel/swr#2666
- fix: Pass displayed data as second parameter of functional optimistic
data by [@&#8203;francescogior](https://togithub.com/francescogior) in
[vercel/swr#2668
- fix: Adjust rsc exports by
[@&#8203;huozhi](https://togithub.com/huozhi) in
[vercel/swr#2673
- fix: Revert "fix: remove startTransition so mutation hook could update
immediately
([#&#8203;2654](https://togithub.com/vercel/swr/issues/2654))" by
[@&#8203;huozhi](https://togithub.com/huozhi) in
[vercel/swr#2681
- types: fix immutable export paths by
[@&#8203;huozhi](https://togithub.com/huozhi) in
[vercel/swr#2670
- types: improve `useSWRMutation` type. by
[@&#8203;promer94](https://togithub.com/promer94) in
[vercel/swr#2604
- chore: upgrade to pnpm8 by
[@&#8203;promer94](https://togithub.com/promer94) in
[vercel/swr#2605
- ci: drop unused inputs and step by
[@&#8203;nicolewhite](https://togithub.com/nicolewhite) in
[vercel/swr#2624
- ci: update github token by
[@&#8203;huozhi](https://togithub.com/huozhi) in
[vercel/swr#2636
- ci: use gh token credentials for cloning repo by
[@&#8203;huozhi](https://togithub.com/huozhi) in
[vercel/swr#2637
- ci: use script to bump semver version by
[@&#8203;huozhi](https://togithub.com/huozhi) in
[vercel/swr#2651
- ci: Add daily test job for react canary by
[@&#8203;suyanhanx](https://togithub.com/suyanhanx) in
[vercel/swr#2601
- build: fix equal signs by
[@&#8203;huozhi](https://togithub.com/huozhi) in
[vercel/swr#2628
- build: fix bad runner by [@&#8203;huozhi](https://togithub.com/huozhi)
in
[vercel/swr#2629
- build: use prepatch/minor/major command for prerelease by
[@&#8203;huozhi](https://togithub.com/huozhi) in
[vercel/swr#2627
- build: fix release semver by
[@&#8203;huozhi](https://togithub.com/huozhi) in
[vercel/swr#2630
- build: add trigger release job by
[@&#8203;huozhi](https://togithub.com/huozhi) in
[vercel/swr#2615
- build: determin release tag by
[@&#8203;huozhi](https://togithub.com/huozhi) in
[vercel/swr#2616
- build: fix conflict types for index and index.react-server by
[@&#8203;huozhi](https://togithub.com/huozhi) in
[vercel/swr#2677
- test: fix flaky suspense test in canary by
[@&#8203;promer94](https://togithub.com/promer94) in
[vercel/swr#2655
- test: improve preload test by
[@&#8203;promer94](https://togithub.com/promer94) in
[vercel/swr#2657
- test: add e2e test for react-server entry by
[@&#8203;promer94](https://togithub.com/promer94) in
[vercel/swr#2671
- test: add a new test setting to run tests with build files by
[@&#8203;koba04](https://togithub.com/koba04) in
[vercel/swr#2583

##### New Contributors

- [@&#8203;suyanhanx](https://togithub.com/suyanhanx) made their first
contribution in
[vercel/swr#2601
- [@&#8203;nicolewhite](https://togithub.com/nicolewhite) made their
first contribution in
[vercel/swr#2624
- [@&#8203;saengmotmi](https://togithub.com/saengmotmi) made their first
contribution in
[vercel/swr#2666
- [@&#8203;francescogior](https://togithub.com/francescogior) made their
first contribution in
[vercel/swr#2668

**Full Changelog**:
vercel/swr@v2.1.5...v2.2.0

</details>

---

### Configuration

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

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

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

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/sebald/pattern-analyzer).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xNDEuMyIsInVwZGF0ZWRJblZlciI6IjM1LjE0MS4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] committed Jul 1, 2023
1 parent 94887d6 commit cc5c3b0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"react-is": "18.2.0",
"react-use": "17.4.0",
"react-use-clipboard": "1.0.9",
"swr": "2.1.5",
"swr": "2.2.0",
"tailwind-merge": "1.13.2",
"use-debounce": "9.0.4",
"zod": "3.21.4"
Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 comment on commit cc5c3b0

@vercel
Copy link

@vercel vercel bot commented on cc5c3b0 Jul 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.