Skip to content

GCA v0.8.1

Choose a tag to compare

@github-actions github-actions released this 01 Dec 19:55
· 9 commits to main since this release

GCA 0.8.1

简体中文

Highlights

  • Zero-Friction First-Run & uvx Compatibility Fixes:
    • Added the git-contribution-analyzer console script alias alongside gca in pyproject.toml,
      so both uvx --from git-contribution-analyzer gca ... and uvx git-contribution-analyzer ...
      work seamlessly out of the box.
    • Updated the GitHub Pages Live Demo Gallery hero command in scripts/build_public_demo.py to
      uvx --from git-contribution-analyzer gca recap --open and made demo version banners track
      git_contribution_analyzer.__version__.
  • Fixed gca install-agent --command uvx MCP Config Generation:
    • When --command uvx (or a path ending in uvx / uvx.exe) is supplied, gca install-agent
      now emits ["--from", "git-contribution-analyzer", "gca", "serve", "--mcp", ...] instead of
      passing serve directly as the uvx package name.
  • System Locale Auto-Detection for Default Output Language:
    • Added application/services/default_language.py (detect_default_language /
      resolve_output_language) so gca recap, gca brag, gca resume, portfolio counterparts,
      and MCP tools/prompts automatically select zh-CN on Chinese locales and en-US elsewhere
      when --language is omitted (still overridable via --language or GCA_LANGUAGE).
  • Accurate macOS Apple Silicon (arm64) Release Naming & Bilingual Docs Polish:
    • Corrected .github/workflows/release.yml macOS standalone asset names from x86_64 to
      arm64 (gca-macos-arm64 and gca-gui-macos-arm64.app.zip) to match GitHub Actions
      macos-latest Apple Silicon runners, and documented macOS Gatekeeper handling in installation
      guides.
    • Added PyPI, Python, CI, and License badges plus cross-platform copy-pasteable bash Quick
      Start commands to both README.md and README.zh-CN.md, and refreshed remaining 0.7.0
      references across installation, MCP, and Chinese index guides.

Compatibility And Upgrade

  • 100% backward compatible with 0.1.0–0.8.0 workspaces, SQLite migrations, outcomes.yml
    files, CLI exit codes, JSON schemas, and MCP 2.0 contracts.
  • Explicit --language zh-CN and --language en-US flags continue to take precedence over system
    locale auto-detection.

Validation

  • Full test suite (core + headless GUI), new unit tests for locale detection and uvx MCP config
    generation, coverage gates (>=80% core / >=90% application+domain), ruff, strict mypy,
    wheel build & isolated lifecycle (scripts/verify_wheel.py), and test_release_readiness.py
    all pass.

GCA 0.8.1 发布说明

English

核心新增

  • 修复零摩擦首跑与 uvx 一键体验兼容性:
    • 在 pyproject.toml 中补充同名入口别名 git-contribution-analyzer(与 gca 并存),使
      uvx --from git-contribution-analyzer gca ... 与 uvx git-contribution-analyzer ...
      均可直接零摩擦运行。
    • 修复 GitHub Pages 在线 Demo 展厅首页命令为
      uvx --from git-contribution-analyzer gca recap --open,并将 Demo 页面版本标识改为自动读取
      __version__。
  • 修复 gca install-agent --command uvx MCP 配置生成缺陷:
    • 传入 --command uvx(或指向 uvx / uvx.exe 的路径)时,自动展开生成
      ["--from", "git-contribution-analyzer", "gca", "serve", "--mcp", ...],修复此前误将
      serve 作为 uvx 包名执行的问题。
  • 默认输出语言自动跟随宿主系统 locale:
    • 新增 application/services/default_language.py,gca recap、gca brag、gca resume、
      多仓 portfolio 对应命令及 MCP 工具/Prompts 在省略 --language 时自动探测系统 locale
      (中文环境默认 zh-CN,英文及其他环境默认 en-US,支持 --language 与 GCA_LANGUAGE
      环境变量显式覆盖)。
  • 修正 macOS Apple Silicon(arm64)制品命名与双语推广文档抛光:
    • 将 .github/workflows/release.yml 中 macos-latest 构建的独立制品名修正为
      gca-macos-arm64 与 gca-gui-macos-arm64.app.zip,并在中英文安装指南中补充未签名 macOS
      二进制的 Gatekeeper 处理提示。
    • 为中英文 README 顶部新增 PyPI / Python / CI / License 徽章,将 10 秒上手命令改为跨平台
      bash 单行命令,并清理安装、MCP 与中文索引文档中遗留的 0.7.0 版本引用。

兼容性与升级

  • 100% 向后兼容 0.1.0–0.8.0 工作区、SQLite 迁移、outcomes.yml、CLI 退出码、JSON Schema
    与 MCP 2.0 契约。
  • 显式传入 --language zh-CN 或 --language en-US 时行为与既有版本完全一致。

验证情况

  • 全量核心测试与无头 GUI 测试、新增语言探测与 uvx MCP 安装单元测试、覆盖率门禁(核心 ≥ 80% /
    Application+Domain ≥ 90%)、ruff、严格 mypy、wheel 构建与隔离验证(scripts/verify_wheel.py)
    及发布就绪门禁全部通过。