Repository navigation
Stricter checks and more repairs from epubveri 0.56.0 and epubsana 0.50.0;
the upgrade leaves fewer new errors behind and no dead links in the table of
contents.
Changed
checkruns epubveri 0.56.0. In an EPUB 2 book, a CSS declaration with
no value (font-weight: ;) is an error, as in epubcheck. A font in adata:
URL is noted.DATA:is read asdata:, so valid books no longer get
remote-resource errors for it.repairruns epubsana 0.50.0. Anisattribute that can never take
effect andxsi:schemaLocationare removed without a question. It asks
before removing the full stop that ends a link's host
(http://example.org.), before turninghttp://name@example.cominto a mail
link when the link's text is that address, and before deleting
direction: inheritin astyleattribute. Brackets and other characters a
URL does not allow in a link's path are encoded.- The upgrade's last pass removes the first two by itself, so fewer
upgraded books carry errors their EPUB 2 version did not. --kepubruns kepubverto 0.7.1: it leaves out the__MACOSX/folder and
.DS_Storefiles a Mac's archiver adds, unless the book's manifest lists
them.- epubveri, epubsana and kepubverto are now under AGPL-3.0-only alone.
epublift stays AGPL-3.0-or-later.
Fixed
- Replacing a metadata field (
meta set) also removes what referred to the old
one (refines), so no reference to a missing element stays behind. - Replacing translators keeps the sort name of those who stay.
- The upgrade no longer copies dead links from
toc.ncxinto the navigation
document. An entry whose anchor is gone opens its file; one whose file is gone
opens the document with that title, or is left out. A table of contents with
no working entry is made again from the book's headings. - The upgrade gives a book without a unique identifier the one its
toc.ncx
still carries, or a new UUID. EPUB 3 requires one.
Security
rsa0.10.0 (GHSA-c38w-74pg-36hr, RUSTSEC-2023-0071), through
rustls-rustcrypto0.1.0-pre.0 from crates.io instead of a pinned commit.
epublift was not affected: the flaw can leak an RSA private key, and epublift
only checks servers' signatures and holds none.
Full Changelog: gui-v0.2.2...cli-v7.1.0