Repository navigation
v0.1.8 - Update Platform API contract (#30)
🌟 Summary
v0.1.8 updates the Ultralytics Platform API contract and regenerates the Python SDK, adding dataset ingest tracking while aligning training options with the latest API behavior.
📊 Key Changes
- 🔄 Synchronized the live OpenAPI contract and deterministically regenerated the Python SDK.
- 📦 Bumped the API and Python package version from 0.1.7 to 0.1.8, enabling publication of the updated
ultralytics-platformpackage to PyPI once released. - 📚 Added the optional
lastIngestJobIdfield to dataset responses:- Identifies the latest completed dataset ingest job.
- Available to dataset owners.
- 🧹 Removed the
label_smoothingtraining parameter from the API schemas, typed SDK definitions, and Python training example. - 🛠️ Relaxed one schema’s restriction on additional properties, allowing more flexibility for compatible fields in API payloads.
- 🔐 Updated the OpenAPI checksum to verify that the contract and generated SDK remain synchronized.
🎯 Purpose & Impact
- ✅ More reliable SDK usage: The Python SDK now reflects the current Platform API contract and includes updated type definitions.
- 🔍 Improved dataset visibility:
lastIngestJobIdhelps owners connect a dataset to its most recently completed ingest operation, making processing workflows easier to track. ⚠️ Training compatibility consideration: Applications that still sendlabel_smoothingshould remove or update that parameter because it is no longer part of the supported API schema.- 🌐 Greater API extensibility: Allowing additional schema properties can improve forward compatibility with new or service-specific fields.
- 🚀 No model architecture changes: This release focuses on the Platform API and SDK rather than introducing a new YOLO model or changing model performance.
What's Changed
- Update Platform API contract by @UltralyticsAssistant in #30
Full Changelog: v0.1.7...v0.1.8