Repository navigation
v0.1.2 - Synchronize the live Platform contract (#14)
🌟 Summary
ultralytics-platform 0.1.2 synchronizes the Python SDK with the live Ultralytics Platform API, adding broader resource coverage, current name-based workflows, and stronger production validation. 🚀
📊 Key Changes
- Live Platform contract refresh: Replaced the outdated 52-path, schema-less API snapshot with the deployed contract containing 55 paths and 93 schemas.
- Regenerated Python SDK: Rebuilt all 79 Python operations from the synchronized OpenAPI definition for improved compatibility with the current Platform API.
- Expanded client capabilities: Added access to:
- Account information, plans, credits, storage, and workspaces
- Billing transactions, usage, limits, and subscription status
- Explore search for public projects and datasets
- Updated resource APIs: Current owner/project/model naming is now reflected across model retrieval, exports, deployments, and dataset operations.
- Improved dataset support: The refreshed contract includes current dataset details, image and annotation data, class statistics, embeddings, versions, exports, ingestion, and trained-model information.
- Production-aware fixtures: Live tests now discover fixtures through public resource identities and reject undocumented endpoints or unexpected responses.
- Stronger CI validation: Read-only production checks now run on every push to
main, in addition to scheduled and manual workflows. - Documentation updates: Repository and package examples now use the current API signatures for synchronous and asynchronous clients.
- Package release: Published the approved patch release as
ultralytics-platform==0.1.2. 📦
🎯 Purpose & Impact
- More reliable integrations: The SDK now mirrors the API actually deployed in production, reducing mismatches and unexpected request failures.
- Broader Platform access: Developers can manage and inspect more Platform capabilities through one consistent Python client.
- Clearer resource addressing: Name-based owner/project/model calls better match Platform URLs and make examples easier to understand.
- Safer API evolution: Contract hashing, reproducible generation, and strict response validation help detect accidental API drift early.
- Better release confidence: Automated production canaries and expanded CI coverage provide stronger assurance that SDK updates work against the live service.
- Potential migration consideration: Code using older ID-based or argument-less calls—such as
client.datasets.list()—may need updates to include the current owner, project, or model identifiers.
What's Changed
- Synchronize the live Platform contract by @glenn-jocher in #14
Full Changelog: v0.1.1...v0.1.2