Skip to content

Releases: NielsSteensma/Dhalang

V0.7.0

29 Apr 19:53
Compare
Choose a tag to compare
  • #52 Added functionality for scraping HTML of a webpage

V0.6.6

17 Mar 11:55
Compare
Choose a tag to compare
  • #53 Removed deprecated Puppeteer api usage, introducing compatibility with Puppeteer V22

This release requires Node ≥ 18 and Puppeteer ≥ 22

V0.6.5

10 Jun 11:41
4c8f85d
Compare
Choose a tag to compare
  • Added ability to create webp screenshots of webpages
  • Deprecated get_from_url_as_png and get_from_url_as_jpeg ( replaced by get_from_url )

V0.6.4

10 Jun 11:38
e3bb4a3
Compare
Choose a tag to compare
  • Added ability to set custom timeout for long loading webpages when creating PDFs

V0.6.3

29 Jan 15:25
Compare
Choose a tag to compare

Features

  • Added support for passing Chrome options directly to Puppeteer
  • Added support for passing headers and footers as filepath to Puppeteer

V0.6.2

25 Nov 19:16
Compare
Choose a tag to compare

Features

  • Solved issue ( typo ) where httpAuthenticationCredentials option wasn't working ( see #37 )

V0.6.1

02 May 14:19
bccb276
Compare
Choose a tag to compare

Features

  • Updated Puppeteer dependency from v5.5.0 to v.9.0.0
  • Added support for new "omitBackground" option introduced in Puppeteer v.9.0.0
  • Solved issue ( typo ) when passing "preferCSSPageSize" user option when generating screenshots/PDFs
  • Updated mentioned year in license to be accurate

V0.6.0

23 Jan 21:35
c67ba8f
Compare
Choose a tag to compare

Features

  • It is now possible to set the height of generated PDFs based on the scrollHeight property of the document body
  • It is now possible to make Dhalang wait for a given selector to appear before creating screenshots/PDFs
  • It is now possible to make Dhalang wait for a given XPath to appear before creating screenshots/PDFs
  • Updated used Puppeteer version from 5.3.0 to 5.5.0

V0.5.0

25 Nov 07:25
e62c680
Compare
Choose a tag to compare

Features

  • Custom screenshot options can now be set.
  • Chromium can now be run in headless mode
  • DhalangError is now raised from Ruby for any errors thrown in JS scripts. The error contains the stderr outputted by the script

Other things

  • Removal of expect not to raise error unit tests

V0.4.0

29 Oct 20:39
7a49d72
Compare
Choose a tag to compare

Features

Other things

  • Usage of deprecated waitFor Puppeteer method was replaced with waitForTimeout