Skip to content

Update dependency swr to v2 #53

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

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

Update dependency swr to v2 #53

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 16, 2023

This PR contains the following updates:

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

Release Notes

vercel/swr (swr)

v2.3.3

Compare Source

v2.3.2

Compare Source

Patches

Full Changelog: vercel/swr@v2.3.1...v2.3.2

v2.3.1

Compare Source

Fixes
Misc
New Contributors

Full Changelog: vercel/swr@v2.3.0...v2.3.1

v2.3.0

Compare Source

Feature
Patches
Misc

New Contributors

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

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

Feature

Checkout subscription docs and useSWRInfinite parallel fetching docs for more details

Patches

Misc

New Contributors

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

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


Configuration

📅 Schedule: Branch creation - "after 10pm every weekday,every weekend,before 5am every weekday" (UTC), 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 force-pushed the renovate/swr-2.x branch from b680c9e to c64e430 Compare March 24, 2023 23:27
@renovate renovate bot force-pushed the renovate/swr-2.x branch from c64e430 to a69e981 Compare April 3, 2023 09:43
@renovate renovate bot force-pushed the renovate/swr-2.x branch from a69e981 to 537cc1b Compare April 17, 2023 10:54
@renovate renovate bot force-pushed the renovate/swr-2.x branch from 537cc1b to 6200077 Compare May 28, 2023 10:16
@renovate renovate bot force-pushed the renovate/swr-2.x branch from 6200077 to bcd1d12 Compare June 22, 2023 21:50
@renovate renovate bot force-pushed the renovate/swr-2.x branch from bcd1d12 to 3720a6c Compare August 11, 2023 18:39
@renovate renovate bot force-pushed the renovate/swr-2.x branch from 3720a6c to f6c5843 Compare August 27, 2023 12:51
@renovate renovate bot force-pushed the renovate/swr-2.x branch 2 times, most recently from 750924c to b494c2b Compare September 25, 2023 15:06
@renovate renovate bot force-pushed the renovate/swr-2.x branch from b494c2b to 807be3f Compare February 16, 2024 01:54
@renovate renovate bot changed the title Update dependency swr to v2 Update dependency swr to v2 - autoclosed Dec 8, 2024
@renovate renovate bot closed this Dec 8, 2024
@renovate renovate bot deleted the renovate/swr-2.x branch December 8, 2024 18:48
@renovate renovate bot changed the title Update dependency swr to v2 - autoclosed Update dependency swr to v2 Dec 8, 2024
@renovate renovate bot reopened this Dec 8, 2024
@renovate renovate bot force-pushed the renovate/swr-2.x branch from 4488fab to 807be3f Compare December 8, 2024 22:00
@renovate renovate bot force-pushed the renovate/swr-2.x branch from 807be3f to 3ec43d8 Compare December 23, 2024 15:46
@renovate renovate bot force-pushed the renovate/swr-2.x branch 2 times, most recently from 509570c to bf137dc Compare February 5, 2025 19:15
@renovate renovate bot force-pushed the renovate/swr-2.x branch from bf137dc to f443ccd Compare March 6, 2025 21:08
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.

0 participants