Releases: trevor-viljoen/mlbapi
Releases · trevor-viljoen/mlbapi
v0.2.2
Packaging, documentation, and release automation.
- README rewritten with badges, quick-start examples, team ID table, and support links
- Migrated from setup.py to pyproject.toml (setuptools backend, Markdown long_description, Python 3.8-3.12 classifiers, project URLs)
- Added .github/workflows/publish-to-pypi.yml - automated PyPI publishing via OIDC Trusted Publishing on release; no secrets required
- Updated .github/FUNDING.yml
v0.2.1
Patch release.
Bug fix
- Fix
AttributeErrorwhen accessing.playersonAwayTeamorHomeTeam
built from an empty players dict.setattrwas inside the iteration loop
so it never ran whenplayers: {}— moved it outside the loop in both
classes. Closes #14.
Changes
mlbapi/object/game.py— fix inAwayTeamandHomeTeam- Two regression tests added