Skip to content

Releases: kiwilan/php-ebook

v3.0.01

03 Oct 17:59
b035de6
Compare
Choose a tag to compare

BREAKING CHANGES

Latest version of kiwilan/php-audio v4.*.* is required to use audiobooks.

Update dependencies: kiwilan/php-xml-reader, pestphp/pest and kiwilan/php-audio.

v2.6.9

28 Jul 13:59
801049d
Compare
Choose a tag to compare

Add duration_human_readable for getExtras() method for audiobooks.

Works with kiwilan/php-audio v3.0.08.

v2.6.8

28 Jul 08:06
335f00a
Compare
Choose a tag to compare

Fix missing genres crash for audiobooks.

v2.6.7

16 Jul 06:42
4a03fd1
Compare
Choose a tag to compare

Fix CbamTemplate::class pages count, if PageCount is not set, then use getArchive()->getCount() from Ebook::class.

v2.6.6

16 Jul 06:10
343b903
Compare
Choose a tag to compare

Hotfix PR #91 for issue #71 by @basitcodeenv, thanks!

v2.6.5

15 Jul 17:23
c2c5ba5
Compare
Choose a tag to compare

Fix issue #71 with PR #89 by @basitcodeenv, thanks!

v2.6.4

11 Jul 10:29
Compare
Choose a tag to compare

MetaTitle::class with getSeriesSlug(), addExtension parameter is now as false by default, to avoid split series between .cbz and .cbr or .m4b and .mp3 files.

v2.6.3

10 Jul 18:22
a882a88
Compare
Choose a tag to compare

Now CBAM (ComicInfo.xml) with a Series but without Number will have default Number as 0.

v2.6.1

10 Jul 13:42
65b6834
Compare
Choose a tag to compare

Refactor MetaTitle::class

  • getSeriesSlugSimple(), getSlugSimple() are deprecated
  • getSlug() have now multiple parameters to customize the slug: removeDeterminers, addSeries, addVolume, addAuthor, addYear, addExtension, addLanguage (all are true by default)
  • getSeriesSlug() have now multiple parameters to customize the slug: removeDeterminers, addAuthor, addExtension, addLanguage (removeDeterminers, addExtension, addLanguage are true by default, addAuthor is false by default)

v2.6.0

23 Jun 09:56
f065de6
Compare
Choose a tag to compare

BREAKING CHANGES

  • Remove getDescriptionHtml() method from Ebook class.
  • Remove limit parameter from getDescription() method in Ebook class.
  • getDescription() method in Ebook class now returns raw description without any formatting.

FEATURES

To access to advanced book description, you can use getDescriptionAdvanced() method with BookDescription class.

  • getDescription() method now returns raw description without any formatting.
  • toHtml() method formats the description to HTML.
  • toString() method formats the description to plain text.
  • toStringMultiline() method formats the description to plain text with new lines.

All methods have limit parameter to limit the length of the description.

BUGFIXES

  • Improve audiobook parsing with safe array extraction.

MISC

  • Remove many utilities method from EbookModule class, now BookDescription class is responsible for parsing book description.
  • limitLength() method is now into EbookUtils class.