Skip to content

v0.0.24 - Python 3.9 type hints (#275)

Latest

Choose a tag to compare

@github-actions github-actions released this 03 Sep 13:37
· 26 commits to main since this release
ab308e3

🌟 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 annotations and Python 3.10+ union syntax (e.g., Response | None)
    • Replaced legacy typing.Optional, Dict, List with native dict, 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
  • 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

Full Changelog: v0.0.23...v0.0.24