Skip to content

v1.5.0

Choose a tag to compare

@jackemcpherson jackemcpherson released this 04 Apr 03:36
· 98 commits to main since this release
73181a6

Added

  • roundName field on MatchResult — exposes the human-readable round name (e.g. "Round 1", "Qualifying Final") from all data sources
  • position, goalEfficiency, shotEfficiency, interchangeCounts fields on PlayerStats — populated from the AFL API raw response
  • supercoachScore field on PlayerStats — populated from FootyWire's SC column (null for other sources)
  • date, homeTeam, awayTeam match context fields on PlayerStats — enables cross-source joins without relying on matchId format
  • player-details command now works without --team flag — fetches all teams when omitted

Changed

  • stats command with --source afl-api now returns all available rounds when -r is omitted, matching the R package's fetch_player_stats(season = N) behaviour
  • transformPlayerStats now accepts (data, ctx: TransformContext) instead of positional parameters
  • FootyWire stats fetching pre-filters match IDs by round before scraping (~4 pages instead of ~200 for single-round queries)

Fixed

  • stats command no longer errors on rounds with unplayed matches — gracefully skips matches where the AFL API returns null player stats arrays

Closes #60, #61, #62, #63, #64

What's Changed

Full Changelog: v1.4.2...v1.5.0