Skip to content

feat(release): unify product versioning - #121

Merged
SarthakWade merged 3 commits into
mainfrom
feat/unified-product-version
Aug 12, 2026
Merged

feat(release): unify product versioning#121
SarthakWade merged 3 commits into
mainfrom
feat/unified-product-version

Conversation

@SarthakWade

@SarthakWade SarthakWade commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • embed one validated product version in the CLI, both hosts, and the stdio MCP adapter while keeping protocol versioning independent
  • add headless version / headless --version, include productVersion in host ping, and align package metadata with the latest tag
  • propagate tag versions through macOS and Linux release builds, reject invalid or mismatched release tags, and generate release notes
  • document the release/version contract and mark backlog item E6 complete

Security and correctness

  • product versions are compile-time constants, not runtime environment values
  • semantic-version validation prevents compiler-definition injection
  • release jobs fail closed when a tag does not match the checked-in version
  • Docker and native builds use the same fallback and override contract

Verification

  • HEADLESS_VERSION=2.3.4-beta.1 pnpm test (44/44 protocol tests and MCP integration)
  • pnpm test:runtime
  • pnpm --filter @headless/web lint
  • pnpm --filter @headless/web build
  • Prettier check on changed JSON/YAML files
  • pnpm test:e2e:linux
  • pnpm test:e2e:mac
  • macOS CLI and Info.plist version assertions
  • custom-version Docker build and runtime assertion

Closes #44

@SarthakWade
SarthakWade marked this pull request as ready for review August 12, 2026 15:58
@SarthakWade
SarthakWade merged commit d7df333 into main Aug 12, 2026
12 checks passed
@SarthakWade
SarthakWade deleted the feat/unified-product-version branch August 12, 2026 15:58
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.

E6 — Unify versioning: --version, CHANGELOG, release automation

1 participant