Skip to content

Releases: sindresorhus/got

v14.0.0

29 Nov 20:20
Compare
Choose a tag to compare

Breaking

  • Require Node.js 20 (#2313) a004263
    • Why not target the oldest active Node.js LTS, which is Node.js 18? I usually strictly follow this convention in my packages. However, this package is the exception because the HTTP part of Node.js is consistently buggy, and I don't have time to work around issues in older Node.js releases. I you need to still support Node.js 18, I suggest staying on Got v13, which is quite stable. Node.js 18 will be out of active LTS in 5 months.

Improvements

  • Make followRedirect option accept a function (#2306) 7c3f147

v13.0.0...v14.0.0

v13.0.0

27 May 15:26
Compare
Choose a tag to compare

As a reminder, Got continues to require ESM. For TypeScript users, this includes having "module": "node16", "moduleResolution": "node16" in your tsconfig.

Breaking

Improvements

v12.6.1...v13.0.0

v12.6.1

27 May 07:12
Compare
Choose a tag to compare

v12.6.0...v12.6.1

v12.6.0

03 Mar 17:40
Compare
Choose a tag to compare

v12.5.3...v12.6.0

v11.8.6

08 Dec 23:25
Compare
Choose a tag to compare
  • Destroy request object after successful response

v11.8.5...v11.8.6

v12.5.3

16 Nov 09:21
Compare
Choose a tag to compare
  • Fix abort event listeners not always being cleaned up (#2162) 3cc40b5

v12.5.2...v12.5.3

v12.5.2

12 Oct 03:44
Compare
Choose a tag to compare

v12.5.1...v12.5.2

v12.5.1

27 Sep 07:19
Compare
Choose a tag to compare
  • Fix compatibility with TypeScript and ESM 3b3ea67
  • Fix request body not being properly cached (#2150) 3e9d3af

v12.5.0...v12.5.1

v12.5.0

19 Sep 04:46
Compare
Choose a tag to compare

v12.4.1...v12.5.0

v12.4.1

02 Sep 18:18
Compare
Choose a tag to compare

Fixes

  • Fix options.context being not extensible b671480
  • Don't emit uploadProgress after promise cancelation 693de21

v12.4.0...v12.4.1