Repository navigation
v0.1.32 - Update Platform API contract (#57)
🌟 Summary
v0.1.32 updates the Ultralytics Platform API and Python SDK with Core AI export support, easier credential reuse from yolo login, and more reliable automated SDK publishing. 🚀
📊 Key Changes
- Platform API contract updated to 0.1.32 and the Python package version was synchronized accordingly.
- Added
coreaias a supported export format across:- OpenAPI definitions
- Synchronous and asynchronous export requests
- Generated Python SDK types and documentation
- Improved SDK authentication 🔐:
- Reuses credentials saved by
yolo login. - Supports the following priority order: explicit API key →
ULTRALYTICS_API_KEYenvironment variable → saved Ultralytics settings. - Passing an empty API key explicitly disables authentication.
- Works for both synchronous and asynchronous clients.
- Reads existing settings without importing the full
ultralyticspackage or creating a separate credential store.
- Reuses credentials saved by
- Improved automated SDK generation and releases ⚙️:
- CI now validates that generated SDK files match the API contract.
- API releases follow the contract’s
info.version. - Generator-only changes automatically receive a post-release version so improvements can still be published to PyPI.
- Unchanged synchronization runs do not create unnecessary releases.
- Updated contract integrity tracking with a regenerated
openapi.sha256checksum.
🎯 Purpose & Impact
- For Platform users:
coreaiexports can now be requested through the Python SDK with proper typing and validation. 📦 - For existing Ultralytics users: Clients can automatically reuse the API key from
yolo login, reducing repeated credential setup. - For developers: Authentication behavior is more predictable, and explicit credentials can safely override environment or saved settings.
- For SDK consumers: Generated packages stay synchronized with the live API and receive updates more reliably, reducing version drift and installation surprises.
- For maintainers: CI now provides a deterministic contract-to-SDK workflow, helping ensure that published releases are tested and reproducible. ✅
What's Changed
- Share YOLO login with the SDK and automatically release generator updates by @glenn-jocher in #56
- Update Platform API contract by @UltralyticsAssistant in #57
Full Changelog: v0.1.31...v0.1.32