chore: release v0.2.0 — version bump, CHANGELOG, and PyPI + GHCR publish workflow - #77
Conversation
…workflow - Bump version 0.1.0 -> 0.2.0 (pyproject + __init__); CLI version test now derives from __version__ instead of hardcoding. - Restructure CHANGELOG: assign the 18 unreleased changes to [0.2.0] (2026-06-11), merge the duplicate Fixed sections, add a fresh [Unreleased] block and proper compare links. - Add .github/workflows/release.yml: on a v* tag it builds + twine-checks the package and publishes to PyPI via OIDC Trusted Publishing (no token secret), and builds + pushes the lite/full Docker images to GHCR. Tag/package version mismatch fails the build. Verified locally: wheel builds and ships the prompts/anatomy *.txt + *.json data files, twine check passes, 122 tests green. https://claude.ai/code/session_01KYcUxCGAHaTPrRHTzJCWQz
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughThis PR releases version 0.2.0 by synchronizing the version constant across package metadata and code, adding a complete GitHub Actions release pipeline that builds distributions and publishes to PyPI and GHCR, and preparing the changelog with an Unreleased section and cleaned-up documentation. ChangesRelease v0.2.0
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Why
v0.1.0(21 May) is the only release, yet 18 commits have landed onmainsince — including all the security hardening (consent gate, SSRF guard, web auth, PHI redaction), reliability fixes, and new features (anatomy templates, discovery CLI, model-ID fixes). Meanwhilepip install medcheckandghcr.io/liohtml/medcheckare advertised in the README but no automation actually publishes them — the repo only hadci.yml+codeql.yml. This PR cuts a realv0.2.0and adds the missing publish pipeline.Changes
0.1.0 → 0.2.0inpyproject.toml+__init__.py. The CLI version test now derives from__version__so it won't need manual edits on future bumps.[0.2.0] - 2026-06-11, the two duplicate### Fixedsections are merged, a fresh empty[Unreleased]block is added, and propercomparelinks are wired (v0.1.0...v0.2.0)..github/workflows/release.yml— triggered on av*tag:twine check;:latest,:<tag>,:lite,:full,:<tag>-lite/-full) with buildx + GHA cache.Verified locally
medcheck-0.2.0and ships the data files (prompts/anatomy/*.txt,prompts/*.txt,report_schema.json) — the recurring packaging risk is checked.twine checkpasses on both artifacts.ruff,ruff format, 122 tests all green.medcheck, workflowrelease.yml, environmentpypi. (Also confirm themedcheckname on PyPI is owned by this project.)Note on positioning
Before broadening distribution, consider landing the intended-use / disclaimer docs (#59 D) given the medical-device positioning discussed in the pipeline epic (#51). Not a blocker for this PR, but worth a conscious decision before the tag is pushed.
https://claude.ai/code/session_01KYcUxCGAHaTPrRHTzJCWQz
Generated by Claude Code
Summary by CodeRabbit
Chores
Tests