What's new
docker pull ghcr.io/new-usemame/calibre-web-nextgen:v4.0.81
(or :latest)
Behind-the-scenes safety net for the upcoming Kobo highlight feature. No user-visible change in this release — the safeguard starts running invisibly and you'll only ever notice it if something later goes wrong.
Automatic annotation backups (#241, closes #240)
Every time a Kobo highlight or note is added or changed, the server quietly writes a gzipped snapshot of your annotations for that book under /config/annotation-backups/. Keeps the three most recent snapshots per book and discards older ones. Identical state doesn't double the disk — a SHA-256 content hash skips redundant writes. Background worker thread handles the actual file write so the sync API never blocks on disk.
If a future patch ships a regression that touches highlights or notes, the previous good state is still recoverable from disk.
A future release adds a "browse + restore" UI on top of this. For now the file format is plain JSON (gzipped), so a one-liner can replay any snapshot back into the database manually.