Skip to content

Releases: danburzo/percollate

v1.2.2

11 Mar 12:21
Compare
Choose a tag to compare

Bug fixes

  • Fixes the rendering of non-utf-8-encoded web pages (#118, #119, thanks @yashha!).

v1.2.1

07 Mar 17:48
Compare
Choose a tag to compare

Bugfixes

  • Fixes the error thrown when converting multiple URLs to PDF without providing an explicit --author (#120, thanks @yashha).

v1.2.0

02 Jan 19:22
Compare
Choose a tag to compare

New features

Hyphenation

Added support for hyphenation with Hyphenopoly, based on the explicit document language or best guess with franc. Hyphenation is enabled by default for PDF, and disabled for EPUB and HTML. The --hyphenate and --no-hyphenate flags let you explicitly opt in or out of the feature.

Thanks @yashha for this feature!

Bug fixes

  • Wrap <pre> elements in <figure> elements to make sure Readability doesn't strip them out (#66);
  • await for the EPUB file to be fully generated in the epub() call (Thanks @pascalw!).

Other

  • Added README section on community-maintained packages; linked to nodejs-percollate AUR package (Thanks @pedrolucasp!)
  • Upgraded dependencies to their respective latest versions.

v1.1.2

15 Oct 20:52
Compare
Choose a tag to compare
  • Fixes the import of the uuid/v1 function (#111)

Note: I botched v1.1.1 — never release at midnight!

v1.1.0

05 Oct 14:13
Compare
Choose a tag to compare

This release sees a few new features and improvements from @yashha:

  • We now use pdf-lib to add a title and author to the PDF metadata (#88);
  • Added an --author option to the CLI to use for populating PDF and EPUB metadata (#104);
  • Prevent headings from appearing by themselves at the end of a page through some clever CSS (#110).

v1.0.1

08 Sep 18:07
Compare
Choose a tag to compare
  • Escaped ampersands in EPUB metadata;
  • Added percollate User Agent string to all requests;
  • When using the --debug flag, log fetches for EPUB resources (images, etc.)

v1.0.0

08 Sep 17:23
Compare
Choose a tag to compare

Functionally identical to 0.8.2, but declaring an official 1.0.0 release!

v0.8.2

23 Aug 21:27
Compare
Choose a tag to compare

Bug fixes:

  • EPUB: Fixes a regression introduced in v0.8.0 due to DOMPurify serializing the content as HTML rather than XHTML.
  • EPUB: Make process more resilient to errors in fetching remote resources
  • Ignore URLs that don't point to HTML files

v0.8.1

23 Aug 18:40
Compare
Choose a tag to compare

Bump the required Node version to 10.18.1 as needed by the puppeteer package. (#101)

v0.8.0

09 Aug 08:28
Compare
Choose a tag to compare
  • De-vendorize Readability, use the freshly-minted @mozilla/readability npm package instead; (thanks @gijsk!)
  • Sanitize the metadata extracted with Readability with DOMPurify
  • Make slugify() stricter about which characters to leave in the file name
  • Configure Puppeteer to produced tagged PDF files (See #47)
  • Accept the file:// protocol, and absolute/relative paths to files on disk (See #34)
  • Make JSON-LD extraction handle more cases
  • Log, but don't break on, invalid srcset attributes