Skip to content

v2.6.0

Compare
Choose a tag to compare
@ewilan-riviere ewilan-riviere released this 23 Jun 09:56
· 65 commits to main since this release
f065de6

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.