What's new
docker pull ghcr.io/new-usemame/calibre-web-nextgen:v4.0.130
(or :latest)
Annotations: decouple source from sync target + live Kobo capture + PDF/CBZ overlays
Four-part annotation hardening that closes the H1 phase and unlocks the next round of annotation features.
- Decouple source from sync target. The
kobo_annotation_synctable is nowannotation, and a newannotation_sync_targettable tracks per-destination sync state with a clean state machine. The H1-era source-attribution bug is fixed — annotations now correctly record where they originated (Kobo, web reader, KOReader) instead of being labeledhardcoverwhenever they happened to pass through the Hardcover pipeline. - Live Kobo capture works even when Hardcover is off. Annotations sync to your local library whenever Kobo sync is on and you're authenticated. Soft-delete + recovery handled.
- PDF reader overlays. Imported highlights now render as color-coded overlays on PDF pages, scaling correctly with zoom.
- CBR/CBZ comic badges. Page-level annotations show as a floating badge with note count + color when the current page has notes.
Migration safety
The schema migration is transactional, idempotent, sanity-gated, and bit-exact preservation has been verified across a 5000-row test fixture. Existing annotations are preserved exactly. The pre-existing rolling-3 annotation-backup snapshots (shipped in v4.0.81) cover every annotation before this migration runs.
What's not in this release
Text-select-to-create UI in the PDF reader, click-to-tag UI in the comic reader, and async sync workers are tracked as follow-up PRs. The rendering substrate is in place; the create UIs come next.