The command line meets the whole of the veripublica conventions, which changes
what scripts see: read the first section before updating one. check finds
more, and repair no longer loses letters in files that are not UTF-8.
Changed (breaking)
- The command line now meets all of veripublica conventions v0.7, as its
help has said since 5.0.docs/usage.md("Moving from 6.x to 7.0") lists what
scripts notice. - The upgrade's and
meta enrich's progress ([*]) and warnings go to stderr;
stdout carries the result only. repairwithout a terminal, on a book with a fix that needs a decision,
stops before writing and exits 2, naming--yes. It used to skip the fix and
exit 1, which looked like an ordinary result. Books whose fixes are all safe
are repaired as before.repair --dry-runandmeta enrich --dry-runexit 1 when the real run would
change something, and refuse an existing output without-fas the real
run does.- A value outside its set is refused (exit 2) with the values listed and a
pointer to--help:--quality 0or101is no longer corrected to 1 or
100, and an unknowncheck --profileis no longer ignored.--provideris
checked before the lookup starts;google-booksandgooglebooksare gone
(usegoogle). - The token after a value-taking option is always its value:
-i -x.epub
names the file-x.epub.--is ignored instead of ending the options. - A second
-isays how many inputs were expected and given. --ascii's help names--report, not the removed-r. The crate now
includesAGENTS.md.
Changed
checkfollows epubveri 0.55, which checks more of HTML, XHTML 1.1 and the
EPUB specifications, so a book that passed may now fail with a fault that
was always in it. Most likely to be met: in EPUB 2,targeton a link and
text that is not in Unicode Normalization Form C; in EPUB 3, a web address
whose host is not valid, such as a mail address written as
http://name@example.com, and attribute values HTML does not allow. On our
574-book shelf 7 books that were valid no longer are;repair -ymakes all 7
valid again. Messages say more, and every finding on the shelf that had no
rulein the JSON report has one now.repairhas two new repairs (epubsana 0.49.0):targetis removed from
a link where the book's EPUB version has no such attribute (asked about
first), and EPUB 2 text is written in Normalization Form C, which looks the
same (not asked about). On our shelf, 385 books are valid afterrepair -y
instead of 374.- An ISBN is written as ISBN-13 digits, the form ONIX and retailers use:
978-975-10-2656-9and the ISBN-10975-10-2656-3are both stored as
urn:isbn:9789751026569(EPUB 2:9789751026569withopf:scheme="ISBN").
It may still be typed or pasted with hyphens, spaces or as ISBN-10; a value
that is not an ISBN is written as given. A book's ISBN written another way is
no change, and an ISBN the book already holds is never rewritten unless the
field is edited.meta set --unique-identifierwith an ISBN names the
identifier holding that ISBN however it is written. - Every book the library writes (the upgrade, a metadata or cover save, an
import) is deflated at the strongest level. At the default level an
upgraded book grew even where nothing in it changed: fonts and text were
compressed less tightly than Calibre had them. On our 567-book shelf, images
kept: output +0.02% → −0.67% of the input in all, 484 → 316 books larger
than their input, 555 books smaller than before; time the same; every
validation result identical. - Dependencies for the family's update round of 2026-12-03: epubveri 0.55.0,
epubsana 0.49.0, kepubverto 0.6.2, imagoverto 0.1.6, paginaverto 0.3.6 and
others. The upgrade gives the same book as before from the same input.
Fixed
repairreplaced letters it could not read. Any repair that edited a
file holding a byte that is not UTF-8 wrote�over it:caféin
Latin-1 came back ascaf�, and the error about it disappeared. The byte is
now kept and the error stays. Affected: cli-v3.0.0 to cli-v6.1.0. If you
repaired a book that had anRSC-028error, look for�in it and repair
the original again.repair, renaming an invalidid, left behind the references that name it
without a#: a table cell'sheaders, a label'sfor,aria-labelledby
and the like. They are renamed with it.--kepubmade a valid EPUB 3 book invalid when it held anrp(Japanese
ruby) or atimewithoutdatetime: their text no longer gets Kobo spans.- A translator listed as a creator is no longer lost when
meta set --author
or the web form gives an author list without them: it is written back as a
translator. meta enrichand the web's metadata lookup wrote Open Library's free-text
date ("October 1, 1988") intodc:date, which takes a W3C date. The date is
now written1988-10-01(or1988-10,1988), asdocs/metadata.md
already said; one that cannot be read is left out.
Security
- sha2 0.11.2 → 0.11.3 (GHSA-3wc7-wpgp-g7qq, wrong SHA-384 and SHA-512 on
32-bit RISC-V only, which we publish no build for).
Full Changelog: gui-v0.2.1...cli-v7.0.0