diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b602a59..182a6fd4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -125,6 +125,19 @@ New modules a plugin may import via `src.*` (floor on 3.5.0): fetched, which keeps the peak memory of a four-capped-month fetch to about 16 MB over the sequential path rather than 43 MB — `docs/LOW_MEMORY_BOARDS.md` puts a 1 GB Pi 3B+ at under 200 MB of headroom. +- `ESPNDataSource.fetch_standings` asks each league the endpoint that league + actually publishes. It tried `/standings` first whatever the league and fell + back to `/rankings` only on a 404, but college leagues answer `/standings` + with a 200 that carries no poll, so the fallback never fired: the rank badge + simply never appeared and anything keyed off rankings quietly did nothing. + Endpoints are now ordered by whether the league publishes a poll, and a 200 + that lacks the key counts as a miss, so a league answering both still ends up + with whichever carries the poll. Only a 404 is routine — that is how a league + says it has none; a connection error, a timeout or an unparseable body is + logged as an error again, and a bug raised while inspecting the payload is no + longer swallowed as a missing poll. This is the implementation the football, + baseball and hockey boards already ship; core was the last copy on the old + one. ### Scrolling