Skip to content

v0.1.11 - Avoid duplicate live SDK lifecycle (#35)

Choose a tag to compare

@github-actions github-actions released this 22 Aug 22:02
· 142 commits to main since this release
d5666c0

🌟 Summary

Version 0.1.11 improves SDK release reliability and expands the Ultralytics Platform API with more flexible model metadata and project search capabilities. 🚀

📊 Key Changes

  • Avoided duplicate live SDK lifecycle tests by @glenn-jocher:
    • CI now skips live resource creation, editing, and deletion tests when SDK synchronization has already changed and merged the generated package.
    • The subsequent clean main run remains responsible for live API validation.
  • Updated the Platform API contract to 0.1.11 and regenerated the Python SDK.
  • Added project model search:
    • projects.retrieve() now supports an optional search parameter in both synchronous and asynchronous clients.
    • Searches can match model names or metadata.
  • Added dataset information to model responses, including the dataset owner and dataset identifier.
  • Made trainArgs more flexible:
    • Training arguments are now represented as general key-value mappings instead of a fixed list of predefined fields.
    • This supports new or custom training options without requiring an immediate SDK schema update.
  • Updated package and contract integrity metadata:
    • Python SDK version updated to 0.1.11.
    • OpenAPI checksum refreshed.

🎯 Purpose & Impact

  • 🛡️ More reliable CI and API validation: Prevents back-to-back live resource mutations, reducing duplicate operations, rate-limit risks, and unnecessary test failures.
  • 🔎 Easier model discovery: Users can search project models by name or metadata directly through the SDK.
  • 🗂️ Better dataset traceability: Model responses now identify the dataset associated with a model when available.
  • 🧩 Improved forward compatibility: Flexible trainArgs allow the Platform API to introduce new training parameters without breaking generated Python SDK types.
  • 📦 Cleaner SDK publishing workflow: Contract changes are validated before the regenerated package is merged and released to PyPI.

What's Changed

Full Changelog: v0.1.9...v0.1.11