Repository navigation
v0.1.18 - Update Platform API contract (#41)
🌟 Summary
v0.1.18 updates the Ultralytics Platform API and regenerated Python SDK with more reliable dataset creation and uploads, expanded training controls, and broader license support. 🚀
📊 Key Changes
-
Deterministic API and SDK release
- Updated the OpenAPI contract and Python package version to 0.1.18.
- Regenerated the SDK so it stays synchronized with the live Platform API.
- CI now validates the generated package before merging and publishing to PyPI.
-
More predictable dataset naming
- Added
require_exact_slugto synchronous and asynchronous dataset creation. - Users can now choose whether a duplicate slug should return a
409conflict instead of automatically receiving a suffixed name. 🗂️
- Added
-
Improved upload verification
- Added optional MD5 validation when completing uploads.
- Added support for custom headers returned with signed upload URLs.
- Documented upload behavior, including the 12-hour URL validity period and conflict responses. ✅
-
Expanded training-parameter support
- Updated
fractionto support ratios, item counts, strings, or separate train/validation selections. - Clarified the
dfldescription to better reflect how the box-regression term is applied. - Updated the training example to use the new
"1.0"fraction format.
- Updated
-
Broader dataset license options
- Added additional Creative Commons, BSD, GPL, LGPL, Open Data, and database-content licenses to the API and typed SDK definitions. ⚖️
🎯 Purpose & Impact
- Greater control: Applications can enforce exact dataset names and avoid silently creating unexpected duplicates.
- More reliable data transfers: MD5 verification and required upload headers help detect incomplete or conflicting uploads earlier.
- More flexible training workflows: Users can select full or partial datasets using more practical formats, including different selections for training and validation.
- Better licensing coverage: Dataset creators have more accurate options for describing how their data may be used.
- Easier upgrades for Python developers: The regenerated, version-aligned SDK provides updated method arguments, types, documentation, and PyPI packaging with CI-backed consistency. 📦
This release contains API and SDK improvements rather than new model architectures or model-performance changes.
What's Changed
- Update Platform API contract by @UltralyticsAssistant in #41
Full Changelog: v0.1.16...v0.1.18