Skip to content

chore(release): bump to v0.4.5 + fix npm OIDC publishing#71

Merged
derek-palmer merged 1 commit into
mainfrom
release/0.4.5
May 29, 2026
Merged

chore(release): bump to v0.4.5 + fix npm OIDC publishing#71
derek-palmer merged 1 commit into
mainfrom
release/0.4.5

Conversation

@derek-palmer
Copy link
Copy Markdown
Owner

Release 0.4.5 — brings npm back in sync with current code and unblocks automated npm publishing.

Background

npm was stuck at 0.4.3 while PyPI/repo sat at 0.4.4 with 14 unreleased commits. Root cause of the npm gap: the npm-publish workflow has never succeeded — every run 404s at the publish step. Two causes:

  1. No trusted publisher configured on npmjs.com for codeforerunner (OIDC, tokenless). 0.4.3 reached npm via a manual hand-publish.
  2. CI ran npm 10.x (bundled with Node 22), but OIDC trusted publishing requires npm ≥ 11.5.1 — npm 10 silently falls back to anonymous publish → registry 404.

Changes

  • ci(npm-publish): add npm install -g npm@latest before publish; fix the misleading Node-version comment (it is the npm CLI version that gates OIDC trusted publishing, not the Node version).
  • Bump 0.4.4 → 0.4.5 across pyproject.toml, package.json, marketplace.json (×2), README Socket badge, install.sh, install.ps1 via scripts/bump-version.sh.
  • CHANGELOG.md: add [0.4.5].
  • Also deleted the malformed v.0.4.4 git tag (stray dot, pointed at an unrelated commit, caused spurious failed runs).

Required manual step before tagging

OIDC trusted publishing must be configured on npmjs.com (owner-only, 2FA):
npmjs.com → package codeforerunner → Settings → Trusted Publishers → GitHub Actions:

  • Owner derek-palmer · Repo codeforerunner · Workflow npm-publish.yml · Environment npm

Once configured + this PR merged, push tag v0.4.5 → publishes npm 0.4.5 (OIDC) + PyPI 0.4.5 + Docker + Codex marketplace, all in sync.

Validation

  • scripts/check_versions.py — 6-way parity OK
  • scripts/validate_codex_marketplace.py — exit 0
  • pytest 253 passed · npm test 8 passed

Decided to skip a 0.4.4 npm backfill (OIDC cannot publish from a laptop, and re-pushing v0.4.4 would re-trigger duplicate PyPI/Docker publishes) — npm goes 0.4.3 → 0.4.5.

Sync npm with current code (npm stuck at 0.4.3; PyPI/repo at 0.4.4
with 14 unreleased commits) and unblock automated npm publishing.

- ci(npm-publish): upgrade npm CLI before publish. Node 22 bundles
  npm 10.x, which lacks OIDC trusted-publishing support and falls
  back to anonymous publish — registry returns 404. Trusted
  publishing needs npm >= 11.5.1.
- bump 0.4.4 -> 0.4.5 across pyproject, package.json, marketplace,
  README badge, install.sh, install.ps1 (scripts/bump-version.sh)
- changelog: add [0.4.5]

Requires the npmjs trusted publisher to be configured for
codeforerunner (repo derek-palmer/codeforerunner, workflow
npm-publish.yml, environment npm) before the v0.4.5 tag is pushed.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@derek-palmer derek-palmer merged commit d21c3de into main May 29, 2026
10 checks passed
@derek-palmer derek-palmer deleted the release/0.4.5 branch May 29, 2026 13:43
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