# Changelog

Changes to the widgets, the API and these docs, newest first. Breaking changes only come with a new version (`/v2`, `v2.js`).

## 2026-11-23

- **Public launch:** the API, the widgets, the MCP server and this portal are open to everyone, with no tester sign-in. The rate limit stays at 60 requests a minute per IP address.

## 2026-11-13

- **`closed_reason: moved`:** an entry closes as `moved`, not `returned`, when the player is dressed for another club (a loan to another National League club, a transfer). New value, so still v1.

- **Expected back:** `Absence.expected_back` (the game, with `starts_at`, `home` and the `opponent`'s slug, and the article's `url` and `said_on`) when a club's game preview or news says a player it lists as out plays a named upcoming game. Null once that game has started. New field, so still v1.

## 2026-11-12

- **Stricter filters:** `/v1/absences` answers `400 bad-parameter` for a `type` or `confidence` that doesn't exist, instead of an empty list.
- **MCP batches:** a JSON-RPC batch counts once per message against the rate limit and holds at most 10 messages.

## 2026-11-10

- **Off the club's report:** `Absence.off_club_report` (`since`, `url`) when the club's medical report no longer lists a player whose entry another source keeps open; `return` is then the club's last estimate. `/v1/changes` lists the drop, and the club listing him again, as `updated` with `changed: ["club_report"]` and `club_report.listed`. New fields and value, so still v1.

## 2026-11-07

- **Agent rule on season figures:** man-games lost, ice time missing and goalie games lost aren't in the API or the MCP server; agents link to sidelined.ch/stats instead of counting them from the current entries. Instructions only; the data is unchanged.

## 2026-11-04

- **`/v1/changes` lists updates:** `kind` = `updated` when an open entry has a new type, a new reason or a new suspension length, with `changed` and `suspension` (`games`, `was`, `eligible_from`). Reworded return estimates are left out, as on the site and in the alerts. New value and fields, so still v1; clients that only expect `opened` and `closed` should skip other kinds.
- **Suspensions explained:** for `return.kind` = `games`, `return.min` is the first game the player may play again, not a game he misses. Docs and agent instructions only; the data is unchanged.
- **`Team.next_game`:** the club's next National League game (or today's until it's over): `starts_at`, `home`, `opponent`. Also in the MCP tools `list_teams` and `get_team_absences`. New field, so still v1.

## 2026-11-03

- **`return.text_by`:** whose words `return.text` is, `source` or `sidelined`. League suspensions carry our own summary ("für 3 Spiele gesperrt"), which shouldn't be quoted as the league's. New field, so still v1.

## 2026-10-26

- **Loans are no longer counted as out.** Players with the farm team or on loan are roster decisions, like healthy scratches. API: `Absence.category` (`out`, `scratch`, `loan`) replaces the `scratch` flag, the `category` parameter replaces `scratches`, and `Team.loans` is new. Widgets count and list only `out`. Changed during the tester preview, so still v1.

## 2026-10-25

- **API v1** (preview for testers): teams, entries, recent changes, OpenAPI 3.1 document, problem details, ETags, rate limit of 60 requests a minute.
- **Widgets v1** (preview for testers): `<sidelined-widget>` in the `list` and `badge` variants, light, dark and auto themes, iframe fallback, on `embed.sidelined.ch`.
- **This portal** (preview for testers), with Markdown versions of every page and `llms.txt`.
