Releases: sindresorhus/got
Releases · sindresorhus/got
v14.0.0
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
v13.0.0
As a reminder, Got continues to require ESM. For TypeScript users, this includes having "module": "node16", "moduleResolution": "node16"
in your tsconfig.
Breaking
- Require Node.js 16 52a1063
- Change the
enableUnixSockets
option to befalse
by default 852c312- Most users don't need it.
Improvements
v12.6.1
v12.6.0
v11.8.6
- Destroy request object after successful response