Changelog
All notable changes to this project are documented here. Release ranges link to the GitHub compare view. Tag names follow the repository (v1.0.x through v1.0.3, then 1.1.0 onward).
1.2.1 — 2026-05-01
Changes since 1.2.0…1.2.1.
Feature
Added
AGENTS.mdas repository guidance for AI-assisted development workflows.Improved the bundled GitCode API skill: tighter workflow patterns, SKILL updates, and enhancements to the skill’s
gitcode_api_clihelper script.
Chore
Extended the
Makefilewithdocstring(pydocstyle) andamendhelpers, and broadened.PHONYcoverage for existing targets.
Style
Aligned package docstrings with reStructuredText field conventions for pydocstyle checks.
Docs
Expanded and refreshed CLI documentation (
docs/sdk/cli.rst).Simplified README and Sphinx quickstart examples by removing
try/finallyboilerplate around the client.Minor README improvements (English and Chinese).
1.2.0 — 2026-05-01
Changes since 1.1.3…1.2.0.
Feature
Exposed a
methodsproperty on resource namespaces so callers can discover available API methods at runtime.Exposed
method_signatureon resource groups to inspect method parameters and return shape.Added the
examples/inspect_resource_group_methods.pyexample script demonstrating introspection helpers.
Fix
Client: Removed leftover legacy behavior around closing
httpxclients so shutdown matches current usage.Switched LRU-cached properties to
functools.cached_propertyfor correct semantics and compatibility.Avoided using the builtin
collectionsname as a generic type alias in examples and tests (Python compatibility).Reworked resource group lifecycle so garbage collection and client teardown behave predictably.
Style
Polished CLI presentation.
Added Pylint format configuration.
Removed a redundant README badge.
Docs
Documented CLI usage in the main docs.
Removed the REST API quickstart page.
Updated
pulls.createdocstring for fork-based pull request flows.Standardized documentation terminology to resource group.
Updated the bundled skill README for
methods,method_signature, and related workflow.
1.1.3 — 2026-04-18
Feature
Experimental CLI support (
gitcode-apientry point).
Docs
Changed pip installation examples to use the
-Uoption.Minor index and copy tweaks (including capitalization of “GitHub”).
1.1.2 — 2026-04-16
Feature
Bundled Cursor/agent skill for GitCode API workflows.
Support for encrypted GitCode tokens.
Fix
Clients now close their
httpxclient whether a custom client was supplied or not.
Docs
Updated documentation and skill for token encryption.
Added project links to the docs site.
Style
README and Chinese README badge updates and link styling; more compact code blocks in README.
1.1.1 — 2026-04-16
Feature
Stronger response model typing and annotations across the client.
Redefined context manager
__enter__on synchronous and asynchronous client classes for clearer type annotations.
Fix
Corrected mirrored official REST API documentation (
docs/rest_api/orgs.rst).Pytest configuration adjustments.
Style
Examples switched to attribute-style access where appropriate.
1.1.0 — 2026-04-16
Feature
Refreshed examples; removed
python-dotenvfrom package dependencies.
Fix
Makefile
formattarget repair.
Style
Expanded docstring coverage; codebase formatted with Ruff.
PyPI badge updated to include a link.
Test
Added unit tests for context manager usage.
Docs
Documentation refresh and context manager usage called out explicitly.
1.0.3 — 2026-04-16
Chore
Removed redundant PyPI license classifier from package metadata.
1.0.2 — 2026-04-16
Fix
Ensured Read the Docs installs the
gitcode-apipackage in the docs environment.
Chore
Read the Docs configuration updates for hosted builds.
1.0.1 — 2026-04-16
Fix
Corrected the example for listing commits.
Restored Python 3.9 compatibility where it had regressed.
Docs
README updates alongside the version bump.
1.0.0 — 2026-04-15
Initial published release on PyPI.
Feature
Initial
gitcode-apiPython SDK for the GitCode REST API (HTTPX-based client).
Chore
CI/workflow: PyPI project URL correction in publishing configuration.
Docs
README updates for the first public release.