# Changelog All notable changes to Midnight Athenaeum are documented here. Format loosely follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). Each entry below is also what gets attached as the GitHub Release's notes for that version (and what the in-app "Check for Updates" screen shows) — see `scripts/extract-changelog.cjs`. ## [Unreleased] ## [0.23.3] - 2026-10-02 ### Fixed - **Delete book (files too) could send other books to the Recycle Bin.** When a book's audio sat loose in a folder that also held other books in subfolders (common for an author folder), deleting that book with its files — or removing it as a duplicate — moved the *whole* folder, other books included, to the Recycle Bin. Only the book's own files are touched now. Checked against a real 9,400-book library: 36 books were affected, one of them with 51 other books in its folder. - **Reorganize library by author was unsafe in the same folders** — it could move a folder along with the other books inside it. It now moves just that book's files. Reorganize also never overwrites an existing file, keeps each track's subfolder (so a book split into parts with same-named files can't have one part overwrite another), and if a book can't be fully moved it's put back exactly where it was instead of being left half-moved. - **Undo last reorganization** no longer loses a book's progress and bookmarks when some of its files can't be moved back, and can now be retried to finish the job instead of forgetting what was left. - A deliberately malformed `.m4b` could make the app use over a gigabyte of memory and stall while reading its chapters; that read is now bounded. - Starting a scan while another was just starting (e.g. clicking Rescan right at launch) could run two scans at once; only one runs now. - Damaged `.m4b` parts of a multi-file book now keep their real length. - Chapter artwork is no longer lost after moving the library's data folder. - Read along no longer shows text from a previously paired ebook after you pick a different one, and retries a chapter that failed to load. ### Security - Patched a denial-of-service advisory in `undici` (GHSA-3wwx-pv8p-q78v), a networking library used by the Discord Rich Presence integration and the build tooling. The app never used the affected WebSocket code, so this was not exploitable in practice; updated anyway. ## [0.23.2] - 2026-09-28 ### Security - Updated the Electron runtime to 43.7.5 (more upstream Chromium security fixes, plus a Windows fix for windows that could fail to appear). - Updated the audio-tag reader (`music-metadata` 11.16.1), which adds several protections against deliberately malformed files. ### Fixed - That tag-reader update is stricter about damaged `.m4b`/`.m4a` files: a file whose end is slightly truncated would have lost its title, author, narrator and cover entirely, even though that information is intact near the start of the file. The app now reads those details itself when this happens. Checked against a real 6,800-file library: of the 12 damaged files it affected, every one that had readable details keeps them, and two that previously showed no details at all now show their real title, author and cover. (The twelfth is damaged right from its first byte; it never had readable details and is now listed under Read problems.) ## [0.23.1] - 2026-09-24 ### Security - Updated the underlying Electron runtime from 43.2 to 43.7, which picks up the latest Chromium security fixes. - Updated the audio-tag reader (`music-metadata` 11.15), which hardens how it handles malformed files — relevant because the app reads the tags of every file in your library. - Patched build-toolchain advisories (`brace-expansion`, and `file-type` via an upgraded `jimp` used only by the icon scripts). Neither was part of the installed app. `npm audit` now reports no known vulnerabilities. ### Changed - The README now lists the third-party software bundled in the installer and its licenses — notably that the bundled FFmpeg is GPL v3, with its license and source link included next to it in the install folder. ## [0.23.0] - 2026-09-24 ### Added - **Waveform seek bar** — the seek bar now shows the book's loudness waveform, so quiet passages, pauses and loud scenes are visible at a glance, with small ticks marking each chapter boundary. Hover or drag anywhere on it to see exactly what time you'd land on before letting go, and the "played" colour follows your drag. The waveform is worked out once in the background the first time you open a book (a few seconds per hour of audio) and remembered after that; until it's ready the bar works exactly as before. The seek bar is also taller now, so it's easier to hit. ## [0.22.0] - 2026-09-24 ### Added - **Cancel a running scan** — while a scan is running, the Rescan button becomes **Cancel scan**. Cancelling stops within about a second and leaves your library exactly as it was before the scan started; nothing half-scanned is ever saved. - **Books that couldn't be read are now flagged** — a book whose file couldn't be read (permission problem, locked by another program, a flaky drive) used to just show up as "Unknown author" with no explanation. It now gets a warning icon on its card, a line in the book view saying what went wrong, and a **Read problems** filter tab (shown only while there are any). **Folders → Retry books with read problems** tries them again. - **Notice when the app didn't close normally** — if Midnight Athenaeum crashed, stopped responding, or was force-closed, the next launch says so and offers to show the diagnostic log, ready to attach to a bug report. A window crash the app recovered from is reported too. ### Changed - Once a week, the launch-time scan does the same thorough per-file check as **Rescan**, so a file re-tagged outside the app (which the quick everyday scan can miss) shows up correctly without you having to know to rescan. The "found Audible files, decrypt them?" offer still only ever appears after a Rescan you started yourself. ## [0.21.1] - 2026-09-15 ### Fixed - **The genre filter was mostly just showing "Audiobook."** Genre tags weren't being cleaned enough: plenty of real Audible/Libation exports tag genre as a `:`-joined category breadcrumb (`"Science Fiction & Fantasy:Science Fiction:Adventure"`), which came through as one unsplit string, and — the actual complaint — a large share of real files tag genre as literally nothing but `"Audiobook"` (the file format, not what the book is about), which dominated the dropdown as if it were a genre choice. Genre extraction now also splits on `:` and drops a short list of medium-not-genre values (`"Audiobook"`, `"Audio Book"`, and case/spacing variants), so the dropdown reflects real literary genres — Fantasy, Horror, Mystery, Sci-Fi, and so on — instead. This applies retroactively to libraries scanned before this fix, no rescan needed. ## [0.21.0] - 2026-09-15 ### Added - **Full cast and genre library filters** — a new **Full cast** tab narrows the grid to the full-cast/GraphicAudio productions detected in v0.20.0. A new **Genre** dropdown (next to Sort) filters by genre tag, populated from whatever's actually in your library and hidden entirely if none of your books have one; it combines with whichever status tab is active rather than replacing it, and the search box now also matches genre text. Genres weren't tracked before this — they're read from the same tags as everything else during a scan, splitting taggers that pack multiple genres into one slash/semicolon/comma-joined string and deduping case-insensitively. ## [0.20.0] - 2026-09-15 ### Added - **Full-cast / GraphicAudio production support** — a production like GraphicAudio split across sibling folders (`Title (1 of 2)`, `Title (2 of 2)`) is now merged into one book with a single continuous timeline, instead of showing up as two unrelated, duplicate-titled entries. Full-cast and dramatized productions are detected (from the `GraphicAudio` folder convention or a `[Dramatized Adaptation]`/"full cast" marker) and marked with a badge on the card and in the book view; the misleading "Narrated by" label is now "Cast:" for these, since the tag it comes from is typically a studio credit rather than a single narrator. ## [0.19.0] - 2026-09-15 ### Added - **Bookmark clips: export & share cards** — a new "Clip" button on each bookmark row opens a small editor: two sliders pick a span around the bookmark, then export either a short MP3 you can share anywhere or a square image card (cover + title/author + quote + timestamp) ready for social. A span crossing a track boundary is handled correctly rather than cut off. The quote auto-fills from a transcript when the book has one (fully editable either way). ## [0.18.0] - 2026-09-11 ### Added - **Per-chapter artwork** — a small number of enhanced audiobooks embed a unique image for each chapter (Apple's chapter-artwork convention, mostly seen on podcasts and a handful of audiobook productions). Midnight Athenaeum now detects this, caches each chapter's image, and shows it as a thumbnail in the chapter list — the mini-player and Windows media flyout also switch to the current chapter's art while it's playing, falling back to the book cover otherwise. Books without this (the vast majority) are completely unaffected. ## [0.17.0] - 2026-09-11 ### Added - **Gapless multi-track playback** — crossing from one file to the next in a multi-track (mp3-folder) book no longer has a brief stall while the next file loads. A second, hidden `