--- title: Changelog tags: - changelog - milestones --- # Changelog All project milestones. See also `changes.md` in project root. --- ## Milestone 001 ### Backend - Added accuracy filter (`WHERE accuracy = 'EXACT'`) to [[Statistics]] watchday distribution queries in `statisticsController.js` ### Frontend - Replaced Calendar popover with native `` in [[Watch Tracking|EntrySeenDialog]] and [[Watch Tracking|EpisodeSeenEditDialog]] for easier year selection - Merged date + accuracy into a single row in both seen dialogs - [[Statistics|LibraryGrowthChart]]: uses `createdAt` only (removed `date_first_seen`), includes all entries (watchlist + library) - [[Pages|SeasonPage]] and [[Pages|EpisodePage]]: added `max-w-4xl` width constraint - [[Navigation|Breadcrumbs]] now show "Title / Season x / Episode x" instead of generic labels - Fixed EpisodePage using `seasonId` (DB id) instead of `season.season_number` for display - Added cleanup section to [[Settings Page]] for orphan files/media records - Created [[API Clients|maintenance.ts]] API client --- ## Milestone 001.1 ### Backend - Fixed [[People|credit]] duplicate bug: changed dedup key from `people_id + cast_type + tmdb_credit_id` to `people_id + cast_type` — TV series credits no longer re-inserted on every refresh - Fixed TV series character/job extraction: detects `aggregate_credits` format via `Array.isArray(c.roles)` instead of `is_tvseries` flag; joins all roles/jobs with `"; "` - Added `episode_count` field to [[Models#Credit|Credit]] model (from TMDB `total_episode_count`) - Increased `character` and `job` columns from `VARCHAR(100)` to `VARCHAR(500)` for multiple roles - Fixed [[Collections|collection]] media upload: deselects existing posters/backdrops before inserting new custom upload ### Frontend - Created [[Components#Dialogs|MarkSeasonWatchedDialog]] — dedicated dialog replacing the old two-step EpisodeSeenEditDialog + ConfirmDialog flow - Added **Scatter Mode**: distributes episodes across a date range with even spread and live preview - "Mark Season Watched" button on [[Pages#SeasonPage|SeasonPage]] is now always visible