Skip to content

v5.0.0

Compare
Choose a tag to compare
@s0ph1e s0ph1e released this 27 Dec 19:38
· 68 commits to master since this release
8d32bc5

💥 Breaking changes

  • module requires nodejs version >= 14.14
  • module is now pure ESM and cannot be required from CommonJS module. Read more about ESM modules
  • options.request may need to be changed, underlying http library was updates from request(deprecated) to got
  • scrape.defaults now can be imported with import defaultOptions from 'website-scraper/defaultOptions';
  • scrape.plugins now can be imported with import * as plugins from 'website-scraper/plugins';
  • callback usage support was removed, now only promises and async/await are supported

🐛 Bug fixes

  • urlFilter is no longer applied for root resources #460
  • issue with wrong quotes in generated html is fixed #355

🌵 Other changes

  • cheerio (underlying dependency for html parsing) was updated from version 0.22 to 1.0.0-rc.10