Bug-fix backport release
Bundles 9 community contributions sitting in upstream's PR backlog, plus one fork-original infra fix. (#37 and #40 from the same sweep are deliberately held for thorough integration testing — see PR #54 — and will land in v4.0.17.)
What's fixed
- Newly imported books now show today's date instead of the file's mtime / 0001-01-01 (#39, upstream #1280 by @dbraendle)
- Back button restored in the web epub reader (#41, upstream #1231 by @burakemirsezen)
- Ingest folder creation works on systems without
install(#42, upstream #1226 by @antifuchs) - Email send no longer fails when metadata export produces no file — falls back to the original ebook (#44, upstream #1236 by @scottjamesrogers)
- KOReader sync no longer 500s on older KOReader plugin versions (#45, upstream #1131 by @SethMilliken)
- Magic-shelf author-sort now returns books instead of an empty list (#38, upstream #1233 by @scottjamesrogers)
- Web reader supports kepub files (#43, upstream #1318 by @shavitmichael)
- Kobo highlight color carried through as a Hardcover annotation tag (#48, upstream #1166 by @black-dragon74)
Infra
- Dependabot bumps now route to
needs-reviewinstead of auto-merging via the i18n tier (#36)
Held back for v4.0.17
- #37 (
s6-setuidgid abcon ingest workers) — needs an integration test that simulates a pre-v4.0.13 library with root-owned subdirectories, to confirm whether a one-time chown migration is required in the upgrade path before this can ship - #40 (
lazy='subquery'on every Books relationship) — needs a benchmark on browse / OPDS / library-export to confirm the upstream author's "minimal performance impact" claim, plus a reproduction of the DetachedInstanceError it claims to fix
Drop-in upgrade
```
docker pull ghcr.io/new-usemame/calibre-web-nextgen:latest
```
Same compose file, swap the image, restart.