Skip to content

Releases: hidetzu/ccpr

v1.2.1

08 May 10:52
2a22fbb

Choose a tag to compare

Changelog

v1.2.0

08 May 10:28
20e44b5

Choose a tag to compare

Changelog

v1.1.0

04 May 07:06
e451a44

Choose a tag to compare

v1.1.0

Highlights

This release introduces an experimental MCP server (ccpr-mcp) exposing
ccpr's CodeCommit operations as tools for Claude Code and other MCP clients.

Features

  • Add ccpr-mcp binary with the ccpr_list tool for listing pull requests (#56)
  • Add ccpr_review tool for fetching PR metadata, comments, and unified diff (#59)
  • Add ccpr_comment tool for posting comments to PRs (write-side) (#62)
  • Add ccpr_create tool for creating new PRs (write-side) (#64)

Refactor

  • Extract list/review/comment/create pipelines into internal/app so the CLI
    and MCP paths share validation, AWS resolution, and CodeCommit calls

Fixes

  • Wrap ccpr_list MCP output in an object so the tool registers without
    panicking on startup (#57)
  • Restore CLI flag-aware wording (--repo and --pr-id flags, --region flag)
    for validation errors after the shared use-case extraction (#65)

Notes

  • MCP write-side tools (ccpr_comment, ccpr_create) create real CodeCommit
    artifacts on each call. MCP hosts should prompt users before invocation.
  • ccpr_open is intentionally not provided — MCP hosts have no browser, and
    PR URLs are returned by the existing tools.

v1.0.2

02 May 03:06
bb20a46

Choose a tag to compare

v1.0.2

Fixes

  • Align the documented Go requirement with go.mod by requiring Go 1.24 or later.
  • Require region validation consistently for create and comment.
  • Resolve repository mappings that start with ~ or ~/ to the current user's home directory.
  • Resolve AWS region from AWS_REGION and AWS_DEFAULT_REGION when no --region flag or config region is set.

CI

  • Re-run the PR template check when a pull request body is edited.

Docs

  • Update README, requirements, and spec docs for region resolution and repo mapping behavior.

v1.0.1

06 Apr 21:21
a5b5c6a

Choose a tag to compare

v1.0.1

Documentation improvements to help new users get started faster.

Changes

  • Redesign English and Japanese READMEs for better first impression
    • Lead with target audience and pain points
    • Before/After with concrete AWS CLI vs ccpr command comparison
    • Quick Start (30 seconds)
    • Detailed reference folded into <details> sections
    • Troubleshooting section
  • Add Claude Code install guide to docs/claude-integration.md
  • Add "Install from Claude Code" section to both READMEs
  • Use raw GitHub URLs for Claude Code integration
  • Fix --json/--patch--format json/--format patch across all docs
  • Add missing open command documentation to spec/requirements/use-cases
  • Clarify JSON error output (NFR-03) is not yet implemented

Install

go install github.com/hidetzu/ccpr/cmd/ccpr@v1.0.1

v1.0.0

02 Apr 20:30
502a39d

Choose a tag to compare

v1.0.0

The first stable release of a CLI tool that converts CodeCommit pull requests into AI-reviewable formats.

Commands

  • ccpr review — Extract PR metadata, comments, and diffs (summary / JSON / patch)
  • ccpr list — List pull requests
  • ccpr create — Create a pull request
  • ccpr comment — Post comments to a PR
  • ccpr open — Open a PR in the browser
  • ccpr init — Generate configuration files
  • ccpr doctor — Validate environment setup

v1.x Stability Guarantees

  • JSON output fields are stable — no renames, removals, or type changes within v1.x
  • Exit codes (0/1/2) retain their defined semantics
  • CLI flags are not renamed or removed
  • See Versioning Policy and JSON Output Reference

AI Integration

Documentation

  • English README and Japanese README (README.ja.md)
  • Getting started, troubleshooting, and Claude Code setup in Japanese

Install

go install github.com/hidetzu/ccpr/cmd/ccpr@v1.0.0

v0.7.0

01 Apr 20:03

Choose a tag to compare

What's New

  • ccpr create command — Create CodeCommit pull requests directly from the CLI, completing the create → review → comment workflow (#38)
    • --description / --description-file / stdin for PR body
    • Auto-detect source branch from current Git HEAD
    • Summary and JSON output formats
  • Extract buildConsoleURL as shared helper (used by create and open)
  • Add install instructions to Claude Code skill

Install

go install github.com/hidetzu/ccpr/cmd/ccpr@v0.7.0

v0.6.0

31 Mar 12:04
cbc352a

Choose a tag to compare

What's New

ccpr comment command

Post comments to CodeCommit PRs directly from the CLI.

ccpr comment <PR_URL> --body "LGTM"
ccpr comment <PR_URL> --body-file review.md
echo "Looks good" | ccpr comment <PR_URL> --body -
  • Inline text, file, or stdin input
  • JSON output with --format json
  • Reuses existing URL parsing and config resolution

End-to-end AI review workflow

ccpr review <PR_URL> --format json | claude -p "Review this PR" > review.md
ccpr comment <PR_URL> --body-file review.md

Exit code improvements

  • Exit code 1 for user errors (bad input, missing flags)
  • Exit code 2 for system errors (AWS API failures, Git errors)

Full Changelog

v0.5.1...v0.6.0

v0.5.1

31 Mar 11:45
e27a8e8

Choose a tag to compare

What's New

ccpr doctor command

Validate your environment and config in one shot.

ccpr doctor
✔ Config file: ~/.config/ccpr/config.yaml
✔ AWS credentials: arn:aws:iam::123456789012:user/example-user
✔ Repo mapping: my-repo → /home/user/src/my-repo (git OK)

3/3 checks passed
  • Config file existence and validity
  • AWS credentials via STS GetCallerIdentity
  • Repo mappings (path exists, is a git repo)
  • Actionable fix suggestions for each failure

Other changes

  • config.Load now returns the resolved config file path for accurate reporting

Full Changelog

v0.5.0...v0.5.1

v0.5.0

30 Mar 13:47
2c53b0b

Choose a tag to compare

What's New

ccpr init command

Generate ~/.config/ccpr/config.yaml with one command. Auto-detects AWS profile and region from your environment.

ccpr init
ccpr init --profile my-profile --region ap-northeast-1
  • Overwrite protection (--force to override)
  • Commented repoMappings template in generated config
  • Actionable error messages with next-step guidance

README restructured

Reorganized for better first impression — value proposition and example command at the top, configuration details at the bottom.

Full Changelog

v0.4.5...v0.5.0