Skip to content

v0.1.8 - Update Platform API contract (#30)

Choose a tag to compare

@github-actions github-actions released this 20 Aug 10:24
· 147 commits to main since this release
2190ffa

🌟 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-platform package to PyPI once released.
  • 📚 Added the optional lastIngestJobId field to dataset responses:
    • Identifies the latest completed dataset ingest job.
    • Available to dataset owners.
  • 🧹 Removed the label_smoothing training 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: lastIngestJobId helps owners connect a dataset to its most recently completed ingest operation, making processing workflows easier to track.
  • ⚠️ Training compatibility consideration: Applications that still send label_smoothing should 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

Full Changelog: v0.1.7...v0.1.8