github gildas-lormeau/single-file-cli v2.5.0

4 hours ago

New features

  • Added --declare-appended-data to declare the data appended after the compressed data as the comment of the ZIP archive, so that readers rejecting undeclared trailing bytes (e.g. java.util.zip) accept the saved file. ZIP tools then print that data when listing the archive
  • Added --crawl-save-archive-page-list to insert the list of the crawled pages in the prelude of the archive saved with --crawl-save-archive, so that indexing tools can read it without extracting the archive. The list is no longer inserted by default

Fixes

  • Fixes from single-file-core 1.5.108 and 1.5.109, including: the page title, the text body and the resource URLs are now kept out of a password-protected archive, where they were readable outside the encrypted data; the %PDF- header is kept within the range PDF readers scan whatever the length of the page doctype; the extraction of the data from the page is more robust

Co-authored by Claude (Claude Code)

Don't miss a new single-file-cli release

NewReleases is sending notifications on new releases.