Files
SubMiner/changes
sudacode 2edf56541c feat(stats): group library seasons, movies and OVAs into franchise cards
The stats library now lists each anime once. Grouping is a view over
imm_anime rows computed from a cached AniList relation graph; no rows are
merged and identity keys are unchanged.

- Schema 27: imm_anilist_media + imm_anilist_relations cache every AniList
  entry reached from the library and all its anime edges. A background
  refresher walks from owned AniList ids (depth 6, 250 fetches per run,
  7-day staleness) through the shared AniList rate limiter; a failed fetch
  leaves cached rows untouched.
- FRANCHISE_RELATION_TYPES (PREQUEL, SEQUEL, PARENT, SIDE_STORY, SUMMARY,
  COMPILATION, CONTAINS) joins entries; an entry that names the other only
  through an excluded type (a spin-off's original) vetoes the join.
- GET /api/stats/anime/groups returns cards with summed totals, the root
  entry's title, and parts in release order. Entries without cached
  relations stay single cards identical to before.
- imm_anime.group_override (NULL = AniList, 0 = on its own, positive =
  join the franchise containing that AniList id) with
  PUT /api/stats/anime/:id/group and Move to Another Anime / Show On Its
  Own / Put Back Where AniList Has It on the title page.
- SSH sync merges the override last-writer-wins on
  group_override_updated_at and skips the rebuildable relation cache.
2026-11-22 02:33:44 -08:00
..

Changelog Fragments

Add one .md file per user-visible PR in this directory.

Use this format:

type: added
area: overlay

- Added keyboard navigation for Yomitan popups.
- Added auto-pause toggle when opening the popup.

For breaking changes, add breaking: true:

type: changed
area: config
breaking: true

- Renamed `foo.bar` to `foo.baz`.

Rules:

  • type required: added, changed, fixed, docs, or internal
  • area required: short product area like overlay, launcher, release
  • breaking optional: set to true to flag as a breaking change
  • each non-empty body line becomes a bullet
  • README.md is ignored by the generator
  • if a PR should not produce release notes, apply the skip-changelog label instead of adding a fragment

PR branch workflow:

  • Before adding a fragment or bullet, inspect the changes/*.md files already changed in the PR
  • If the new work fixes, modifies, renames, or supersedes behavior introduced or referenced by that fragment, edit or remove the stale bullet instead of adding follow-up churn
  • Add a new bullet only when it describes a truly separate user-visible outcome
  • Multiple fragment files are allowed when one PR has genuinely separate release-note outcomes, but keep them minimized and current

How fragments turn into a release:

  • At release time, bun run changelog:build (and bun run changelog:prerelease-notes) pipes every pending fragment through claude -p to merge related items, drop noise, and rewrite into a clean user-facing release body. Write fragments as raw, informative notes — don't worry about polished prose, deduping across PRs, or line-by-line phrasing. The polish step handles all of that.
  • The polish step treats pending fragments as the final release outcome, not prerelease history. If a feature is added and then renamed or fixed before the stable cut, ship the final feature bullet instead of separate prerelease-only breaking/fix entries.
  • CHANGELOG.md, GitHub release notes, and prerelease notes all use one item per feature or area, inline by default: - **Name**: one or two short sentences. Items with several separate changes may use a few short nested bullets instead of a run-on sentence. Items say what changed and how to reach it; implementation details, edge cases, and step-by-step usage belong in the docs, not the release body.
  • internal fragments stay in CHANGELOG.md (inside a collapsed <details> block) but are dropped from the GitHub release notes entirely.
  • The polished CHANGELOG.md and packaging/release-notes/release-notes.md are committed and reviewed before tagging — edit the Markdown by hand if Claude misses something.

Prerelease notes:

  • prerelease tags like v0.11.3-beta.1 and v0.11.3-rc.1 reuse the current pending fragments to generate packaging/release-notes/prerelease-notes.md
  • from the second prerelease of a base version onward, the notes also open with a ## Changes since <previous tag> section generated from the fragment diff against the previous beta/RC tag; keep fragment edits meaningful. Editorial-only rewording is filtered out of that section, while genuinely changed behavior and deleted fragments (reverted changes) are reported
  • existing prerelease notes are a reviewed baseline; later prerelease runs should replace stale beta/RC wording with the current outcome instead of appending fix churn
  • prerelease note generation does not consume fragments and does not update CHANGELOG.md or docs-site/changelog.md
  • the final stable release is the point where bun run changelog:build consumes fragments into the stable changelog and release notes