Skip to content

v0.2.0

Compare
Choose a tag to compare
@tungs tungs released this 25 Jan 08:25

Version 0.2.0 reflects changes in version 0.2.0 of timesnap. It removes the time handling code from timesnap and puts it into a separate package timeweb.

It also adds issue and pull request templates.

Command Line

  • Additional viewport options using the format optionKey=value, for instance `--viewport="800,600,deviceScaleRatio=2"
  • Using launch arguments --force-device-scale-ratio and --device-scale-ratio (e.g. --launch-arguments="--force-device-scale-ratio=2") should now work, though it's advisable to just use deviceScaleRatio with the viewport above (see tungs/timesnap#40).

Node.js

  • Adds config.navigatePageToURL to allow for custom navigation
  • Adds config.outputStream to pipe output to a stream instead of writing to a file