Repository navigation
v0.1.14 - Update Platform API contract (#39)
🌟 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.
- The OpenAPI specification and Python package version now both use
-
Added optional dataset
channelssupport- Dataset schemas now accept an optional positive integer
channelsfield. - 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. 🖼️
- Dataset schemas now accept an optional positive integer
-
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
- Cover batch prediction in live SDK lifecycle by @glenn-jocher in #38
- Update Platform API contract by @UltralyticsAssistant in #39
Full Changelog: v0.1.13...v0.1.14