Skip to content

Releases: kiwilan/php-ebook

v2.0.20

28 Aug 08:19
cef5002
Compare
Choose a tag to compare
  • add descriptionHtml() method to Ebook::class, which can contains description with html tags if it is available, html is sanitized, original description is still available via description() method with plain text
  • add getBasename() method to Ebook::class, which returns basename of ebook file, getFilename() now return real filename of ebook file
  • add isValid(string $path) static method to Ebook::class, which checks if ebook file is valid, thanks to @SergioMendolia: #38
  • fix <dc:creator> empty tag in opf file, thanks to @SergioMendolia: #39
  • Bugfixes

2.0.12

10 Aug 15:19
1bb37a0
Compare
Choose a tag to compare
  • fix OpfMetadata dcRights() parse array to string

2.0.11

10 Aug 15:06
0a3bb4b
Compare
Choose a tag to compare
  • add Epub property isBadFile to check if the file is corrupted, eBook file will be read but not parsed if it is corrupted, it's possible to know if file is valid with isBadFile() method or with hasMetadata() method
  • fix some problems with OPF parsing to be more flexible

2.0.1

10 Aug 14:42
dd0958e
Compare
Choose a tag to compare
  • add opf:metadata support for OPF files

2.0.0

08 Aug 18:30
ec30f8c
Compare
Choose a tag to compare

BREAKING CHANGES

  • All simple getters have now get prefix. For example, getTitle() instead of title(), getPublisher() instead of publisher(), etc. It concerns all simple getters of EpubMetadata, EpubChapter, EpubHtml, NcxMetadata, EpubContainer, OpfMetadata, Ebook, BookIdentifier, EbookCover, EbookMetadata, AudiobookMetadata, BookAuthor, CbaMetadata, CbamMetadata, MetaTitle classes.

Why?
All these classes have some methods like setters or actions. To be consistent and clear, all simple getters have now get prefix.

Bugfixes

  • BookContributor and BookIdentifier can be more flexible with mixed types

1.3.54

23 Jul 15:48
3b74d5d
Compare
Choose a tag to compare
  • EbookCover content method fix

1.3.53

07 Jul 15:11
67dc7f9
Compare
Choose a tag to compare
  • bump kiwilan/php-archive 1.5.12

1.3.52

07 Jul 11:52
09a0e62
Compare
Choose a tag to compare
  • bump kiwilan/php-archive to 1.5.11

1.3.51

06 Jul 18:39
b65d0f9
Compare
Choose a tag to compare
  • bumpp kiwilan/php-archive

1.3.41

28 Jun 10:12
de81a8b
Compare
Choose a tag to compare
  • chore: kiwilan/php-xml-reader to 0.2.31