- Notifications
You must be signed in to change notification settings - Fork1
fix(deps): update dependency swr to v2#48
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Open
renovate wants to merge1 commit intomainChoose a base branch fromrenovate/swr-2.x
base:main
Could not load branches
Branch not found:{{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline, and old review comments may become outdated.
Uh oh!
There was an error while loading.Please reload this page.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
vercelbot commentedSep 19, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
The latest updates on your projects. Learn more aboutVercel for GitHub.
|
6f10d74 toa98b269Comparea98b269 to4336da2Compare4336da2 to52a7952CompareSign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading.Please reload this page.
This PR contains the following updates:
1.3.0->2.3.6Release Notes
vercel/swr (swr)
v2.3.6Compare Source
Patches
Full Changelog:vercel/swr@v2.3.5...v2.3.6
v2.3.5Compare Source
Patches
useSWRConfigwithuseMemoto maintain stable reference by@samuel871211 in#4110#4076
Chores
PublicConfiguration.onDiscardedtsdoc with SWR official website by@samuel871211 inNew Contributors
Full Changelog:vercel/swr@v2.3.4...v2.3.5
v2.3.4Compare Source
What's Changed
datatype by@oosawy in#4126New Contributors
Full Changelog:vercel/swr@v2.3.3...v2.3.4
v2.3.3Compare Source
Patches
Misc
New Contributors
Full Changelog:vercel/swr@v2.3.2...v2.3.3
v2.3.2Compare Source
Patches
Full Changelog:vercel/swr@v2.3.1...v2.3.2
v2.3.1Compare Source
Fixes
throwOnErrorin SWRMutationHook options by@Ram4GB in#3054Misc
useSWRHandlerby@samuel871211 in#4075New Contributors
Full Changelog:vercel/swr@v2.3.0...v2.3.1
v2.3.0Compare Source
Feature
Patches
fallbackby@shuding in#3045Misc
New Contributors
Full Changelog:vercel/swr@v2.2.5...v2.3.0
v2.2.5Compare Source
Patches
Misc
New Contributors
Full Changelog:vercel/swr@v2.2.4...v2.2.5
v2.2.4Compare Source
Patches
index.jssuffix ofuse-sync-external-store/shimto support React Native" by@huozhi in#2802Full Changelog:vercel/swr@v2.2.3...v2.2.4
v2.2.3Compare Source
Patches
index.jssuffix ofuse-sync-external-store/shimto support React Native by@malash in#2767Misc
New Contributors
Full Changelog:vercel/swr@v2.2.2...v2.2.3
v2.2.2Compare Source
What's Changed
ArgumentsTupleby@Andarist in#2761New Contributors
Full Changelog:vercel/swr@v2.2.1...v2.2.2
v2.2.1Compare Source
What's Changed
revalidateto supportparalleloption by@promer94 in#2727New Contributors
Full Changelog:vercel/swr@v2.2.0...v2.2.1
v2.2.0Compare Source
What's Changed
React.useAPI by@himself65 in#2596startTransitionso mutation hook could update immediately by@promer94 in#2654useSWRMutationtype. by@promer94 in#2604New Contributors
Full Changelog:vercel/swr@v2.1.5...v2.2.0
v2.1.5Compare Source
What's Changed
Full Changelog:vercel/swr@v2.1.4...v2.1.5
v2.1.4Compare Source
What's Changed
New Contributors
Full Changelog:vercel/swr@v2.1.3...v2.1.4
v2.1.3Compare Source
What's Changed
DataforuseSWRSubscriptionOptionsby@promer94 in#2551New Contributors
Full Changelog:vercel/swr@v2.1.2...v2.1.3
v2.1.2Compare Source
Patches
swr/subscriptionSWRSubscriptionOptionstype forswr/subscriptionChanges
useSWRSubscriptiontypes by@promer94 in#2535New Contributors
Full Changelog:vercel/swr@v2.1.1...v2.1.2
v2.1.1Compare Source
Patches
datatype for defaultSWRConfiggeneric type by@connorch in#2506Documentation
New Contributors
Full Changelog:vercel/swr@v2.1.0...v2.1.1
v2.1.0Compare Source
Feature
Checkoutsubscription docs anduseSWRInfinite parallel fetching docs for more details
Patches
Misc
New Contributors
Full Changelog:vercel/swr@v2.0.4...v2.1.0
v2.0.4Compare Source
Patches
Misc
New Contributors
Full Changelog:vercel/swr@v2.0.3...v2.0.4
v2.0.3Compare Source
Patches
Chores
-characters in README.md by@JanKaifer in#2334New Contributors
Full Changelog:vercel/swr@v2.0.2...v2.0.3
v2.0.2Compare Source
Patches
Chores
Full Changelog:vercel/swr@v2.0.1...v2.0.2
v2.0.1Compare Source
In this patch release, we majorly improved typing support and SWR can infer the types based on the configuration.
suspenseoption istrue, the returneddatawill excludeundefinedand theisLoadingwill always befalse.fallbackDataoption is provided, the returneddatawill be the same type offallbackData, and theisLoadingwill always befalse.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.0Compare 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:
And more!
Read our blog post and migration guide:https://swr.vercel.app/blog/swr-v2
What's Changed
isLoadingstate and refactor the core by@shuding in#1928keepPreviousDataoption by@shuding in#1929Configuration
📅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.
This PR was generated byMend Renovate. View therepository job log.