Skip to content

v0.1.14 - Update Platform API contract (#39)

Choose a tag to compare

@github-actions github-actions released this 24 Aug 08:59
· 138 commits to main since this release
bfbd64f

🌟 Summary

The v0.1.14 release updates the Ultralytics Platform API and Python SDK with optional dataset channel metadata, while expanding live testing for dataset batch prediction workflows. 🚀

📊 Key Changes

  • Updated the Platform API contract to 0.1.14

    • The OpenAPI specification and Python package version now both use 0.1.14.
    • The contract checksum was refreshed to ensure the SDK matches the approved API definition.
  • Added optional dataset channels support

    • Dataset schemas now accept an optional positive integer channels field.
    • The generated Python SDK exposes this field through its typed dataset definitions.
    • This can represent channel information for datasets such as grayscale, RGB, or multi-channel imagery. 🖼️
  • Expanded batch prediction lifecycle coverage

    • Live tests now exercise retrieving, creating, and deleting dataset batch-prediction jobs.
    • Tests use a nonexistent model reference so the request can be validated without launching paid cloud compute. 💰
  • Improved SDK release reliability

    • The SDK is deterministically regenerated from the OpenAPI contract.
    • CI verifies the generated package and exact contract checksum before merging.
    • Version changes can be published to PyPI consistently with the API contract. 📦

🎯 Purpose & Impact

  • For Python SDK users: Dataset objects can now include optional channel metadata with proper type hints and validation expectations.
  • For Platform API integrators: The published contract more accurately describes current dataset capabilities, reducing ambiguity when building integrations.
  • For batch prediction users: Core batch-prediction API operations receive broader automated lifecycle coverage, helping catch regressions earlier.
  • For maintainers and contributors: Contract checks, generated SDK validation, and safe live tests make releases more predictable and reduce the risk of API/SDK mismatches. ✅

What's Changed

Full Changelog: v0.1.13...v0.1.14