Skip to content

feat: update bindings to v2.0.28 (API v1.1206.0)#93

Open
cloudsmith-iduffy wants to merge 1 commit into
masterfrom
update-bindings-v2.0.28
Open

feat: update bindings to v2.0.28 (API v1.1206.0)#93
cloudsmith-iduffy wants to merge 1 commit into
masterfrom
update-bindings-v2.0.28

Conversation

@cloudsmith-iduffy

Copy link
Copy Markdown
Contributor

Summary

Updates the generated API bindings to v2.0.28, tracking Cloudsmith API v1.1206.0 (previously v1.1199.0).

  • Bumped package_version in scripts/common.sh: 2.0.272.0.28
  • Regenerated Python, Ruby, and Java bindings from the latest OpenAPI spec
  • The OpenAPI surface is unchanged between API v1.1199.0 and v1.1206.0, so the only net diff is the version-string bump across the binding manifests (build.json, pom.xml, version.rb, setup.py, READMEs, etc.)

Notes

  • Swagger codegen emits the disable_reason enum with an unescaped apostrophe (upstream's APKINDEX signature), which is invalid Ruby. As in prior releases, the apostrophe was escaped across the 20 affected upstream model files so the Ruby bindings parse. After this fix the regenerated files are identical to what's already on master.
  • Ruff (pre-commit) auto-fixes the W605 invalid-escape-sequence warnings in the Python binding; the result matches master.

Verification

  • pre-commit run --all-files → passes (ruff)
  • ruby -c on all 332 generated Ruby lib files → all OK

🤖 Generated with Claude Code

- Bumped package version: 2.0.27 -> 2.0.28
- Regenerated Python, Ruby, and Java bindings from latest OpenAPI spec (API v1.1206.0)
- Fixed Ruby syntax errors: escaped apostrophe in upstream's disable_reason enum values (20 model files, 40 occurrences)
- Ruff auto-fixed W605 invalid-escape-sequence issues in Python binding
Copilot AI review requested due to automatic review settings June 9, 2026 09:46

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

  • Updates the generated Cloudsmith API bindings package version to v2.0.28, tracking Cloudsmith API v1.1206.0.
  • Changes are limited to version-string bumps across the generator script and binding manifests/docs.

Changes:

  • Bump package_version used by the generation scripts to 2.0.28.
  • Update Ruby binding version references (README, gem metadata, VERSION constant).
  • Update Python and Java binding version references (package metadata, user agents, READMEs).

Reviewed changes

Copilot reviewed 15 out of 15 changed files in this pull request and generated no comments.

Show a summary per file
File Description
scripts/common.sh Bumps package_version to 2.0.28 for generation.
bindings/ruby/src/README.md Updates gem/version examples to 2.0.28.
bindings/ruby/src/lib/cloudsmith-api/version.rb Updates Ruby gem VERSION constant to 2.0.28.
bindings/ruby/src/build.json Updates Ruby build metadata gemVersion to 2.0.28.
bindings/python/src/setup.py Updates Python package VERSION to 2.0.28.
bindings/python/src/README.md Updates Python README package version to 2.0.28.
bindings/python/src/cloudsmith_api/configuration.py Updates debug report SDK version string to 2.0.28.
bindings/python/src/cloudsmith_api/api_client.py Updates default User-Agent version to 2.0.28.
bindings/python/src/build.json Updates Python build metadata packageVersion to 2.0.28.
bindings/java/src/src/main/java/io/cloudsmith/api/ApiClient.java Updates default User-Agent version to 2.0.28.
bindings/java/src/README.md Updates Maven/Gradle and artifact examples to 2.0.28.
bindings/java/src/pom.xml Updates Maven project version to 2.0.28.
bindings/java/src/build.sbt Updates SBT project version to 2.0.28.
bindings/java/src/build.json Updates Java build metadata artifactVersion to 2.0.28.
bindings/java/src/build.gradle Updates Gradle project version to 2.0.28.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants