Skip to content

chore: prep for 2.0.5 release#568

Merged
ignaciosantise merged 6 commits into
mainfrom
develop
Jun 10, 2026
Merged

chore: prep for 2.0.5 release#568
ignaciosantise merged 6 commits into
mainfrom
develop

Conversation

@ignaciosantise

Copy link
Copy Markdown
Collaborator

This pull request primarily updates and pins dependency versions across the monorepo and example projects, with a focus on improving compatibility and stability.

Dependency version pinning and updates:

  • Pinned peer dependency version ranges for several @reown/appkit-* React Native packages to ensure consistent and predictable installs. (.changeset/cuddly-heads-type.md)

Peer dependency range tightening:

  • Tightened peer dependency ranges for @react-native-community/netinfo and react-native-get-random-values in packages/ethers/package.json and packages/wagmi/package.json to require minimum versions, improving compatibility guarantees. [1] [2]

Tooling and dev dependency maintenance:

  • Upgraded dev dependencies such as tsconfig and turbo to newer versions in the root package.json, helping maintain build and test tooling.

Overall, these changes help ensure the project uses compatible and up-to-date dependencies, reducing the risk of version conflicts and improving overall stability.

ignaciosantise and others added 6 commits May 21, 2026 16:12
Replace `*` wildcards with bounded ranges in published packages and pin
the root tsconfig devDependency:

- packages/ethers, packages/wagmi: peerDependencies
  `@react-native-community/netinfo` and `react-native-get-random-values`
  changed from `*` to `>=11.0.0` / `>=1.11.0`
- root tsconfig devDependency `*` -> `7.0.0`

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
chore: pin peer dependency version ranges
Patches 34 of 39 open Dependabot alerts via resolution/override bumps to
the first patched release; no source changes.

Root (resolutions + turbo devDep):
- shell-quote -> 1.8.4 (critical)
- @xmldom/xmldom 0.8.12 -> 0.8.13, fast-uri -> 3.1.2,
  @babel/plugin-transform-modules-systemjs -> 7.29.4 (high)
- tmp 0.2.4 -> 0.2.6 (high)
- ws ^8.18.1 -> ^8.20.1, qs 6.14.2 -> 6.15.2, postcss 8.4.31 -> 8.5.10 (medium)
- turbo 2.5.5 -> 2.9.14 (medium/low)

Example app (examples/expo-multichain overrides):
- hono 4.12.12 -> 4.12.21 (10 alerts)
- @xmldom/xmldom 0.8.13, fast-uri 3.1.2, shell-quote 1.8.4 (critical/high)
- ws 8.20.1, postcss 8.5.10, brace-expansion 5.0.5 -> 5.0.6 (medium)

The remaining 5 alerts are dismissed separately (not exploitable in this
tree, or no published patch): uuid x2, ip-address, bigint-buffer x2.

Verified: yarn build, yarn test, yarn lint all pass.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Forcing ws to a single hoisted version (8.20.1) changed Metro module
resolution so the example bundles ws's Node build (which does
`require('stream')`) instead of the React-Native/browser shim it used
before. This broke `expo export`/`expo run` for the example with:
"Unable to resolve module stream from .../ws/lib/stream.js".

The example has no metro.config.js to shim Node core modules (unlike
apps/native), so the ws security bump can't be applied here without
breaking the bundle. Dropping the override restores a clean bundle
(verified: `expo export --platform ios` -> 4060 modules, exit 0).

The example's ws alert (#272) is dismissed separately as tolerable_risk
(sample app, not published; patched ws breaks Metro resolution).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
chore(security): bump dependencies to resolve Dependabot alerts
@changeset-bot

changeset-bot Bot commented Jun 10, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: c1b28b1

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

This PR includes changesets to release 9 packages
Name Type
@reown/appkit-react-native Patch
@reown/appkit-bitcoin-react-native Patch
@reown/appkit-coinbase-react-native Patch
@reown/appkit-common-react-native Patch
@reown/appkit-core-react-native Patch
@reown/appkit-ethers-react-native Patch
@reown/appkit-solana-react-native Patch
@reown/appkit-ui-react-native Patch
@reown/appkit-wagmi-react-native 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

@claude

claude Bot commented Jun 10, 2026

Copy link
Copy Markdown

Claude finished @ignaciosantise's task in 34s —— View job


  • Gather context & read changed files
  • Spawn license compliance subagent — ✅ No issues found
  • Spawn data classification subagent — ✅ No issues found
  • Spawn breaking changes subagent — ⚠️ 3 issues found
  • Synthesize findings & post final review

Found 3 issue(s)

Issue 1: Narrowing netinfo peer dep from *>=11.0.0 excludes large installed base

ID: brk-ethers-wagmi-peerdep-netinfo-tighten-a3f2
File: packages/ethers/package.json:46, packages/wagmi/package.json:47
Severity: HIGH
Category: breaking_change

Context:

  • Pattern: @react-native-community/netinfo minimum raised from *>=11.0.0, excluding v4.x–v10.x.
  • Risk: Consumers on netinfo 4.x–10.x will receive hard peer dep resolution failures. v11.0.0 also introduced a hard Android compileSdk >= 33 requirement, forcing consumers on older build configs to do more than just bump a single dep.
  • Impact: Any existing consumer with netinfo < 11.0.0 will be blocked from upgrading to 2.0.5 without additional work.
  • Trigger: Any install/upgrade by a consumer with netinfo < 11.0.0 pinned.

Recommendation: If older netinfo versions are genuinely incompatible (runtime failures), document this and ship as minor. If they remain functional, revert to a less aggressive minimum (e.g. >=9.0.0). Either way, see Issue 3 on the changeset type.


Issue 2: Changeset marks all packages as patch for a range-narrowing breaking change

ID: brk-changeset-peerdep-semver-mismatch-f5e8
File: .changeset/cuddly-heads-type.md:1
Severity: HIGH
Category: breaking_change

Context:

  • Pattern: All 9 packages marked patch for a change that narrows peer dep ranges.
  • Risk: Narrowing peer dep minimums is a breaking change under semver — it can cause existing consumer installs to fail. Publishing as patch signals it is safe to auto-apply (Dependabot, Renovate will do so), surfacing peer dep errors in CI for consumers on older versions.
  • Impact: Misleading semver metadata for the entire consumer ecosystem.
  • Trigger: Any consumer using automated patch-update tooling.

Recommendation: Change patchminor for at minimum @reown/appkit-ethers-react-native and @reown/appkit-wagmi-react-native. Bumping all nine to minor to keep versions in sync is also acceptable. Add a note in the changeset body listing the new minimum peer dep versions:

'@reown/appkit-ethers-react-native': minor
'@reown/appkit-wagmi-react-native': minor

Issue 3: Narrowing get-random-values peer dep from *>=1.11.0 excludes v1.8–v1.10 without functional necessity

ID: brk-ethers-wagmi-peerdep-rngvalues-tighten-c7d1
File: packages/ethers/package.json:50, packages/wagmi/package.json:52
Severity: MEDIUM
Category: breaking_change

Context:

  • Pattern: react-native-get-random-values minimum raised from *>=1.11.0. The only new capability in v1.11.0 was bridgeless architecture support — it is not a bugfix, so v1.8–v1.10 remain functionally correct for standard (non-bridgeless) use.
  • Risk: Consumers not using bridgeless mode on v1.8–v1.10 will get peer dep failures when upgrading, despite no functional incompatibility.
  • Impact: Unnecessary friction for non-bridgeless consumers upgrading to 2.0.5.
  • Trigger: Peer dep resolution failure on install if react-native-get-random-values is pinned below 1.11.0.

Recommendation: If the library does not depend on bridgeless-specific behavior, use >=1.8.0 or >=1.9.0 instead. If it does, document it in the changeset body and treat as minor.

@socket-security

Copy link
Copy Markdown

@socket-security

Copy link
Copy Markdown

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
Obfuscated code: npm react-native is 90.0% likely obfuscated

Confidence: 0.90

Location: Package overview

From: apps/native/package.jsonnpm/react-native@0.76.7

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/react-native@0.76.7. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
Obfuscated code: npm react-native is 90.0% likely obfuscated

Confidence: 0.90

Location: Package overview

From: packages/appkit/package.jsonnpm/react-native@0.80.2

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/react-native@0.80.2. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

@ignaciosantise ignaciosantise merged commit 6f65ef1 into main Jun 10, 2026
23 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 10, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant