π Summary
v0.0.24 delivers a developer-focused refresh: modern Python typing across hub-sdk, cleaner docs badges, and infrastructure polish β all with no behavior changes for users. π
π Key Changes
- Modern Python typing overhaul (PR #275: Python 3.9 type hints by @glenn-jocher) β¨
- Adopted
from __future__ import annotationsand Python 3.10+ union syntax (e.g.,Response | None) - Replaced legacy
typing.Optional,Dict,Listwith nativedict,list, etc. - Standardized method signatures and return types across API client, auth, CRUD clients, models, projects, datasets, teams, and users
- Updated README with clear PyPI, downloads, and Python version badges
- Bumped version: 0.0.23 β 0.0.24
- No functional logic changes
- Adopted
- Docs tooling update (PR #274: Update pyproject.toml for mkdocs-ultralytics-plugin>=0.1.29) π
- Improves documentation generation stability, metadata, and SEO for contributors
- CI improvements (PR #271: Bump actions/checkout to v5) π§
- Aligns GitHub Actions with latest runner requirements; minor workflow tweaks (e.g., path excludes)
- General refactor and cleanup (PR #272: Ultralytics Refactor) π§Ή
- Streamlined code for readability and maintainability
π― Purpose & Impact
- Better developer experience π§βπ»
- Modern type hints make the codebase easier to understand, navigate, and statically analyze (e.g., with IDEs and linters)
- Safer, more consistent SDK internals β
- Clearer method contracts reduce integration mistakes and improve confidence when extending hub-sdk
- Smoother docs building for contributors π
- Updated MkDocs plugin reduces build friction and improves generated docs quality
- Stable for end users π‘οΈ
- No runtime behavior changes; your existing workflows and integrations with Ultralytics HUB continue to work as-is
Tip: If you contribute to the repo, ensure your environment supports the newer typing syntax and install the updated docs plugin if building docs locally. π―
What's Changed
- Bump actions/checkout from 4 to 5 in /.github/workflows by @dependabot[bot] in #271
- Ultralytics Refactor https://ultralytics.com/actions by @pderrenger in #272
- Update pyproject.toml for
mkdocs-ultralytics-plugin>=0.1.29by @glenn-jocher in #274 - Python 3.9 type hints by @glenn-jocher in #275
Full Changelog: v0.0.23...v0.0.24