Skip to content

v5.0.0

Compare
Choose a tag to compare
@sindresorhus sindresorhus released this 09 Feb 13:56

Breaking:

  • Switch from PhantomJS to Puppeteer (Chrome) πŸŽ‰ 9685504
  • Require Node.js 8 f5a092a
  • pageres.run() now returns Promise<Buffer[]> instead of Stream[], where Buffer is the screenshot image. See the updated usage example.
  • You can no longer use protocol-less URLs. Use https://example.com instead of example.com.
  • The pageres.on('warning') event was removed
  • Linux users will need to enable system sandboxing if they get a "No usable sandbox!" error

Other:

v4.5.1...v5.0.0