Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 15, 2023

This PR contains the following updates:

Package Change Age Confidence
swr (source) ^1.2.1 -> ^2.0.0 age confidence

Release Notes

vercel/swr (swr)

v2.3.6

Compare Source

Patches

Full Changelog: vercel/swr@v2.3.5...v2.3.6

v2.3.5

Compare Source

Patches

Chores

New Contributors

Full Changelog: vercel/swr@v2.3.4...v2.3.5

v2.3.4

Compare Source

What's Changed

New Contributors

Full Changelog: vercel/swr@v2.3.3...v2.3.4

v2.3.3

Compare Source

Patches
Misc

New Contributors

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

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

  • Revert "Remove index.js suffix of use-sync-external-store/shim to support React Native" by @​huozhi in #​2802

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 - "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

#1773 Bundle Size — 1.14MiB (+0.02%).

d95373e(current) vs da6cf20 master#1756(baseline)

Warning

Bundle contains 3 duplicate packages – View duplicate packages

Warning

Bundle introduced 2 new packages: use-sync-external-store, dequal – View changed packages

Bundle metrics  Change 4 changes Regression 2 regressions
                 Current
#1773
     Baseline
#1756
Regression  Initial JS 408.05KiB(~+0.01%) 408.04KiB
No change  Initial CSS 0B 0B
Change  Cache Invalidation 54.63% 0%
No change  Chunks 7 7
No change  Assets 9 9
Change  Modules 682(+1.49%) 672
No change  Duplicate Modules 0 0
No change  Duplicate Code 0% 0%
Regression  Packages 96(+2.13%) 94
No change  Duplicate Packages 3 3
Bundle size by type  Change 1 change Regression 1 regression
                 Current
#1773
     Baseline
#1756
Regression  JS 639.79KiB (+0.04%) 639.52KiB
No change  CSS 531.16KiB 531.16KiB

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 from 94619e3 to d945517 Compare July 2, 2023 04:47
@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 4 times, most recently from 4cb878f to 5024f78 Compare August 3, 2025 03:01
@renovate renovate bot force-pushed the renovate-swr-2.x branch 6 times, most recently from c05f9fb to a701717 Compare August 11, 2025 16:52
@renovate renovate bot force-pushed the renovate-swr-2.x branch 2 times, most recently from b5e67b9 to b2eeb1d Compare August 17, 2025 08:47
@renovate renovate bot force-pushed the renovate-swr-2.x branch 5 times, most recently from dd5222f to 56aa921 Compare August 24, 2025 21:35
@renovate renovate bot force-pushed the renovate-swr-2.x branch 2 times, most recently from c9940f6 to 1465677 Compare August 31, 2025 16:37
@renovate renovate bot force-pushed the renovate-swr-2.x branch 3 times, most recently from 05c2a45 to c2f331e Compare September 14, 2025 10:40
@renovate renovate bot force-pushed the renovate-swr-2.x branch 3 times, most recently from 552bd11 to 220b5a1 Compare September 21, 2025 13:40
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@renovate renovate bot force-pushed the renovate-swr-2.x branch from 7faa919 to d95373e Compare October 21, 2025 23:13
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.

2 participants