Skip to content

Bump swr from 2.4.1 to 2.5.0 - #308

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/swr-2.5.0
Open

Bump swr from 2.4.1 to 2.5.0#308
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/swr-2.5.0

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps swr from 2.4.1 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

v2.4.2

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for swr since your current version.


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.1 to 2.5.0.
- [Release notes](https://github.com/vercel/swr/releases)
- [Commits](vercel/swr@v2.4.1...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 6, 2026
@dependabot
dependabot Bot requested a review from a team August 6, 2026 14:34
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Aug 6, 2026
@vercel

vercel Bot commented Aug 6, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
toolbox Ready Ready Preview Aug 6, 2026 2:35pm

Request Review

@dependabot dependabot Bot mentioned this pull request Aug 6, 2026
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedswr@​2.4.1 ⏵ 2.5.0100 +110010095 +2100

View full report

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.

0 participants