Repository navigation
v0.1.16 - Update Platform API contract (#40)
🌟 Summary
v0.1.16 synchronizes the Ultralytics Platform API contract and updates the Python SDK, adding flexible dataset auto-annotation controls and improving release reliability.
📊 Key Changes
-
🔄 Synchronized the live OpenAPI contract
- Updated the API specification from version
0.1.14to0.1.16. - Regenerated the typed Python SDK deterministically from the updated contract.
- Updated the SDK package version to
0.1.16.
- Updated the API specification from version
-
🧪 Improved CI and package publishing
- CI validates the generated SDK before merging.
- The workflow merges only the exact commit that passes validation.
- The package version now follows the API contract’s
info.version, helping ensure that approved API updates can be published consistently to PyPI.
-
🏷️ Added broader dataset auto-annotation support
- Added the
include_annotatedoption to the Python SDK’s synchronous and asynchronous dataset batch prediction methods. - By default, only unlabeled images are processed.
- When enabled, already annotated images can also be processed while preserving their existing labels.
- Updated API and SDK documentation to explain the new behavior.
- Added the
-
🖼️ Clarified depth preview documentation
- Updated descriptions to identify depth previews as normalized grayscale PNGs that the client colorizes.
🎯 Purpose & Impact
- ✅ More reliable API development: The contract, generated SDK, validation checks, and published package version remain aligned.
- 🚀 Easier Python integration: Developers receive an updated, typed
ultralytics-platformSDK with the new API capability available in both sync and async workflows. - 🧰 More flexible dataset preparation: Users can choose whether auto-annotation should target only unlabeled images or include the full dataset.
- 🛡️ Safer annotation workflows: Existing labels are not changed, reducing the risk of unintentionally overwriting human-reviewed annotations.
- 📦 No major model changes: This release focuses on Platform API tooling, SDK generation, and dataset management rather than introducing or modifying a YOLO model.
What's Changed
- Update Platform API contract by @UltralyticsAssistant in #40
Full Changelog: v0.1.14...v0.1.16