Skip to content

Releases: kiwilan/php-ebook

v2.3.7

05 Feb 12:12
1eed732
Compare
Choose a tag to compare

MetaTitle::class: add fromData() static method to generate a MetaTitle object from a raw data and rename make() to fromEbook().

v2.3.6

04 Feb 12:06
fdd1110
Compare
Choose a tag to compare
  • Audiobook: add language, tags will be splitted by ; or ,
  • MetaTitle: now language slug will be added just after series if series exists, and before author if not to help for sorting with series in different languages

v2.3.5

29 Jan 08:58
c27b8b6
Compare
Choose a tag to compare
  • Ebook class: add getCreatedAt() method to get the file modified date, add getSize() method to get the file size and getSizeHumanReadable() method to get the file size in human readable format
  • AudiobookModule: add all audio metadata to getExtras() method, remove comment from getDescription() method (now available into getExtras() method)

v2.3.4

28 Jan 09:34
5e436cd
Compare
Choose a tag to compare
  • Remove year from MetaTitle getSeriesSlug() to avoid duplicate series.
  • Move namespace Tools to Models

v2.3.3

28 Jan 08:08
5da90da
Compare
Choose a tag to compare

Refactor determiners for MetaTitle.

v2.3.2

27 Jan 17:52
55d5ace
Compare
Choose a tag to compare

Fix version.

v2.3.1

27 Jan 17:22
c3ca21d
Compare
Choose a tag to compare

Deprecated some MetaTitle methods getSlugSort(), getSlugUnique(), getSerieSlug(), getSerieSlugSort(), getSerieSlugUnique(), getSlugSortWithSerie(), getUniqueFilename(). Now only getSlug(), getSlugSimple(), getSeriesSlug(), getSeriesSlugSimple() are available.

Slug have to be unique, so default slug take some metadata to be unique, like in this example:

An EPUB with title La pâle lumière des ténèbres with main author Pierre Bottero, series A comme Association, volume 1, language fr and published in 1980 will have the slug pale-lumiere-des-tenebres-a-comme-association-01-1980-pierre-bottero-epub-fr.

You can use getSlugSimple() to have a simple slug, like pale-lumiere-des-tenebres.

For series, you can use getSeriesSlug() to have a slug with series name, like a-comme-association-1980-pierre-bottero-epub-fr.

And getSeriesSlugSimple() to have a simple slug with series name, like a-comme-association.

v2.3.0

22 Jan 15:43
383e87b
Compare
Choose a tag to compare

Drop kiwilan/php-audio dependency.

Audiobooks are cool, but I suppose many users don't need it. So I think it's better to drop kiwilan/php-audio dependency, you have to install kiwilan/php-audio manually.
If you scan audiobooks without kiwilan/php-audio installed, you will get an error message.

v2.2.01

06 Dec 09:57
4e8d0e4
Compare
Choose a tag to compare

Update dependencies (drop symfony/process dependency)

  • EbookMetadata is now EbookParser for consistency
    • Method getMetadata is now getParser
    • Method hasMetadata is now hasParser
  • BookIdentifier can use now autoDetect to detect identifier scheme from value, you can disable this feature by passing false as third argument (support isbn10, isbn13, doi and uuid)

v2.2.0

24 Sep 13:52
884a43c
Compare
Choose a tag to compare

Breaking changes

  • All Metadata internal classes have been renamed to Module
  • Some internal parser classes, have been moved into Parser namespace
  • All getContent() methods have been renamed to getContents() (old methods are deprecated)

New features

  • MOBI and derivatives support (.azw, .azw3, .kf8, .kfx, .mobi, .prc) with cover
  • FB2 support (.fb2) with cover and series
  • Improve BookIdentifier scheme detection

Misc

  • Fixing EPUB volume 0 issue
  • Add more tests with samples
  • Update dependencies
  • Improve documentation