1.2.13 - Support ALL Release Operations in Latest Official REST API Docs
Feature
- Releases (
client.releases/ async parity): Reworked to match the current GitCode API —create, tag-basedupdate,listwithdirection/page/per_page,get/get_by_tag/get_latestwith documented query options,get_upload_urlandupload(input bytes or local file path) for attachments, anddownload_attachmentfor raw bytes. - Models:
Releasenow exposesassetsandrelease_status; upload URL responses useReleaseUploadURL.
Breaking Change
GitCode.releases.update: Targets a release by tag in the URL path (tag=…) instead ofrelease_id; the JSON body isname,body, and optionalrelease_statusonly (notag_namein the payload). Update any code that still passedrelease_idor relied on the old request shape.
Docs
- REST API mirror: release create/upload and related pages, missing release topics, and table cleanup; SDK release documentation updated for the new methods and parameters.
- Added example
examples/sync_github_release_to_gitcode.py.
Full Changelog: 1.2.12...1.2.13