Skip to content

chore: upgrade swr to v2#425

Merged
ECWireless merged 1 commit intomainfrom
356-upgrade-swr-to-v2
Dec 3, 2025
Merged

chore: upgrade swr to v2#425
ECWireless merged 1 commit intomainfrom
356-upgrade-swr-to-v2

Conversation

@ECWireless
Copy link
Collaborator

This pull request updates the swr package from version 1.3.0 to 2.3.7.

Copilot AI review requested due to automatic review settings December 3, 2025 03:20
@ECWireless ECWireless linked an issue Dec 3, 2025 that may be closed by this pull request
@vercel
Copy link
Contributor

vercel bot commented Dec 3, 2025

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

Project Deployment Preview Comments Updated (UTC)
explorer-arbitrum-one Ready Ready Preview Comment Dec 3, 2025 3:21am

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR upgrades the swr package from version 1.3.0 to 2.3.7, bringing improved React 19 support and performance enhancements through built-in use of use-sync-external-store. The upgrade introduces two new transitive dependencies (dequal for deep equality checks and use-sync-external-store for React state synchronization) and updates the peer dependency specification to explicitly support React 19.

  • Updated swr dependency specification from ^1.3.0 to ^2.3.7 in package.json
  • Lockfile reflects the version update and new transitive dependencies
  • Peer dependency now explicitly includes React 19 support

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
package.json Updates the swr dependency specifier from ^1.3.0 to ^2.3.7
pnpm-lock.yaml Updates lockfile to reflect SWR v2.3.7 with new dependencies (dequal@2.0.3, use-sync-external-store@1.6.0) and updates peer dependency to support React 19
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ECWireless ECWireless requested a review from Jipperism December 3, 2025 03:23
@github-project-automation github-project-automation bot moved this from Backlog to Todo in Explorer Revamp Dec 3, 2025
@ECWireless ECWireless merged commit 2442587 into main Dec 3, 2025
10 checks passed
@ECWireless ECWireless deleted the 356-upgrade-swr-to-v2 branch December 3, 2025 13:53
@github-project-automation github-project-automation bot moved this from Todo to Done in Explorer Revamp Dec 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

Upgrade SWR to v2

3 participants