Skip to content

chore(release): version packages - #218

Merged
pasevin merged 1 commit into
mainfrom
changeset-release/main
Aug 24, 2026
Merged

chore(release): version packages#218
pasevin merged 1 commit into
mainfrom
changeset-release/main

Conversation

@oz-release-app

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@openzeppelin/ui-dev-cli@1.2.0

Minor Changes

  • #217 4a363a6 Thanks @pasevin! - Add oz-ui-dev check-peers, a static guard for stale @openzeppelin/ui-* pins.

    @openzeppelin/adapter-* packages declare peerDependencies on @openzeppelin/ui-* but
    enforce them only at runtime, inside validatePeerVersions(). A repository that bumps the
    adapters to a new major without moving its ui-* pins passes typecheck, tests, build and
    lint, and then fails in the browser with the network runtime stuck in a failed state. There
    was nothing to catch it before the app was loaded.

    pnpm exec oz-ui-dev check-peers --project "$PWD"

    The command follows the same contract as doctor: -p, --project defaults to the current
    working directory, --json emits a machine-readable result with an ok boolean and an
    issues array, and the process exits 1 on failure.

    Workspace resolution reuses collectWorkspacePackageDirs, so it scans
    node_modules/@openzeppelin at the repository root and next to every workspace package
    declared in pnpm-workspace.yaml. That covers repositories whose dependencies are hoisted to
    the root as well as those that install under an app, and it means an app resolving an older
    peer than its siblings is reported rather than hidden behind a hoisted copy.

    Comparison semantics mirror validatePeerVersions: each adapter bakes its peer minimums at
    build time as range.replace(/^\^/, ''), so the check compares the installed version against
    the minimum the range admits, not the range itself. ui-utils 4.0.0 against a declared
    ^2.0.0 passes, because the adapter only asks for >=2.0.0.

    Failure output names the workspace package.json files that declare the ranges, keeps the
    warning that a caret alone may not move the install (^3.3.0 already permits 3.5.1, so a
    stale lockfile entry stays stale until re-resolved), and mentions pnpm-workspace.yaml
    overrides only when the repository actually pins @openzeppelin/ui-* there.

    Nothing-to-check states — no @openzeppelin packages, no adapters installed, no peers
    resolved — are failures rather than a silent pass, since in CI they mean the install did not
    run or --project points at the wrong root.

    This is a separate command from doctor by design. doctor validates the local-development
    workflow (families, repo roots, packed manifests) and is expected to report issues in CI,
    where local development is off; this guard has to pass there.

@oz-release-app
oz-release-app Bot requested a review from a team as a code owner August 21, 2026 14:03
@netlify

netlify Bot commented Aug 21, 2026

Copy link
Copy Markdown

Deploy Preview for openzeppelin-ui ready!

Name Link
🔨 Latest commit cb9a554
🔍 Latest deploy log https://app.netlify.com/projects/openzeppelin-ui/deploys/6a885acd22611500097a7151
😎 Deploy Preview https://deploy-preview-218--openzeppelin-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@pasevin
pasevin merged commit d4cbc4e into main Aug 24, 2026
14 checks passed
@pasevin
pasevin deleted the changeset-release/main branch August 24, 2026 12:23
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 24, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant