v0.2.0 — Standings & Data Cascade

Docs version: v0.1.11GitHub ReleasesCHANGELOG.md

RugbyClaw v0.2.0 adds league standings with a multi-source data cascade for the most accurate tables possible.

New: rugbyclaw standings

rugbyclaw standings top14
rugbyclaw standings premiership --json
rugbyclaw standings urc --agent

View league tables with positions, W/D/L, points for/against, bonus points, try stats, and form strings. Works for all 8 supported leagues.

Multi-Source Data Cascade

Standings pulls data from the most accurate source available, falling back automatically:

  1. Official league scrapers — premiershiprugby.com and stats.unitedrugby.com
  2. all.rugby — universal aggregator covering all leagues
  3. API-Sports — structured API fallback
  4. ESPN enrichment — bonus point data when season matches

Bug Fixes (14)

  • Silent failure masking — errors now surface instead of showing empty results
  • Cache concurrency safety with write queue and atomic index updates
  • Path traversal prevention in ICS calendar file generation
  • Terminal control-sequence injection protection on all rendered strings
  • Config loader now throws on file corruption instead of silent fallback
  • Date validation rejects impossible dates
  • Notify output type correctly labels combined mode
  • Cache keys include provider mode to prevent cross-contamination
  • Follow-up hint CLI syntax corrected
  • And more — see full changelog on GitHub

Test Coverage

108 tests across 36 test files, all passing. 8 new test files added covering cache keys, config loaders, provider failure signaling, notify contracts, and scraper parsing.

Install / Update

npm install -g rugbyclaw@latest

Standings command docs →