Skip to content

1.2.12 - Improve CLI User Experience & Add Homepage to Project

Choose a tag to compare

@Trenza1ore Trenza1ore released this 11 May 14:35
· 96 commits to main since this release

Feature

  • CLI: -e / --escape takes a string of \-style escape sequences (for example "\n\t") to un-escape, which makes multiline payloads easier for human users (e.g. gitcode-api pulls create ... --body 'Line1\nLine2' -e '\n').
  • CLI: The shared cli argument parser no longer passes --owner / --repo into the GitCode client constructor. Use each method’s own flags so defaults match the SDK method signatures.
  • CLI (gitcode-api serve): --show-banner / -b accepts true or false and forwards to FastMCP’s run(show_banner=…); omit it to keep the library default.
  • CLI (gitcode-api serve): --transport is validated against stdio, http, and sse.

Docs

  • Added a homepage for this project: https://hugohuang.com/gitcode-api
  • README, SDK CLI page (docs/sdk/cli.rst), install_mcp_server.md, and PyPI homepage links updated for the new CLI and MCP options.
  • Download stat & PyPI version badges now are mutated automatically per-release to suit GitCode's image-caching strategy for README.md.

Full Changelog: 1.2.11...1.2.12