From a8aa3e4fbfc3014db092f06a7025f9454e7f05b6 Mon Sep 17 00:00:00 2001 From: Ivo Oskamp Date: Mon, 1 Jun 2026 14:03:33 +0200 Subject: [PATCH] Release v0.2.12 Summarise the Sepia reading theme, sidebar build-version indicator, and editor Find & Replace scope option into changelog.py and changelog.md. Reset the dev BUILD segment to 0 and mark the develop log as released. Co-Authored-By: Claude Opus 4.8 (1M context) --- containers/novela/changelog.py | 16 ++++++++++++++++ containers/novela/version.py | 2 +- docs/changelog-develop.md | 3 +++ docs/changelog.md | 10 ++++++++++ 4 files changed, 30 insertions(+), 1 deletion(-) diff --git a/containers/novela/changelog.py b/containers/novela/changelog.py index df5330e..1bc6574 100644 --- a/containers/novela/changelog.py +++ b/containers/novela/changelog.py @@ -3,6 +3,22 @@ Changelog data for Novela """ CHANGELOG = [ + { + "version": "v0.2.12", + "date": "2026-06-01", + "summary": "New Sepia reading theme in the reader, a build-version indicator in the sidebar, and a current-chapter-only scope option for the editor's Find & Replace.", + "sections": [ + { + "title": "New features", + "type": "feature", + "changes": [ + "Reader: new Sepia theme alongside Dark, for easier long-form reading — a warm paper background with dark brown text instead of light-on-black. A Theme toggle (Dark / Sepia) sits at the top of the reading settings drawer; the choice is saved per device. Text colour is now stored per theme, so each theme keeps its own tint, and the saved theme is applied before paint to avoid a flash.", + "Sidebar: the running build version is now shown at the bottom of the sidebar (e.g. v0.2.12 for releases, v0.2.12.3 for dev builds) and links to the changelog page.", + "Editor: Find & Replace gained a Current chapter only option. When checked, search/replace runs against the open chapter instead of every chapter in the book; it stays unchecked by default, so the existing all-chapters behaviour is unchanged.", + ], + }, + ], + }, { "version": "v0.2.11", "date": "2026-05-10", diff --git a/containers/novela/version.py b/containers/novela/version.py index cbf3acb..ab44aca 100644 --- a/containers/novela/version.py +++ b/containers/novela/version.py @@ -10,7 +10,7 @@ from __future__ import annotations from changelog import CHANGELOG -BUILD = 2 +BUILD = 0 def _release_version() -> str: diff --git a/docs/changelog-develop.md b/docs/changelog-develop.md index eacafe6..dfb4784 100644 --- a/docs/changelog-develop.md +++ b/docs/changelog-develop.md @@ -25,6 +25,9 @@ - `static/editor.js` (`replaceInAllChapters()`): reads `rp-current`; builds a `targets` list of either just `currentCh()` or all `chapters`, and iterates that. Shows an error ("No chapter open.") if Current-chapter-only is selected with no open chapter. Result message reads "… in current chapter" for the single-chapter case. - Default is unchecked, so the existing all-chapters behaviour is preserved. +--- +*Released as v0.2.12 on 2026-06-01* + ## 2026-05-10 - Reader: subheading/chat styling now also wins when the wrapper contains block elements with their own color rule (e.g. `

`) - Previously the `

`/`` rules in `reader.html` (`#chapter-content p { color: var(--text); }`, etc.) had the same specificity as `.subheading` and applied more directly to the inner element, so the parent's color was effectively overridden — the wrapped paragraph stayed in the default text color diff --git a/docs/changelog.md b/docs/changelog.md index 7883924..d488b6e 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,5 +1,15 @@ # Changelog +## v0.2.12 — 2026-06-01 + +### New features + +- Reader: new **Sepia** theme alongside Dark, for easier long-form reading — a warm paper background with dark brown text instead of light-on-black. A **Theme** toggle (Dark / Sepia) sits at the top of the reading settings drawer; the choice is saved per device. Text colour is now stored per theme, so each theme keeps its own tint, and the saved theme is applied before paint to avoid a flash. +- Sidebar: the running build version is now shown at the bottom of the sidebar (e.g. `v0.2.12` for releases, `v0.2.12.3` for dev builds) and links to the changelog page. +- Editor: Find & Replace gained a **Current chapter only** option. When checked, search/replace runs against the open chapter instead of every chapter in the book; it stays unchecked by default, so the existing all-chapters behaviour is unchanged. + +--- + ## v0.2.11 — 2026-05-10 ### Bug fixes