Repository navigation
A release of fixes, most of them from contributors. Sessions are now checked against the account they belong to, IRC and Hardcover searches stop failing in the cases people ran into, Anna's Archive searches read the whole page, long names in non-Latin scripts can be saved, and series packs keep their files straight.
Security
- Sessions are now revalidated against the current account, so changing a user's role, password or status ends their existing sessions, open WebSocket connections included, and user responses no longer carry session security tokens. Everyone is signed out once after upgrading, because older cookies can't be trusted. Proxy auth isn't affected. Thanks @calibrain (#1752)
- The downloader skill's library check ran the book title through a shell, so a title containing a quote could run commands as the user running it. The title is now passed to
calibredbas a single argument, and a missingcalibredbreads as "not in the library" with a warning instead of aborting the batch. Thanks @Shengcun-Scanner (#1718)
Fixes
- Changing your password or username in Calibre-Web could leave Shelfmark rejecting the login until Calibre-Web restarted, because Shelfmark read
app.dbwithout its write-ahead log. It now reads the log too, and falls back to the old read only where the log can't be opened. Mount the folder that holdsapp.db, not the file alone, so the log is reachable. Thanks @Eyji (#1696) - A long author or title in Cyrillic, Chinese, Japanese or emoji could fail to save, because names were cut by characters while filesystems limit them by bytes. Names are now cut to fit and never in the middle of a character. Thanks @booxter (#1703)
- Automatic downloads now match Usenet ebook releases that write the format as
(epub)or[EPUB]instead of.epub, which used to leave a Hardcover request stuck on "no strict match". Bracketed(cbr)and(cbz)count as well now. Thanks @codyw912 (#1704) - In a series pack where every book's folder holds files with the same names, such as
Book 1/001.mp3andBook 2/001.mp3, each file is now matched to its own book instead of the first one with that name. Thanks @brandonocasey (#1701) - Download progress could freeze when an expired browser connection was dropped in the middle of a progress update. Thanks @booxter (#1705)
- A short Transmission outage no longer fails the download straight away. Connection errors are retried up to three times with a growing delay, and login and other RPC errors still fail at once. Thanks @booxter (#1706)
- An IRC channel saved with its
#, such as#ebooks, joined##ebooksand every search came back empty. The#and any surrounding spaces are now stripped. Thanks @lacroixdavid1 (#1722) - Searches and downloads on the shared IRC connection no longer break each other. A late results file for an earlier query is skipped instead of cached under the current one, a failing download can't close the socket under a search in flight, and a search that loses its connection reports the source as unavailable instead of caching an empty answer for a day. Thanks @louisefindlay23 (#1734)
- An Anna's Archive search after a DDoS-Guard check could come back as "No results found" because the page was read before it had finished loading. It now waits for the page to load, within the same timeout. Thanks @lacroixdavid1 (#1721)
- On a host with no IPv4 route, such as an IPv6-only network behind NAT64, every Anna's Archive search through the bypasser came back empty. The addresses handed to Chrome now follow what the system resolver returns. Thanks @jthoward64 (#1743)
- Google Books descriptions no longer show raw HTML such as a literal
<p>. Line and paragraph breaks are kept. Thanks @lacroixdavid1 (#1723) - A Hardcover book stored as
Title: A Novelis searched asTitleinstead of the full string, which indexers that need every word could not match. Series entries such asSeries: Book 1are handled as before. Thanks @hongtron (#1729, fixes #1728) - Over some VPNs the first Hardcover search after a couple of idle minutes hung until the timeout and came back as "no results". A connection that fails to open is now retried once, and a request that already went out is never resent. Thanks @calibrain, and @microwave2440-dev for the report and the measurements (#1738, fixes #1736)
- Direct downloads from Anna's Archive wait up to 60 seconds for data instead of 10, so a slow server that pauses mid-file no longer times out. Thanks @calibrain, and @sonic-duck for the report (#1738, fixes #1732)
- With
OIDC_AUTO_REDIRECTon, the login page no longer flashes a broken logo before it redirects. Thanks @calibrain, and @adman234 for the report (#1738, fixes #1737) - WireGuard setup no longer stops with
sudo: not foundwhen the user ID given in the environment differs from the real root ID. Thanks @calibrain, and @mixxit for the report (#1738, fixes #1730) - Opening a book from a series with Hardcover keeps the series you were viewing instead of switching to the book's featured series. Thanks @calibrain, and @louisefindlay23 for the report (#1752, fixes #1751)
- AudiobookBay results are read again. The site now serves them base64-encoded inside hidden
.postelements and decodes them in the browser, so every search came back empty with no error. A mirror still serving plain markup keeps working, and a page where no results can be read now logs a warning. Thanks @DrNgo for the original fix (#1656) (@splitsec2) - The retry after the cooldown no longer reopens a failed request when no source can search it. An admin's request, or any request on an install without login, used to be reopened and then sit pending with nothing acting on it (#1693, fixes #1678) (@splitsec2)
- Retry on a failed release of a request that was reopened now goes through that request, so the download is linked to it and closes it when the book arrives. Before, the book was fetched but the request stayed pending, and an admin approving it or the next automatic download pass could fetch the same book again. A request owner's Retry is still a plain download for now (#1715). (#1714, fixes #1681) (@splitsec2)
Under the hood
- Python dependency updates, including Apprise 2.3.0, Authlib 1.9.10 and gunicorn 27 (#1698, #1699, #1707, #1726, #1727, #1733, #1740, #1750)
- Docker base image updates: uv 0.13.9, Node and Python 3.14.10 (#1708, #1710, #1741)
- GitHub Actions updates (#1709)
- Frontend dependency updates (#1711, #1742)
Full Changelog: v1.7.0...v1.7.1