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.
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ swr (2.2.1 → 2.2.5) · Repo
Release Notes
2.2.5
2.2.4
2.2.3
2.2.2
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 22 commits:
2.2.5
fix: SWRConfiguration type (#2882)
feat: pass a function to the revalidate option in mutate (#2862)
fix: allow onErrorRetry on inactive tab without focus/reconnect revalidation (#2848)
types: isLoading typed as boolean when using fallbackData (#2866) (#2875)
chore: remove useless comment (#2868)
chore: update pnpm-lock.yaml (#2874)
build: use new bundle convention (#2865)
test: run pnpm test on CI (#2872)
fix: all act warnings (#2861)
Update bundler (#2830)
2.2.4
Revert "Remove `index.js` suffix of `use-sync-external-store/shim` to support React Native" (#2802)
2.2.3
test: update tests, use matched types for mutate api (#2781)
types: export mutation types (#2780)
fix: default to fetch type in keyed mutator (#2753)
Remove `index.js` suffix of `use-sync-external-store/shim` to support React Native (#2767)
fix: remove permissive type (#2759)
2.2.2
fix: simplify `ArgumentsTuple` (#2761)
fix: It should use startTransition only when IS_REACT_LEGACY is false (#2756)
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands