github ePubLift/epublift cli-v3.1.0

latest releases: web-v1.22.1, cli-v3.1.1, web-v1.22.0...
5 hours ago

Changed

  • epublift check runs epubveri 0.21.0 and epublift repair runs epubsana
    0.23.0.
    A CSS syntax error (CSS-008) now says what is wrong and quotes it
    — 'margin' is not followed by ':', '{' is never closed, invalid selector 'img . portrait' at '.' — where it read only "CSS syntax error".
    Two CSS false positives are gone (a quoted or parenthesised unquoted url()
    naming a real file; a declaration directly in @media), and a rule inside
    @font-face or a value holding { } is now a CSS-008, as in epubcheck, so
    such a book can fail where it passed. Reports come out in the same order on
    every run, and a stylesheet with very many findings is checked much faster.
    Measured on 544 books, cli-v3.0.0 vs this release: the same findings,
    statuses and exit codes on every book, 24 CSS-008 messages in 12 books
    reworded; repair --dry-run output identical on all 544.
  • Minimum supported Rust is 1.97 (latest stable − 2).

Removed

  • The library's epublift::repair module, with plan_repair and
    write_repaired.
    Both the command line (since cli-v3.0.0) and the web page
    (since web-v1.21.0) repair with epubsana, so nothing calls them. They were
    never documented and the crate is not published; code that called them
    through a git dependency should use epubsana's repair() instead. The CLI
    itself does not change.

Full Changelog: web-v1.21.0...cli-v3.1.0

Don't miss a new epublift release

NewReleases is sending notifications on new releases.