Skip to content

Releases: danburzo/percollate

v4.2.3

11 Aug 18:48
Compare
Choose a tag to compare

Fixes

  • Handle images whose URLs don’t end in a file extension that allows us to identify the image’s MIME media type. In these cases, use the generic image MIME type (e.g. in inline data: URLs when the --inline flag is used) and the .image file extension (e.g. when bundling external resources for EPUBs). Support for these may vary with the browser / EPUB reader. (#174)

v4.2.2

21 Jul 15:09
Compare
Choose a tag to compare

Fixes

  • Adds an --unsafe flag, allowing to bypass some JSDOM validation to process slightly-invalid HTML pages (#177)

v4.2.1

27 May 07:28
Compare
Choose a tag to compare

Fixes

  • Fetching article images (when using the --inline flag, or when producing EPUBs) now sends the Referer header as the browser would when rendering the article (using the strict-origin-when-cross-origin referrer policy) (#172). Note that when producing HTML or PDF documents of web pages containing images that require a Referer header, you’ll need to use the --inline flag.
  • Use a fallback when slugifying an article title results in the empty string.

v4.2.0

06 May 18:36
Compare
Choose a tag to compare

New features

Compress entries in the EPUB file with the DEFLATE algorithm at maximum level of compression (#169).

v4.1.1

04 May 13:53
Compare
Choose a tag to compare

New features

Adds the --toc-level=<level> option. By default, the table of contents is a flat list of article titles. With the --toc-level option the table of contents will include headings under each article title (<h2>, <h3>, etc.), up to the specified heading depth. A number between 1 and 6 is expected. Using --toc-level with a value greater than 1 implies --toc.

v4.0.5

18 Jan 23:11
Compare
Choose a tag to compare

Bug fixes

v4.0.4

25 Nov 18:23
Compare
Choose a tag to compare

Bug fixes

v4.0.3

26 Sep 09:16
Compare
Choose a tag to compare

Bug fixes

  • Fixes usage of mdast-util-gfm to allow serializing HTML <table> elements to Markdown when using percollate md (#161)

v4.0.2

07 Mar 22:29
Compare
Choose a tag to compare

Bug fixes

Further improvements to detecting and bundling images re: #141 (which should have really been part of v4.0.1, had the necessary insight not manifested exactly five seconds after publishing said version).

v4.0.1

07 Mar 21:37
Compare
Choose a tag to compare

Bug fixes

Thank you @vongrad for contributing two fixes to this release:

  • Fixes regression in --inline failing to base64-encode images (#154)
  • Fixes heuristic in imagesAtFullSize() DOM enhancement to exclude non-English Wikipedia URLs that look like they point to images but are in fact HTML pages (eg. wiki/File: URLs in English) (#156, #141)