3 This document records all notable changes to Librarian.
7 - Remove old API for HTML, TXT generators. Move to new API.
8 - The HTML format is changed:
9 - text-elements now have 'wl' class and id attribute,
10 - magic 'secN' ids are removed
11 - 'a.target' elements removed
12 - numbering anchors class changed to wl-num
13 - Removed all code related to art gallery.
18 - Smaller images in EPUB (600px width instead of 1200px).
19 - Convert PNG to JPEGs if too large in EPUBs.
23 - Add fundraising inserts in PDF.
27 - Added cover logos support.
31 - Added debug version for epub and epubcheck utility.
35 - Remove direct verse styling from HTML.
39 - Move statistics counter to L2 WLgit lDocument.
43 - Add <category.thema.main>.
44 - Support Python 3.7--3.11.
48 - Fix for better ignoring <extra>.
52 - Change default cover to marquise.
53 - Add support for full predesigned covers to marquise.
54 - Remove support for changing actual cover class via coverClass.
62 - Add html-snippet builder.
63 - Remove DateValue class.
64 - Fix some texts and tests.
65 - Drop Python < 3.6. Up to 3.9 is supported.
69 - Added thema meta field.
73 - Fix for marquise cover: allow scaling title text in all layouts.
77 - Added assigning and preserving id attribute .
81 - Added <wers_srodek>, <tab>, <rownlolegle> and <blok>.
85 - Added verse counters to document statistics.
90 - Shortening authors and translators list on new cover.
100 - Don't validate comment contents.
101 - Ignore translators on new cover if too long.
104 ## 2.4.6 (2022-07-15)
107 - Bug in reading child books.
110 ## 2.4.5 (2022-07-08)
113 - Bug in reading picture XML.
114 - Bug in setting WLURI.slug
117 ## 2.4.4 (2022-07-07)
123 ## 2.4.3 (2022-06-07)
126 - Fix for new cover with custom size.
129 ## 2.4.2 (2022-05-23)
132 - Error reporting on metadata parse error.
135 ## 2.4.1 (2022-05-12)
138 - `category.legimi` metadata field
141 - Fix PDF support for 'Geometric shapes' characters.
142 - Explicitly ignore unknown elements in v2 elements API.
148 - New 'marquise' cover style.
149 - 'Factory' cover style with a QR code.
152 ## 2.3.5 (2022-04-07)
155 - Support for www tag.
156 - Support for mat with inline text.
159 ## 2.3.4 (2022-02-28)
162 - Document stats totaling bug.
163 - Legimi cover background position.
166 ## 2.3.3 (2021-12-23)
169 - Line numbering reset with numeracja.
172 ## 2.3.2 (2021-12-21)
175 - Legimi cover colors.
176 - EPUB/MOBI TOC styling.
179 ## 2.3.1 (2021-12-20)
182 - Additional logos order.
189 - Document statistics.
190 - Legimi cover classes.
193 - Default licensing info.
199 - Support for block annotations.
200 - Option to use endnotes in PDF.
203 - Avoid hanging conjunctions on covers.
209 - Basic document structure validation.
210 - Support for headers inside quotes in epub.
218 - New `librarian` entry point for converters.
224 - Epub: translator marked with MARC Relators role 'trl'.
225 - Epub: authors and translators dc:creator elements had duplicate `id`.
226 - Epub: 'Start' element in TOC was added inconsistently and in wrong order.
232 - Image sources are now URLs. This changes the API: instead of paths
233 given as `ilustr_path`, `transform` functions now accept
234 a new `base_url` parameter.
235 - Size limits introduced for images in all formats.
241 - Responsive images in HTML. This changes the html.transform API.
250 ## 1.11.3 (2021-01-25)
253 - Missing items in EPUB TOC.
256 ## 1.11.2 (2020-12-18)
260 - Subchapters without chapters in EPUBs.
267 - Experimental DAISY builder.
274 - Support for `ref` tags in HTML.
281 - Experimental class-based builders for HTML and TXT.
286 - Upgraded to EPUB 3, using ebooklib.
290 ## 1.8.3 (2020-05-28)
293 - XML entities in MathML breaking PDF generation.
294 - Regression: verse numbering was lost.
297 ## 1.8.2 (2020-04-03)
300 - New Ebookpoint logo.
303 ## 1.8.1 (2020-02-18)
306 - Multiple authors on cover are now split into lines.
312 - Support for tags: podtytul_*.
313 - Swappable CSS for HTML preview (as --css).
314 - First version of a test file in tests/uat.
317 - Verses in HTML are now generated as div, not p, to prevent blank lines on copying.
320 ## 1.7.8 (2020-02-05)
323 - Preliminary support for new tag: animacja.
326 ## 1.7.7 (2019-12-31)
329 - Allow multiple source.URL fields.
331 ## 1.7.6 (2019-10-01)
334 - Epub: only attach images referenced in the text.
337 ## 1.7.5 (2019-08-19)
340 - Updated information on the back of EPUB and PDF files.
343 ## 1.7.4 (2019-08-01)
346 - `html.tranform_abstract` bytes vs text confusion.
350 ## 1.7.3 (2019-07-31)
353 - Support for wl:coverLogoUrl, for adding cover logos.
356 ## 1.7.2 (2019-03-12)
359 - Fix for Picture in Python 3: open image in binary mode.
362 ## 1.7.1 (2019-03-01)
365 - Bug in cover generation.
371 - Python 3.4+ support, to existing Python 2.7 support.
372 - `coverter_path` argument in `mobi.transform`.
373 - Proper packaging info.
375 - Tox configuration for tests.
378 - `from_bytes` methods replaced all `from_string` methods,
379 i.e. on: OutputFile, WorkInfo, BookInfo, WLDocument, WLPicture.
380 - `get_bytes` replaced `get_string` on OutputFile.
383 - Shims for Python < 2.7.