Repository navigation
v0.1.11 - Avoid duplicate live SDK lifecycle (#35)
🌟 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
mainrun remains responsible for live API validation.
- Updated the Platform API contract to
0.1.11and regenerated the Python SDK. - Added project model search:
projects.retrieve()now supports an optionalsearchparameter 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
trainArgsmore 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.
- Python SDK version updated to
🎯 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
trainArgsallow 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
- Update Platform API contract by @UltralyticsAssistant in #34
- Avoid duplicate live SDK lifecycle after sync by @glenn-jocher in #35
Full Changelog: v0.1.9...v0.1.11