Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency swr to v2 #172

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

Update dependency swr to v2 #172

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 9, 2022

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
swr (source) 1.3.0 -> 2.3.0 age adoption passing confidence

Release Notes

vercel/swr (swr)

v2.3.0

Compare Source

v2.2.5

Compare Source

Patches
Misc
New Contributors

Full Changelog: vercel/swr@v2.2.4...v2.2.5

v2.2.4

Compare Source

Patches

Full Changelog: vercel/swr@v2.2.3...v2.2.4

v2.2.3

Compare Source

Patches
Misc
New Contributors

Full Changelog: vercel/swr@v2.2.2...v2.2.3

v2.2.2

Compare Source

What's Changed

New Contributors

Full Changelog: vercel/swr@v2.2.1...v2.2.2

v2.2.1

Compare Source

What's Changed

New Contributors

Full Changelog: vercel/swr@v2.2.0...v2.2.1

v2.2.0

Compare Source

What's Changed

New Contributors

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

v2.1.5

Compare Source

What's Changed

Full Changelog: vercel/swr@v2.1.4...v2.1.5

v2.1.4

Compare Source

What's Changed

New Contributors

Full Changelog: vercel/swr@v2.1.3...v2.1.4

v2.1.3

Compare Source

What's Changed

New Contributors

Full Changelog: vercel/swr@v2.1.2...v2.1.3

v2.1.2

Compare Source

Patches
  • Improved type inferring for swr/subscription
  • Adding SWRSubscriptionOptions type for swr/subscription
Changes
New Contributors

Full Changelog: vercel/swr@v2.1.1...v2.1.2

v2.1.1

Compare Source

Patches

Documentation

New Contributors

Full Changelog: vercel/swr@v2.1.0...v2.1.1

v2.1.0

Compare Source

v2.0.4

Compare Source

Patches
Misc
New Contributors

Full Changelog: vercel/swr@v2.0.3...v2.0.4

v2.0.3

Compare Source

Patches

Chores

New Contributors

Full Changelog: vercel/swr@v2.0.2...v2.0.3

v2.0.2

Compare Source

Patches

Chores

Full Changelog: vercel/swr@v2.0.1...v2.0.2

v2.0.1

Compare Source

In this patch release, we majorly improved typing support and SWR can infer the types based on the configuration.

  • When the suspense option is true, the returned data will exclude undefined and the isLoading will always be false.
  • When the fallbackData option is provided, the returned data will be the same type of fallbackData, and the isLoading will always be false.

Here's a demo for it:

swr-2.0.1.mp4

What's Changed

New Contributors

Full Changelog: vercel/swr@2.0.0...v2.0.1

v2.0.0

Compare Source

Announcing SWR 2.0

We are excited to announce the release of SWR 2.0! The new version comes with a lot of improvements:

  • New useSWRMutation hook
  • Enhanced mutation and optimistic UI capabilities
  • SWR DevTools
  • Preload resource
  • Improved React 18 support

And more!

Read our blog post and migration guide: https://swr.vercel.app/blog/swr-v2

What's Changed

New Contributors

Full Changelog: vercel/swr@1.2.2...2.0.0


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 becomes conflicted, or you tick the rebase/retry checkbox.

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


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies label Dec 9, 2022
@renovate renovate bot force-pushed the renovate/swr-2.x branch from 4c1ca03 to ebd003a Compare January 18, 2023 20:07
@renovate renovate bot force-pushed the renovate/swr-2.x branch 2 times, most recently from 6c3f238 to fc9d573 Compare January 28, 2023 15:10
@renovate renovate bot force-pushed the renovate/swr-2.x branch from fc9d573 to 6c18b67 Compare February 24, 2023 18:47
@renovate renovate bot force-pushed the renovate/swr-2.x branch from 6c18b67 to 07721f8 Compare March 7, 2023 05:25
@renovate renovate bot force-pushed the renovate/swr-2.x branch from 07721f8 to 77bd7c7 Compare March 22, 2023 18:52
@renovate renovate bot force-pushed the renovate/swr-2.x branch from 77bd7c7 to 75bc894 Compare April 2, 2023 10:09
@renovate renovate bot force-pushed the renovate/swr-2.x branch from 75bc894 to 8f3517f Compare April 10, 2023 16:47
@renovate renovate bot force-pushed the renovate/swr-2.x branch 2 times, most recently from 3dac8e7 to 562ed63 Compare April 25, 2023 10:25
@renovate renovate bot force-pushed the renovate/swr-2.x branch from 562ed63 to 6904a68 Compare June 23, 2023 01:33
@renovate renovate bot force-pushed the renovate/swr-2.x branch from 6904a68 to edff73b Compare August 11, 2023 17:03
@renovate renovate bot force-pushed the renovate/swr-2.x branch from edff73b to 3befc04 Compare August 27, 2023 14:26
@renovate renovate bot force-pushed the renovate/swr-2.x branch 2 times, most recently from 59d14a6 to fcbdc5e Compare September 25, 2023 14:16
@renovate renovate bot force-pushed the renovate/swr-2.x branch from fcbdc5e to 8e6a737 Compare December 16, 2023 04:21
@renovate renovate bot force-pushed the renovate/swr-2.x branch from 8e6a737 to 45f3a86 Compare February 16, 2024 01:41
@renovate renovate bot force-pushed the renovate/swr-2.x branch from 45f3a86 to 9f385e2 Compare December 23, 2024 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants