Skip to content

Releases: trevor-viljoen/mlbapi

v0.2.2

31 Mar 14:08
0117f17

Choose a tag to compare

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

30 Mar 15:40
62cb88c

Choose a tag to compare

Patch release.

Bug fix

  • Fix AttributeError when accessing .players on AwayTeam or HomeTeam
    built from an empty players dict. setattr was inside the iteration loop
    so it never ran when players: {} — moved it outside the loop in both
    classes. Closes #14.

Changes

  • mlbapi/object/game.py — fix in AwayTeam and HomeTeam
  • Two regression tests added