Skip to content

v2.1.2

Choose a tag to compare

@gildas-lormeau gildas-lormeau released this 16 Aug 17:57
· 3 commits to master since this release

SingleFile CLI 2.1.2

Command-line fixes

  • Fixed case variants of options being silently ignored, e.g. --compress-html false or --include-bom (option names are now canonicalized when parsing)
  • Fixed --settings-file-profile being ignored
  • Fixed settings files overriding options passed explicitly on the command line
  • Fixed --http-header values containing "=" being truncated, e.g. base64 credentials
  • Fixed the error thrown when passing --http-header values without "="
  • A missing URL, unknown options and invalid option values are now reported as explicit errors with a non-zero exit code (#183)
  • --help now also works when using --urls-file

URLs file fixes

  • Fixed single character option values being dropped, e.g. --crawl-max-depth 2
  • Fixed blank lines being captured as pages
  • Fixed duplicate URLs being captured multiple times
  • Unknown or invalid options in URLs files are now reported as warnings

Capture fixes

  • Fixed --browser-load-max-time and --browser-capture-max-time not interrupting captures of hanging pages or downloads, which could run forever (#134)
  • Fixed parallel captures overwriting each other when resolving identical filenames (files are now created exclusively)
  • Error messages are now included in the file set with --errors-file (#136)
  • The error displayed when the browser executable cannot be found now includes the path and suggests --browser-executable-path

Co-authored by Claude (Claude Code)