Skip to content

Releases: sindresorhus/got

v14.2.1

07 Mar 08:25
Compare
Choose a tag to compare
  • Fix error handling when UTF-8 decoding fails (#2336) c81a611

v14.2.0...v14.2.1

v14.2.0

03 Feb 11:21
Compare
Choose a tag to compare
  • Add cause property with the original error to RequestError (#2327) 4cbd01d

v14.1.0...v14.2.0

v14.1.0

29 Jan 13:17
Compare
Choose a tag to compare
  • Allow typing the body of a RequestError response (#2325) 5e4f6ff

v14.0.0...v14.1.0

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