Skip to content

fix(export): use managed stable version when rc dist-tag is stale (#407)#409

Open
Yonkoo11 wants to merge 1 commit into
OpenZeppelin:mainfrom
Yonkoo11:fix/staging-rc-dist-tag-stale
Open

fix(export): use managed stable version when rc dist-tag is stale (#407)#409
Yonkoo11 wants to merge 1 commit into
OpenZeppelin:mainfrom
Yonkoo11:fix/staging-rc-dist-tag-stale

Conversation

@Yonkoo11

Copy link
Copy Markdown

Closes #407

When versions.ts holds a stable semver (e.g. 2.3.0) and no RC snapshot exists, staging exports were falling back to the bare rc npm dist-tag. That tag currently resolves to 2.0.0-rc.1 (April 2026), which predates features shipped in stable releases — most visibly ENS name resolution (landed in 2.1.02.3.0).

Fix: When no RC version is available, staging now uses the managed stable version directly (with ^ prefix), matching the behavior of UI packages. This ensures staging exports always ship with the features documented in versions.ts.

Production exports are unaffected — they already pin ^<managedVersion>.

@Yonkoo11
Yonkoo11 requested a review from a team as a code owner July 26, 2026 07:30
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.

Staging exports pin adapters to a stale rc dist-tag → shipped adapter predates published features (breaks ENS)

1 participant