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

fix(deps): update dependency swr to v2 #8

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 15, 2023

This PR contains the following updates:

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

Release Notes

vercel/swr (swr)

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 - "before 10pm on Sunday" in timezone Europe/Madrid, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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.


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

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

@relativeci
Copy link

relativeci bot commented Jan 15, 2023

#1181 Bundle Size — 1.14MiB (-0.04%).

fac7fb7(current) vs ef7a4db master#1176(baseline)

Warning

Bundle contains 3 duplicate packages – View duplicate packages

Warning

Bundle introduced one new package: use-sync-external-store – View changed packages

Bundle metrics  Change 3 changes Regression 1 regression Improvement 1 improvement
                 Current
#1181
     Baseline
#1176
Improvement  Initial JS 443.12KiB(-0.11%) 443.6KiB
No change  Initial CSS 0B 0B
No change  Cache Invalidation 0% 0%
No change  Chunks 7 7
No change  Assets 9 9
Change  Modules 661(+0.76%) 656
No change  Duplicate Modules 0 0
No change  Duplicate Code 0% 0%
Regression  Packages 95(+1.06%) 94
No change  Duplicate Packages 3 3
Bundle size by type  Change 1 change Improvement 1 improvement
                 Current
#1181
     Baseline
#1176
Improvement  JS 635.6KiB (-0.08%) 636.07KiB
No change  CSS 533.26KiB 533.26KiB

Bundle analysis reportBranch renovate-swr-2.xProject dashboard


Generated by RelativeCIDocumentationReport issue

@renovate renovate bot mentioned this pull request Jan 20, 2023
1 task
@renovate renovate bot force-pushed the renovate-swr-2.x branch 7 times, most recently from 2ad1fd6 to ae8537a Compare March 6, 2023 10:43
@renovate renovate bot force-pushed the renovate-swr-2.x branch 6 times, most recently from 20c8bcc to b16e68e Compare June 4, 2023 04:24
@renovate renovate bot force-pushed the renovate-swr-2.x branch 2 times, most recently from 6f6b7f3 to 94619e3 Compare June 25, 2023 00:39
@renovate renovate bot force-pushed the renovate-swr-2.x branch 12 times, most recently from 5a585e5 to 819dfd6 Compare September 24, 2023 21:42
@renovate renovate bot force-pushed the renovate-swr-2.x branch 5 times, most recently from 9138e68 to 1d5dec7 Compare September 29, 2024 03:03
@renovate renovate bot force-pushed the renovate-swr-2.x branch 3 times, most recently from a12121e to 239a013 Compare October 6, 2024 03:49
@renovate renovate bot force-pushed the renovate-swr-2.x branch 3 times, most recently from 5368915 to 06ec941 Compare October 13, 2024 03:14
@renovate renovate bot force-pushed the renovate-swr-2.x branch 3 times, most recently from 6fa9c99 to 0b47e92 Compare October 20, 2024 07:07
@renovate renovate bot force-pushed the renovate-swr-2.x branch 3 times, most recently from ad7a6b8 to 2e20396 Compare October 27, 2024 18:50
@renovate renovate bot force-pushed the renovate-swr-2.x branch 4 times, most recently from 00faa4a to 6abcec7 Compare November 3, 2024 12:17
@renovate renovate bot force-pushed the renovate-swr-2.x branch 2 times, most recently from d78486f to 41a476a Compare November 17, 2024 03:48
@renovate renovate bot force-pushed the renovate-swr-2.x branch 3 times, most recently from e7c5e99 to 0660559 Compare November 24, 2024 04:21
@renovate renovate bot force-pushed the renovate-swr-2.x branch 2 times, most recently from dbb144e to 5a1a22c Compare December 1, 2024 07:40
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.

0 participants