Skip to content

chore: use strict-compatible range syntax for peer deps#5670

Draft
rtomas wants to merge 5 commits into
mainfrom
rtomas/strict-dep-versions
Draft

chore: use strict-compatible range syntax for peer deps#5670
rtomas wants to merge 5 commits into
mainfrom
rtomas/strict-dep-versions

Conversation

@rtomas
Copy link
Copy Markdown
Contributor

@rtomas rtomas commented May 14, 2026

Description

Replace ^X.Y.Z specifiers in five package.jsons with the equivalent >=X.Y.Z <(X+1).0.0 range. Same semantics (cap at next major) but passes the DangerJS strict-versioning check, which flags any added ^ or ~.

Affected: packages/adapters/wagmi (@wagmi/connectors, @wagmi/core, viem, wagmi), packages/appkit-utils, packages/appkit, packages/common, packages/controllers (viem in each).

Type of change

  • Chore (non-breaking change that addresses non-functional tasks, maintenance, or code quality improvements)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Associated Issues

closes #5492

Checklist

  • Code in this PR is covered by automated tests (Unit tests, E2E tests)
  • My changes generate no new warnings
  • I have reviewed my own code
  • I have filled out all required sections
  • I have tested my changes on the preview link
  • Approver of this PR confirms that the changes are tested on the preview link

rtomas and others added 4 commits April 29, 2026 19:52
Replace `>=` with `^` for `wagmi`, `@wagmi/core`, `@wagmi/connectors`, and
`viem` so a fresh install no longer resolves to incompatible majors
(notably wagmi v3, which is not supported).

closes #5492

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Replace ^X.Y.Z with >=X.Y.Z <(X+1).0.0 so the DangerJS strict-versioning
check passes while still capping at the next major.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 14, 2026

🦋 Changeset detected

Latest commit: 586e619

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 26 packages
Name Type
@reown/appkit-adapter-wagmi Patch
@reown/appkit-controllers Patch
@reown/appkit-common Patch
@reown/appkit-utils Patch
@reown/appkit Patch
@reown/appkit-cdn Patch
@reown/appkit-adapter-bitcoin Patch
@reown/appkit-adapter-ethers Patch
@reown/appkit-adapter-ethers5 Patch
@reown/appkit-adapter-solana Patch
@reown/appkit-adapter-ton Patch
@reown/appkit-adapter-tron Patch
@reown/appkit-ui Patch
@reown/appkit-core Patch
@reown/appkit-scaffold-ui Patch
@reown/appkit-siwe Patch
@reown/appkit-siwx Patch
@reown/appkit-wallet-button Patch
@reown/appkit-experimental Patch
@reown/appkit-pay Patch
@reown/appkit-universal-connector Patch
@reown/appkit-wallet Patch
@reown/appkit-testing Patch
@reown/appkit-polyfills Patch
@reown/appkit-cli Patch
@reown/appkit-codemod Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 14, 2026

Visual Regression Test Results ❌ Failed

✨ No visual changes detected

Chromatic Build: URL not available
Storybook Preview: Not available

@vercel
Copy link
Copy Markdown

vercel Bot commented May 14, 2026

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

Project Deployment Actions Updated (UTC)
appkit-demo Error Error May 14, 2026 0:22am
appkit-gallery Error Error May 14, 2026 0:22am
appkit-headless-sample-app Error Error May 14, 2026 0:22am
appkit-laboratory Error Error May 14, 2026 0:22am
9 Skipped Deployments
Project Deployment Actions Updated (UTC)
appkit-basic-example Ignored Ignored May 14, 2026 0:22am
appkit-basic-sign-client-example Ignored Ignored May 14, 2026 0:22am
appkit-basic-up-example Ignored Ignored May 14, 2026 0:22am
appkit-ethers5-bera Ignored Ignored May 14, 2026 0:22am
appkit-nansen-demo Ignored Ignored May 14, 2026 0:22am
appkit-wagmi-cdn-example Ignored Ignored May 14, 2026 0:22am
ethereum-provider-wagmi-example Ignored Ignored May 14, 2026 0:22am
next-wagmi-solana-bitcoin-example Ignored Ignored May 14, 2026 0:22am
vue-wagmi-example Ignored Ignored May 14, 2026 0:22am

Request Review

@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
Added@​safe-global/​safe-apps-sdk@​9.1.010010010083100
Added@​safe-global/​safe-apps-provider@​0.18.61001009283100

View full report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug] An improper version specification in the package.json of this repo causes an unsupported version of Wagmi to be unintentionally installed.

2 participants