github ePubLift/epublift cli-v7.1.0

latest releases: gui-v0.2.3, web-v1.42.0
48 minutes ago

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

  • check runs 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 a data:
    URL is noted. DATA: is read as data:, so valid books no longer get
    remote-resource errors for it.
  • repair runs epubsana 0.50.0. An is attribute that can never take
    effect and xsi:schemaLocation are removed without a question. It asks
    before removing the full stop that ends a link's host
    (http://example.org.), before turning http://name@example.com into a mail
    link when the link's text is that address, and before deleting
    direction: inherit in a style attribute. 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.
  • --kepub runs kepubverto 0.7.1: it leaves out the __MACOSX/ folder and
    .DS_Store files 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.ncx into 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

  • rsa 0.10.0 (GHSA-c38w-74pg-36hr, RUSTSEC-2023-0071), through
    rustls-rustcrypto 0.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

Don't miss a new epublift release

NewReleases is sending notifications on new releases.