Skip to content

fix(release): bump @prosopo/cli so the next release cuts 3.7.1 - #2974

Merged
HughParry merged 1 commit into
mainfrom
fix/release-version-bump-3.7.1
Aug 4, 2026
Merged

fix(release): bump @prosopo/cli so the next release cuts 3.7.1#2974
HughParry merged 1 commit into
mainfrom
fix/release-version-bump-3.7.1

Conversation

@HughParry

Copy link
Copy Markdown
Contributor

The release run after v3.7.0 produced 3.7.0 again rather than 3.7.1.

Cause

create_release_pr derives the repo version from @prosopo/cli, not from the root package:

root_version=$(npm -w @prosopo/cli pkg get version | jq -r '.["@prosopo/cli"]')
npm pkg set version="$root_version"

The changesets pending after v3.7.0 target:

  • @prosopo/procaptcha-bundle
  • @prosopo/procaptcha-frictionless
  • @prosopo/client-bundle-example

@prosopo/cli depends on none of them, and .changeset/config.json has "fixed": [] / "linked": [], so nothing drags it along. changeset version bumped those three, left cli at 3.7.0, and the workflow copied 3.7.0 straight back into the root — a release that re-cut the same version.

No changeset has ever targeted the root @prosopo/captcha package, so this is the intended lever rather than a workaround.

Fix

A patch changeset against @prosopo/cli, taking it to 3.7.1, which the workflow then copies into the root.

After merging

Re-run create_release_pr and it should cut 3.7.1, picking up the three already-pending changesets alongside this one — including #2971, the detector/assign prefetch.

Worth considering separately: if the repo version is meant to track the whole monorepo, deriving it from one leaf package will keep producing this whenever a release touches nothing cli depends on. Adding @prosopo/cli to fixed alongside the packages that should move together, or deriving the version from the root, would remove the footgun.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XJ7KiTDKiu3mxQ4iuLFK2y

create_release_pr derives the repo version from @prosopo/cli:

  root_version=$(npm -w @prosopo/cli pkg get version | jq -r '.["@prosopo/cli"]')
  npm pkg set version="$root_version"

The changesets pending after v3.7.0 target @prosopo/procaptcha-bundle,
@prosopo/procaptcha-frictionless and @prosopo/client-bundle-example.
@prosopo/cli depends on none of them, so `changeset version` left it at
3.7.0 and the release re-cut 3.7.0 instead of moving to 3.7.1.

A patch changeset against @prosopo/cli moves it to 3.7.1, which the
workflow then copies into the root package.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XJ7KiTDKiu3mxQ4iuLFK2y
@HughParry
HughParry merged commit b68c3a1 into main Aug 4, 2026
10 of 11 checks passed
@HughParry
HughParry deleted the fix/release-version-bump-3.7.1 branch August 4, 2026 12:14
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.

1 participant