Releases: kiwilan/php-ebook
v3.0.01
v2.6.9
Add duration_human_readable
for getExtras()
method for audiobooks.
Works with kiwilan/php-audio
v3.0.08.
v2.6.8
Fix missing genres crash for audiobooks.
v2.6.7
Fix CbamTemplate::class
pages count, if PageCount
is not set, then use getArchive()->getCount()
from Ebook::class
.
v2.6.6
Hotfix PR #91 for issue #71 by @basitcodeenv, thanks!
v2.6.5
Fix issue #71 with PR #89 by @basitcodeenv, thanks!
v2.6.4
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
Now CBAM (ComicInfo.xml) with a Series
but without Number
will have default Number
as 0
.
v2.6.1
Refactor MetaTitle::class
getSeriesSlugSimple()
,getSlugSimple()
are deprecatedgetSlug()
have now multiple parameters to customize the slug:removeDeterminers
,addSeries
,addVolume
,addAuthor
,addYear
,addExtension
,addLanguage
(all aretrue
by default)getSeriesSlug()
have now multiple parameters to customize the slug:removeDeterminers
,addAuthor
,addExtension
,addLanguage
(removeDeterminers
,addExtension
,addLanguage
aretrue
by default,addAuthor
isfalse
by default)
v2.6.0
BREAKING CHANGES
- Remove
getDescriptionHtml()
method fromEbook
class. - Remove
limit
parameter fromgetDescription()
method inEbook
class. getDescription()
method inEbook
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, nowBookDescription
class is responsible for parsing book description. limitLength()
method is now intoEbookUtils
class.