Skip to content

chore(deps): bump swr from 2.4.2 to 2.5.0 - #2803

Merged
Piyush-85 merged 2 commits into
mainfrom
dependabot/npm_and_yarn/swr-2.5.0
Aug 10, 2026
Merged

chore(deps): bump swr from 2.4.2 to 2.5.0#2803
Piyush-85 merged 2 commits into
mainfrom
dependabot/npm_and_yarn/swr-2.5.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 10, 2026

Copy link
Copy Markdown
Contributor

Bumps swr from 2.4.2 to 2.5.0.

Release notes

Sourced from swr's releases.

v.2.5.0

Features

RSC cache preloading

Preload data in React Server Components and pass it to client hooks through SWRConfig. This avoids a duplicate initial browser request and hydrates the result into the SWR cache. The new cacheData option is experimental.

vercel/swr#4275

New unload() API

Use unload() to clear the entire SWR cache and discard in-flight requests and mutations. Mounted hooks revalidate by default, or you can pass { revalidate: false } to keep the cache empty until the next revalidation.

vercel/swr#4298

Fixes

New Contributors

Full Changelog: vercel/swr@v2.4.2...v2.5.0

v2.5.0-beta.1

Feature

Full Changelog: vercel/swr@v2.5.0-beta.0...v2.5.0-beta.1

v2.5.0-beta.0

Features

Patches

New Contributors

Full Changelog: vercel/swr@v2.4.2...v2.5.0-beta.0

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [swr](https://github.com/vercel/swr) from 2.4.2 to 2.5.0.
- [Release notes](https://github.com/vercel/swr/releases)
- [Commits](vercel/swr@v2.4.2...v2.5.0)

---
updated-dependencies:
- dependency-name: swr
  dependency-version: 2.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Aug 10, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner August 10, 2026 08:43
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Aug 10, 2026
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.98%. Comparing base (2bcf80d) to head (ff6637d).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2803   +/-   ##
=======================================
  Coverage   87.98%   87.98%           
=======================================
  Files          80       80           
  Lines       11515    11515           
  Branches     2385     2385           
=======================================
  Hits        10132    10132           
  Misses       1338     1338           
  Partials       45       45           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Piyush-85
Piyush-85 merged commit b1079e3 into main Aug 10, 2026
8 checks passed
@Piyush-85
Piyush-85 deleted the dependabot/npm_and_yarn/swr-2.5.0 branch August 10, 2026 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants