Skip to content

Update dependency swr to v2.1.0#148

Merged
tudddorrr merged 1 commit intodevelopfrom
renovate/swr-2.x-lockfile
Mar 19, 2023
Merged

Update dependency swr to v2.1.0#148
tudddorrr merged 1 commit intodevelopfrom
renovate/swr-2.x-lockfile

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 19, 2023

Mend Renovate

This PR contains the following updates:

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

Release Notes

vercel/swr

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


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 has been generated by Mend Renovate. View repository job log here.

@codecov
Copy link

codecov bot commented Mar 19, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (9cc23e4) 97.83% compared to head (e4d70fa) 97.83%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #148   +/-   ##
========================================
  Coverage    97.83%   97.83%           
========================================
  Files           86       86           
  Lines         6058     6058           
  Branches       382      382           
========================================
  Hits          5927     5927           
  Misses         130      130           
  Partials         1        1           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@tudddorrr tudddorrr merged commit 0a1106a into develop Mar 19, 2023
@tudddorrr tudddorrr deleted the renovate/swr-2.x-lockfile branch March 19, 2023 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant