3 This document records all notable changes to Librarian.
7 - Smaller images in EPUB (600px width instead of 1200px).
8 - Convert PNG to JPEGs if too large in EPUBs.
12 - Add fundraising inserts in PDF.
16 - Added cover logos support.
20 - Added debug version for epub and epubcheck utility.
24 - Remove direct verse styling from HTML.
28 - Move statistics counter to L2 WLgit lDocument.
32 - Add <category.thema.main>.
33 - Support Python 3.7--3.11.
37 - Fix for better ignoring <extra>.
41 - Change default cover to marquise.
42 - Add support for full predesigned covers to marquise.
43 - Remove support for changing actual cover class via coverClass.
51 - Add html-snippet builder.
52 - Remove DateValue class.
53 - Fix some texts and tests.
54 - Drop Python < 3.6. Up to 3.9 is supported.
58 - Added thema meta field.
62 - Fix for marquise cover: allow scaling title text in all layouts.
66 - Added assigning and preserving id attribute .
70 - Added <wers_srodek>, <tab>, <rownlolegle> and <blok>.
74 - Added verse counters to document statistics.
79 - Shortening authors and translators list on new cover.
89 - Don't validate comment contents.
90 - Ignore translators on new cover if too long.
96 - Bug in reading child books.
102 - Bug in reading picture XML.
103 - Bug in setting WLURI.slug
106 ## 2.4.4 (2022-07-07)
112 ## 2.4.3 (2022-06-07)
115 - Fix for new cover with custom size.
118 ## 2.4.2 (2022-05-23)
121 - Error reporting on metadata parse error.
124 ## 2.4.1 (2022-05-12)
127 - `category.legimi` metadata field
130 - Fix PDF support for 'Geometric shapes' characters.
131 - Explicitly ignore unknown elements in v2 elements API.
137 - New 'marquise' cover style.
138 - 'Factory' cover style with a QR code.
141 ## 2.3.5 (2022-04-07)
144 - Support for www tag.
145 - Support for mat with inline text.
148 ## 2.3.4 (2022-02-28)
151 - Document stats totaling bug.
152 - Legimi cover background position.
155 ## 2.3.3 (2021-12-23)
158 - Line numbering reset with numeracja.
161 ## 2.3.2 (2021-12-21)
164 - Legimi cover colors.
165 - EPUB/MOBI TOC styling.
168 ## 2.3.1 (2021-12-20)
171 - Additional logos order.
178 - Document statistics.
179 - Legimi cover classes.
182 - Default licensing info.
188 - Support for block annotations.
189 - Option to use endnotes in PDF.
192 - Avoid hanging conjunctions on covers.
198 - Basic document structure validation.
199 - Support for headers inside quotes in epub.
207 - New `librarian` entry point for converters.
213 - Epub: translator marked with MARC Relators role 'trl'.
214 - Epub: authors and translators dc:creator elements had duplicate `id`.
215 - Epub: 'Start' element in TOC was added inconsistently and in wrong order.
221 - Image sources are now URLs. This changes the API: instead of paths
222 given as `ilustr_path`, `transform` functions now accept
223 a new `base_url` parameter.
224 - Size limits introduced for images in all formats.
230 - Responsive images in HTML. This changes the html.transform API.
239 ## 1.11.3 (2021-01-25)
242 - Missing items in EPUB TOC.
245 ## 1.11.2 (2020-12-18)
249 - Subchapters without chapters in EPUBs.
256 - Experimental DAISY builder.
263 - Support for `ref` tags in HTML.
270 - Experimental class-based builders for HTML and TXT.
275 - Upgraded to EPUB 3, using ebooklib.
279 ## 1.8.3 (2020-05-28)
282 - XML entities in MathML breaking PDF generation.
283 - Regression: verse numbering was lost.
286 ## 1.8.2 (2020-04-03)
289 - New Ebookpoint logo.
292 ## 1.8.1 (2020-02-18)
295 - Multiple authors on cover are now split into lines.
301 - Support for tags: podtytul_*.
302 - Swappable CSS for HTML preview (as --css).
303 - First version of a test file in tests/uat.
306 - Verses in HTML are now generated as div, not p, to prevent blank lines on copying.
309 ## 1.7.8 (2020-02-05)
312 - Preliminary support for new tag: animacja.
315 ## 1.7.7 (2019-12-31)
318 - Allow multiple source.URL fields.
320 ## 1.7.6 (2019-10-01)
323 - Epub: only attach images referenced in the text.
326 ## 1.7.5 (2019-08-19)
329 - Updated information on the back of EPUB and PDF files.
332 ## 1.7.4 (2019-08-01)
335 - `html.tranform_abstract` bytes vs text confusion.
339 ## 1.7.3 (2019-07-31)
342 - Support for wl:coverLogoUrl, for adding cover logos.
345 ## 1.7.2 (2019-03-12)
348 - Fix for Picture in Python 3: open image in binary mode.
351 ## 1.7.1 (2019-03-01)
354 - Bug in cover generation.
360 - Python 3.4+ support, to existing Python 2.7 support.
361 - `coverter_path` argument in `mobi.transform`.
362 - Proper packaging info.
364 - Tox configuration for tests.
367 - `from_bytes` methods replaced all `from_string` methods,
368 i.e. on: OutputFile, WorkInfo, BookInfo, WLDocument, WLPicture.
369 - `get_bytes` replaced `get_string` on OutputFile.
372 - Shims for Python < 2.7.