# Changelog

> Every change to the API that a program can notice, newest first.

Every change to the API that a program can notice, newest first: a route,
a parameter, a field, a code. Also as a feed: [changelog.xml](https://docs.thebgdb.org/changelog.xml).
A test in this repository fails when the API's description changes without
an entry here.

## 2026-11-26

- Every edition has `covers`: the `front` and the `back` of its box, each
  a path on the API when we hold a copy, otherwise `null` (`cover` stays,
  the same as `covers.front`). The back is never a game's cover.
- Publisher API: `PUT /publisher/games/{id}/cover?side=back` (or `"side":
  "back"` in the JSON body) sends the back of the box, held to the same
  requirements. Codes `invalid_cover_side` and `cover_not_box_back`.
- `GET /editions?ean=` finds the edition (and its game) a barcode is
  printed on: EAN-13, or the 12-digit UPC-A of boxes sold in North America.
  Counted as one game read. Codes `invalid_ean` and `barcode_not_found`.
  See [Identify an edition by its barcode](https://docs.thebgdb.org/guides/identify-an-edition/).
- `POST /lookup`, on a paid plan: up to 100 barcodes and ids in one
  request. Codes `invalid_lookup` and `paid_plan_required`.
- Every edition has a `slug`, its address under its game.
  `GET /games/{id}/editions/{edition}` gives one edition: the front and
  back of its box, the languages of its rules, its rulebooks, what differs
  from the original edition and `indexable`. `GET /index/editions` lists
  the editions with enough of their own for a page; with `game`, one game's,
  each with its `language`, `year` and `publisher`.
- A game has `languages`: what we hold an edition, a box, rules, a file or
  a video in. With `lang`, its editions, rulebooks, files and videos come in
  that language first, then English.
- Weekly limits are enforced: without a token 5,000 requests and 500 games
  read a week per address, besides 2,000 a day. Answers carry the
  `x-ratelimit-weekly-*` headers, and a refused request the code
  `weekly_limit`. See [Limits, caching and terms](https://docs.thebgdb.org/guides/limits-and-caching/).
- The Starter plan (€49.99 a month, for commercial use) and its limits, in
  `GET /limits` as `paid`.
- These docs, with the reference built from the API's own description.

## 2026-11-25

- `GET /games` takes `order=ranked`: best ranked first by our overall rank,
  unranked games last.
- `GET /search` with `type=people`, `type=publishers` or `type=all` also
  finds designers, artists and publishers by a spelling merged into them.
