ChangeLog
==========
0.8.1 (2025-11-22)
=======================
* Add support for Epub v3.3 metadata (catouc)
0.8.0 (2025-02-03)
==================
* Change error handling (ololduck)
* Add a way to change epub direction (duyk471)
0.7.4 (2023-10-05)
======================
* Make sure XML names don't start with invalid characters (dluschan)
0.7.3 (2023-08-11)
==================
* Fix a bug in EPUB3 template
0.7.2 (2023-08-10)
==================
* Use `upon` instead of `mustache` for the templates.
0.7.1 (2023-08-02)
======================
* Add a new `raw_title` method to `TocElement`to set an alternative HTML-free title when disabling HTML
escaping for titles.
0.7.0 (2023-07-28)
==================
* Add a new option to EpubBuilder to disable HTML encoding for fields that don’t require it.
* Unfortunately this means you need to pass an additional bool to `toc.render` (`true` to keep past behavior)
0.6.0 (2023-07-23)
==================
* Fix all non-valid characters in IDs (thebaron88)
* Fix multi-author tags (quartzlibrary)
* Escape nav.xhtml (thebaron88)
* Replace error-chain with eyre (mexus)
* Add deflate compression to zip (dgel)
* Add type-safe methods to modify metadata (Mensch)
* Make libzip/time feature optional (QuartzLibrary)
* Escape external contents (jtojnar)
* Add an exemple (ultrasaurus)
* Add page direction (erasin, jtojnar)
0.5.0 (2022-01-26)
=====================
* Move to Rust 2021 edition
* Escape invalid < and > in XHTML code
0.4.10 (2022-01-17)
=======================
* Fix EPUB3 typo induced in last update.
0.4.9 (2022-01-17)
=====================
* Add support for multiple authors, subjects and descriptions
* Fix empty lines and indentation of elements
* Only include the deflate feature for zip
0.4.8 (2020-09-29)
=====================
* Fix TOC when chapter titles contain HTML (see issue #13)
0.4.7 (2020-06-21)
=====================
* Fix issue reading zip files on some readers
0.4.6 (2020-06-12)
=====================
* The example bin should now produce a valid EPUB.
0.4.5 (2020-02-11)
=============
* Sanitize HTML before writing toc.ncx titles.
* Use ID instead of file name in cover metadata (see issue #6)
0.4.4 (2019-07-17)
======================
* Type deduction fixes for new Rust compiler
0.4.3 (2019-03-19)
========================
* Add the `ZipCommandOrLibrary` wrapper.
0.4.2 (2019-03-19)
========================
* Add `test` method to `ZipCommand` to test whether this zip command is installed
on the system
0.4.1 (2019-03-07)
========================
* Replace '\' by '/' in zip files path under Windows
0.4.0 (2018-06-01)
==================
* Fix XML format (thanks to @baskerville)
* Updated dependencies to latest major version
* Now requires rustc >= 1.20.0
0.3.0 (2017-09-27)
---------------------
* Breaking change: now requires rustc >= 1.14.0.
* Escape quotes in titles when writing content.opf.
* Update chrono dependency to 0.4.
* Update error-chain dependency to 0.11.0.
0.2.3 (2017-06-03)
---------------------
* Update uuid dependency to latest version.
0.2.2 (2017-03-20)
----------------------
* Avoid rendering empty anchors within nav element.
0.2.1 (2017-03-04)
----------------------
* Update dependencies (chrono, uuid, error-chain) to latest versions.
0.2.0 (2017-01-17)
----------------------
Fix the way `mimetype` is stored in the EPUB file (insure it isn't deflated).
This caused some minor breaking changes:
* The `Zip` implementations now take care of adding the `mimetype` file, not
`EpubBuilder`.
* `ZipLibrary::new()` now returns a `Result<ZipLibrary>`.
Normally, replacing `ZipLibrary::new()` with e.g. `ZipLibrary::new()?` should be
enough to switch to this new version.
0.1.2 (2017-01-13)
----------------------
* Fix the cover image properties in EPUB3.
* Some code cleaning.
0.1.1 (2017-01-04)
----------------------
* Add `add_cover_image` method to `EpubBuilder`.
* Add `ReferenceType` enum and `reftype` method to `EpubContent` to add items to
the guide section (EPUB2) or the landmarks section of nav.xhtml (EPUB3).
0.1.0 (2017-01-02)
----------------------
* initial release