Repository navigation
v0.1.33 - Update Platform API contract (#60)
🌟 Summary
Platform API v0.1.33 adds dataset class initialization controls and improves SDK release reliability with deterministic generation and strict versioning. 🚀
📊 Key Changes
- New dataset option: Added
initializeClassNamesto the Platform API, exposed in Python asinitialize_class_names.- Available for both synchronous and asynchronous dataset update methods.
- Allows users to require a dataset to start without classes or annotations.
- Updated Python SDK: Regenerated
ultralytics-platformto version 0.1.33, including the new request field and updated API contract checksum. - Consistent release versions: All Ultralytics SDK releases now use the standard
MAJOR.MINOR.PATCHformat, such as0.1.33. - Automatic patch increments: SDK-only changes now increase the patch number instead of using post-release suffixes.
- Safer synchronization and publishing: CI validates version formats, prevents downgrades or reused versions, and confirms that generated SDK output matches the API contract before publishing.
- Improved documentation: Repository guidance now clearly records the organization-wide PyPI versioning policy.
🎯 Purpose & Impact
- 🧹 Easier dataset setup: Users can explicitly initialize or reset dataset class information through the API.
- 🐍 Better Python support: Both regular and asynchronous SDK users can access the new dataset behavior consistently.
- 🔄 More dependable SDK updates: Automatic regeneration keeps the Python client aligned with the live Platform API.
- 📦 Clearer package management: Standard three-part versions improve compatibility with common Python tooling and make releases easier to understand.
- ✅ Higher release confidence: Additional CI checks help prevent mismatched, invalid, or accidentally downgraded SDK packages.
- ℹ️ No model architecture changes: This release focuses on the Platform API, Python SDK, and publishing workflow rather than changes to YOLO models.
What's Changed
- Enforce MAJOR.MINOR.PATCH for all SDK releases by @glenn-jocher in #58
- Update Platform API contract by @UltralyticsAssistant in #60
Full Changelog: v0.1.32...v0.1.33