Skip to content

Releases: gildas-lormeau/single-file-cli

v2.0.43

05 Jun 14:38
Compare
Choose a tag to compare

Fixed issue where Chromium sub-processes would not be stopped when interrupting the program in some cases (e.g. when pressing Ctrl-C)

v2.0.41

05 Jun 14:00
Compare
Choose a tag to compare

What's Changed

  • Fixes "ReferenceError: Cannot access 'options' before initialization" when using --browser-mobile-emulationby @masylum in #95

New Contributors

v2.0.40

03 Jun 12:52
Compare
Choose a tag to compare

What's Changed

  • Fix support of --browser-server argument by @m3nadav in #94
  • Upgraded Deno to version 1.44.0

New Contributors

v2.0.39

28 May 21:46
Compare
Choose a tag to compare
  • Fixed option --browser-mobile-emulation
  • Added new options:
  • --browser-device-width
  • --browser-device-height
  • --browser-device-scale-factor
  • --accept-language
  • --platform
  • Upgraded Deno

v2.0.38

13 May 19:37
Compare
Choose a tag to compare

Fixed issue related to parsing of options (see #87)

v2.0.37

13 May 14:26
Compare
Choose a tag to compare
  • Improved support of (first-level) frames in self-extracting files by using blob URIs and avoid managing data URIs that are too large
  • Updated zip.js
  • Updated Deno

v2.0.36

03 May 12:00
Compare
Choose a tag to compare
  • Fixed an issue with the support of very long web pages (see #85)
  • Fixed --browser-wait-delay option

v2.0.35

02 May 09:38
Compare
Choose a tag to compare
  • Improved the implementation of --embed-screenshot (see previous version) in order to make the screenshot after loading deferred content.
  • Fixed issue where the browser would not be closed on errors when running single-file in Node.js

v2.0.34

24 Apr 16:27
Compare
Choose a tag to compare

Added --embed-screenshot option to embed a screenshot of the page as a PNG file in the compressed file (i.e. when using --compress-content).

When enabled, the resulting file can be read as a ZIP file or a PNG image. It can be combined with --self-extracting-archive (and optionally --extract-data-from-page) to make the resulting file compatible with HTML.

For example, the command below creates an HTML file which can also be read as a ZIP file and as a PNG file (e.g. by renaming the resulting file).

single-file https://github.com/gildas-lormeau/single-file-cli --compress-content --embed-screenshot

v2.0.33

16 Apr 22:47
Compare
Choose a tag to compare
  • Fixed missing frames when using the new headless mode of Chromium (e.g. when using --browser-arg --headless=new) or when disabling the headless mode (e.g. when using--browser-debug). The new headless mode allows you for example to load browser extensions (related issue: #83).
  • Reduced side-effect issues when running multiple single-file processes in parallel by using a random debugging port by default (to control the associated Chromium process) instead of always trying to use the port 9222 (related issue: #78)
  • Updated Deno to version 1.42.4
  • Fixed warning related to NPM when building the Docker image