Skip to content

v0.1.7 - Update Platform API contract (#29)

Choose a tag to compare

@github-actions github-actions released this 19 Aug 18:18
· 148 commits to main since this release
45a5fba

🌟 Summary

v0.1.7 updates the Ultralytics Platform API contract and regenerates the Python SDK, adding comprehensive support for depth datasets and depth-model inference while improving type safety and release automation. 🚀

📊 Key Changes

  • Depth task support added 🧭

    • Datasets can now use the depth task type.
    • Dataset schemas include depth scale, depth assets, previews, dimensions, valid ranges, and coverage information.
    • Image listings and URL responses can expose paired depth targets and depth preview images.
    • Model metadata now reports whether depth predictions use a verified scale.
  • Richer inference responses 🤖

    • Model and deployment prediction results are now strongly typed instead of generic unstructured data.
    • Responses describe bounding boxes, oriented bounding boxes, segmentation coordinates, pose keypoints, class confidence, and semantic pixel coverage.
    • Inference metadata now includes clearer timing breakdowns, model information, and supported task types.
    • Depth inference outputs include structured grayscale image data and depth metadata.
  • Clearer depth-model behavior ⚠️

    • Depth models accept images only; video inputs are not supported.
    • Depth datasets are excluded from image auto-annotation because dense depth maps cannot be converted into standard object labels.
    • Dataset conflicts now also account for task changes and active imports.
  • Python SDK regenerated as version 0.1.7 🐍

    • The SDK’s generated types and documentation now match the live OpenAPI contract.
    • Dataset, model, deployment, image, upload, lifecycle, and project resource documentation received clearer descriptions.
    • Examples now use more realistic identifiers and display names.
  • Contract-driven versioning and publishing 📦

    • The hard-coded SDK version was removed from openapi.config.json.
    • The package version now comes from the OpenAPI contract’s info.version.
    • A contract version bump reaching main can automatically publish ultralytics-platform to PyPI.
  • Dependabot configuration corrected 🔧

    • GitHub Actions dependencies are now monitored from the repository root, allowing Dependabot to detect workflow updates correctly.

🎯 Purpose & Impact

  • Enables new depth workflows 🌊 Users can manage depth datasets, inspect paired depth targets, and consume depth-model predictions through the Platform API and Python SDK.
  • Improves developer experience ✅ Stronger generated types make API responses easier to understand, validate, and use safely in Python applications.
  • Reduces integration surprises 🛡️ Explicit input restrictions and richer response schemas clarify which data formats and model tasks are supported.
  • Keeps releases synchronized 🔄 Contract-driven versioning ensures the SDK version reflects the API version and helps automate reliable PyPI releases.
  • Improves maintenance automation 📅 Dependabot can now propose GitHub Actions updates as intended.

What's Changed

Full Changelog: v0.1.5...v0.1.7