Skip to content

v0.1.18 - Update Platform API contract (#41)

Choose a tag to compare

@github-actions github-actions released this 27 Aug 01:40
· 136 commits to main since this release
c38410c

🌟 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_slug to synchronous and asynchronous dataset creation.
    • Users can now choose whether a duplicate slug should return a 409 conflict instead of automatically receiving a suffixed name. 🗂️
  • 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 fraction to support ratios, item counts, strings, or separate train/validation selections.
    • Clarified the dfl description to better reflect how the box-regression term is applied.
    • Updated the training example to use the new "1.0" fraction format.
  • 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

Full Changelog: v0.1.16...v0.1.18