Skip to content

Releases: apify/got-scraping

v4.0.6

22 May 12:01
5d36db9
Compare
Choose a tag to compare

What's Changed

  • feat: log CONNECT error response body by @barjin in #139

Full Changelog: v4.0.5...v4.0.6

v4.0.5

03 Apr 11:49
6c6bf55
Compare
Choose a tag to compare

What's Changed

  • fix: process http over https proxy correctly by @barjin in #129

Full Changelog: v4.0.4...v4.0.5

v4.0.4

16 Feb 09:45
5c78d35
Compare
Choose a tag to compare

What's Changed

  • fix: pass the timeout to the resolveProtocol calls by @barjin in #131

Full Changelog: v4.0.3...v4.0.4

v4.0.3

11 Dec 14:39
d72dc83
Compare
Choose a tag to compare

What's Changed

Full Changelog: v4.0.2...v4.0.3

v4.0.2

29 Nov 22:42
c455618
Compare
Choose a tag to compare

What's Changed

  • fix: compile to es2021 to properly support node 16.x by @vladfrangu in #120

Full Changelog: v4.0.1...v4.0.2

v4.0.1

16 Nov 13:49
96a32dc
Compare
Choose a tag to compare

What's Changed

  • fix: compile module in one file and add missing ignores by @vladfrangu in #117

Full Changelog: v4.0.0...v4.0.1

v4.0.0

07 Nov 16:39
6949b99
Compare
Choose a tag to compare

The module is now ESM only

This means you have to import it by using an import expression, or the import() method. You can do so by either migrating your project to ESM, or importing got-scraping in an async context

-const { gotScraping } = require('got-scraping');
+import { gotScraping } from 'got-scraping';

If you cannot migrate to ESM, here's an example of how to import it in an async context:

let gotScraping;

async function fetchWithGotScraping(url) {
    gotScraping ??= (await import('got-scraping')).gotScraping;

    return gotScraping.get(url);
}

What's Changed

  • feat: add export of hooks and TransformHeadersAgent by @foxt451 in #102
  • feat: ESM migration of got-scraping by @vladfrangu in #109
  • feat: add Cloudflare blocking benchmarking by @barjin in #114

New Contributors

Full Changelog: v3.2.15...v4.0.0

v3.2.15

25 Jul 10:03
Compare
Choose a tag to compare

What's Changed

  • fix: proxies work correctly in Node v18.17 by @barjin in #98

Full Changelog: v3.2.13...v3.2.15

v3.2.13

17 Mar 10:24
da8b278
Compare
Choose a tag to compare

What's Changed

  • fix: allow passing extra options like proxyUrl on type level by @vladfrangu in #88

New Contributors

Full Changelog: v3.2.12...v3.2.13

v3.2.12

07 Nov 10:44
15744b4
Compare
Choose a tag to compare
  • chore: update header-generator version (#80) 0b86797
  • chore: upgrade got-cjs to 12.5.4 15744b4