Releases: gildas-lormeau/single-file-cli
Releases · gildas-lormeau/single-file-cli
v2.0.39
- 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
v2.0.37
- 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
v2.0.35
- 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
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
- 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 port9222
(related issue: #78) - Updated Deno to version
1.42.4
- Fixed warning related to NPM when building the Docker image
v2.0.31
- Fixed error "TypeError: Windows only supports ctrl-c (SIGINT) and ctrl-break (SIGBREAK)"
- Allow overwriting of options passed to Chromium with
--browser-arg
v2.0.30
- Fixed support for multiple
single-file
processes running in parallel