- DB-stored books (Fase 1–6): chapters and images stored in PostgreSQL; grabber writes to DB, EPUB→DB conversion, DB→EPUB export, FTS search page (/search) - Chapter editor: Monaco editor supports DB-stored books; inline title editing - Grabber: DB/EPUB storage toggle on Convert page - Backup: restore from Dropbox snapshot (browse snapshots, restore individual or selected files) - AO3 scraper: initial implementation - Changelog: v0.1.2 and v0.1.3 entries added to changelog.py and changelog.md Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
169 lines
10 KiB
Python
169 lines
10 KiB
Python
"""
|
||
Changelog data for Novela
|
||
"""
|
||
|
||
CHANGELOG = [
|
||
{
|
||
"version": "v0.1.3",
|
||
"date": "2026-04-03",
|
||
"summary": "DB-stored books: chapters stored in PostgreSQL with full-text search, EPUB conversion, export, and a storage toggle in the grabber.",
|
||
"sections": [
|
||
{
|
||
"title": "New feature",
|
||
"type": "feature",
|
||
"changes": [
|
||
"DB-stored books: scraped books are now stored as chapters in PostgreSQL instead of EPUB files on disk — full-text search, content deduplication, and backup coverage are all handled automatically",
|
||
"Grabber stores chapters in book_chapters and images in a content-addressed imagestore (sha256-based, automatic deduplication across all books)",
|
||
"EPUB-to-DB conversion: Convert to DB button on any EPUB book detail page — extracts chapters, migrates all metadata and child rows (tags, progress, bookmarks, cover), removes the EPUB file",
|
||
"DB-to-EPUB export: Export EPUB button on DB-stored books — builds and streams a standards-compliant EPUB without writing a file to disk",
|
||
"Full-text search (/search): searches across all DB-stored chapter content via PostgreSQL FTS (tsvector / plainto_tsquery), returns highlighted snippets with direct links to the chapter position in the reader",
|
||
"Chapter editor supports DB-stored books: Monaco-based editor reads and writes book_chapters directly; chapter titles editable inline; title-only changes correctly included in Save All",
|
||
"Grabber: storage toggle on the Convert page — choose between DB storage and EPUB file before converting",
|
||
],
|
||
},
|
||
],
|
||
},
|
||
{
|
||
"version": "v0.1.2",
|
||
"date": "2026-04-02",
|
||
"summary": "Restore functionality on the Backup page.",
|
||
"sections": [
|
||
{
|
||
"title": "New feature",
|
||
"type": "feature",
|
||
"changes": [
|
||
"Restore functionality on the Backup page: browse any available Dropbox snapshot, see which files are currently missing from disk, and restore individual books or a selection back to the library — file is written to disk and immediately re-indexed",
|
||
],
|
||
},
|
||
],
|
||
},
|
||
{
|
||
"version": "v0.1.1",
|
||
"date": "2026-03-31",
|
||
"summary": "Bug fixes, volume-aware duplicate detection, shared code cleanup, and a new Changelog page.",
|
||
"sections": [
|
||
{
|
||
"title": "Bug fixes",
|
||
"type": "bugfix",
|
||
"changes": [
|
||
"Duplicates view crashed on load due to a TypeError (g.books.length was undefined); counter was stale and the view never rendered",
|
||
"Duplicate detection was too aggressive: different volumes of the same series (same title + author, different volume) were incorrectly grouped as duplicates — now keyed on title + author + volume",
|
||
"Grabber preload: same volume-aware fix — only flags a duplicate when title, author, and volume all match; falls back to title + author when no volume is known",
|
||
"Bulk Import duplicate check: different volumes of the same series are no longer flagged as duplicates",
|
||
],
|
||
},
|
||
{
|
||
"title": "Improvements",
|
||
"type": "improvement",
|
||
"changes": [
|
||
"Search changed from search-as-you-type (250 ms debounce) to Enter-to-search — prevents the iPad keyboard from locking up on large collections",
|
||
"CBR reader: archive format now detected via magic bytes instead of file extension — .cbr files that are actually ZIP or 7-zip archives open correctly; added 7-zip support via py7zr",
|
||
"Docker: replaced unrar-free with proprietary unrar (RARLAB v6.2.6) — fixes failures on RAR archives using newer compression methods",
|
||
],
|
||
},
|
||
{
|
||
"title": "New feature",
|
||
"type": "feature",
|
||
"changes": [
|
||
"Changelog page (/changelog): structured release history with version, date, and categorised change lists",
|
||
],
|
||
},
|
||
{
|
||
"title": "Code quality",
|
||
"type": "improvement",
|
||
"changes": [
|
||
"Shared CSS (theme.css): single :root block with all global CSS custom properties; loaded on every page — no more duplicate inline :root blocks across templates",
|
||
"Shared JS (books.js): book helpers (bookTitle, bookAuthor, bookGenres, bookSubgenres, bookPlainTags, filterBooks) and search input wiring extracted into one shared file",
|
||
"Shared JS (conversion.js): SSE/EventSource logic (connectConversionStream, addLog) extracted from Convert and Grabber pages into one shared file",
|
||
],
|
||
},
|
||
],
|
||
},
|
||
{
|
||
"version": "v0.1.0",
|
||
"date": "2026-03-29",
|
||
"summary": "First release of Novela: a self-hosted personal library for EPUB, PDF, CBR, and CBZ files.",
|
||
"sections": [
|
||
{
|
||
"title": "Library",
|
||
"type": "feature",
|
||
"changes": [
|
||
"Grid and List view for all books and New books, with column visibility filter and persistent view mode",
|
||
"Sidebar navigation: All books, Want to Read, New, Incomplete, Series, Authors, Publishers, Archived, Bookmarks, Rated, Duplicates, Statistics — all with live counters",
|
||
"1–5 star ratings stored in the database and written back to EPUB OPF and CBZ ComicInfo.xml",
|
||
"Publication status: Complete, Ongoing, Temporary Hold, Long-Term Hold",
|
||
"Status and want-to-read badges on grid covers, always readable regardless of cover colour",
|
||
"Duplicate detection: groups books by title and author with a sidebar counter",
|
||
"Incomplete view: all non-archived books where publication status is not Complete",
|
||
"Rated view: non-archived books with a star rating, sorted by rating",
|
||
"Bulk delete in All books List view with multi-select and Shift+click range selection",
|
||
"Disk usage warning in sidebar (amber ≥ 85%, red ≥ 95% or low free space)",
|
||
"Autocomplete for Author, Publisher, and Series in the book edit panel",
|
||
"Series volume suffix support (e.g. 21a, 21b) and volume 0 for prequels and specials",
|
||
"Cover upload for EPUB books with cover cache for fast subsequent loads",
|
||
],
|
||
},
|
||
{
|
||
"title": "Reader",
|
||
"type": "feature",
|
||
"changes": [
|
||
"EPUB reader with chapter navigation, scroll progress, and bookmarks",
|
||
"PDF reader with page-image rendering and page navigation",
|
||
"CBR/CBZ reader with page-image rendering; format detection via magic bytes (supports ZIP, RAR, and 7-zip archives)",
|
||
"Reader text colour: 5 warm-tone presets, persisted per browser",
|
||
"Content width slider (30–100 vw), persisted per browser",
|
||
"Bookmarks: save position with optional note; navigate back via sidebar or bookmark list",
|
||
],
|
||
},
|
||
{
|
||
"title": "Import & Convert",
|
||
"type": "feature",
|
||
"changes": [
|
||
"Single-file import: drag-and-drop or file picker for EPUB, PDF, CBR, CBZ",
|
||
"Bulk Import: batch import with %placeholder% filename pattern parsing, shared metadata, live preview table, and duplicate detection",
|
||
"Convert: scrape web fiction and convert to EPUB; warns if title and author already exist in the library",
|
||
"Grabber with credentials manager for site-specific login",
|
||
],
|
||
},
|
||
{
|
||
"title": "Book Builder",
|
||
"type": "feature",
|
||
"changes": [
|
||
"Create EPUB books from scratch via a WYSIWYG editor",
|
||
"Chapters with contenteditable editing; toolbar: bold, italic, underline, blockquote, author note, scene break, normalize",
|
||
"Autosave every 30 seconds and Ctrl+S; publish produces a standards-compliant EPUB 2.0 added directly to the library",
|
||
],
|
||
},
|
||
{
|
||
"title": "Following",
|
||
"type": "feature",
|
||
"changes": [
|
||
"Track external author URLs on the Following page",
|
||
"Two tabs: Following (authors with URL set) and All Authors",
|
||
"Inline URL editing with Enter/Escape support; Visit opens URL in a new tab",
|
||
"Sidebar counter shows number of followed authors",
|
||
],
|
||
},
|
||
{
|
||
"title": "Backup",
|
||
"type": "feature",
|
||
"changes": [
|
||
"Dropbox backup with versioned snapshots and object-store deduplication",
|
||
"OAuth2 refresh token flow (does not expire); legacy access token supported as fallback",
|
||
"Configurable backup root, snapshot retention, and scheduled interval",
|
||
"Live backup progress in sidebar (file count and phase); backup status indicator with time-ago",
|
||
"PostgreSQL dump included in each backup run",
|
||
],
|
||
},
|
||
{
|
||
"title": "Performance",
|
||
"type": "improvement",
|
||
"changes": [
|
||
"Library loads instantly for large collections: ETag 304 Not Modified, lazy cover loading via IntersectionObserver, single DOM pass rendering, SQL tag aggregation",
|
||
"Fast-path API (database-only); full disk rescan only on demand",
|
||
],
|
||
},
|
||
],
|
||
},
|
||
]
|