sindresorhus/got (got)
### [`v14.4.2`](https://redirect.github.com/sindresorhus/got/releases/tag/v14.4.2)
[Compare Source](https://redirect.github.com/sindresorhus/got/compare/v14.4.1...v14.4.2)
- Fix handling of invalid arguments ([#2367](https://redirect.github.com/sindresorhus/got/issues/2367)) [`f44ef43`](https://redirect.github.com/sindresorhus/got/commit/f44ef43)
### [`v14.4.1`](https://redirect.github.com/sindresorhus/got/releases/tag/v14.4.1)
[Compare Source](https://redirect.github.com/sindresorhus/got/compare/v14.4.0...v14.4.1)
- Fix missing dependency [`dfc54d9`](https://redirect.github.com/sindresorhus/got/commit/dfc54d9)
### [`v14.4.0`](https://redirect.github.com/sindresorhus/got/releases/tag/v14.4.0)
[Compare Source](https://redirect.github.com/sindresorhus/got/compare/v14.3.0...v14.4.0)
- Improve TypeScript types with generic extend ([#2353](https://redirect.github.com/sindresorhus/got/issues/2353)) [`15ca4a0`](https://redirect.github.com/sindresorhus/got/commit/15ca4a0)
### [`v14.3.0`](https://redirect.github.com/sindresorhus/got/releases/tag/v14.3.0)
[Compare Source](https://redirect.github.com/sindresorhus/got/compare/v14.2.1...v14.3.0)
- Update dependencies [`dbab6c3`](https://redirect.github.com/sindresorhus/got/commit/dbab6c3)
### [`v14.2.1`](https://redirect.github.com/sindresorhus/got/releases/tag/v14.2.1)
[Compare Source](https://redirect.github.com/sindresorhus/got/compare/v14.2.0...v14.2.1)
- Fix error handling when UTF-8 decoding fails ([#2336](https://redirect.github.com/sindresorhus/got/issues/2336)) [`c81a611`](https://redirect.github.com/sindresorhus/got/commit/c81a611)
### [`v14.2.0`](https://redirect.github.com/sindresorhus/got/releases/tag/v14.2.0)
[Compare Source](https://redirect.github.com/sindresorhus/got/compare/v14.1.0...v14.2.0)
- Add `cause` property with the original error to `RequestError` ([#2327](https://redirect.github.com/sindresorhus/got/issues/2327)) [`4cbd01d`](https://redirect.github.com/sindresorhus/got/commit/4cbd01d)
### [`v14.1.0`](https://redirect.github.com/sindresorhus/got/releases/tag/v14.1.0)
[Compare Source](https://redirect.github.com/sindresorhus/got/compare/v14.0.0...v14.1.0)
- Allow typing the body of a `RequestError` response ([#2325](https://redirect.github.com/sindresorhus/got/issues/2325)) [`5e4f6ff`](https://redirect.github.com/sindresorhus/got/commit/5e4f6ff)
### [`v14.0.0`](https://redirect.github.com/sindresorhus/got/releases/tag/v14.0.0)
[Compare Source](https://redirect.github.com/sindresorhus/got/compare/v13.0.0...v14.0.0)
##### Breaking
- Require Node.js 20 ([#2313](https://redirect.github.com/sindresorhus/got/issues/2313)) [`a004263`](https://redirect.github.com/sindresorhus/got/commit/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](https://redirect.github.com/sindresorhus/got/issues/2306)) [`7c3f147`](https://redirect.github.com/sindresorhus/got/commit/7c3f147)
### [`v13.0.0`](https://redirect.github.com/sindresorhus/got/releases/tag/v13.0.0)
[Compare Source](https://redirect.github.com/sindresorhus/got/compare/v12.6.1...v13.0.0)
As a reminder, Got continues to require ESM. For TypeScript users, this includes having [`"module": "node16", "moduleResolution": "node16"` in your tsconfig](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c#how-can-i-make-my-typescript-project-output-esm).
##### Breaking
- Require Node.js 16 [`52a1063`](https://redirect.github.com/sindresorhus/got/commit/52a1063)
- Change the [`enableUnixSockets`](https://redirect.github.com/sindresorhus/got/blob/main/documentation/2-options.md#enableunixsockets) option to be `false` by default [`852c312`](https://redirect.github.com/sindresorhus/got/commit/852c312)
- Most users don't need it.
##### Improvements
- Allow specifying `undefined` for options ([#2258](https://redirect.github.com/sindresorhus/got/issues/2258)) [`1cefe8b`](https://redirect.github.com/sindresorhus/got/commit/1cefe8b)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
12.6.1
->14.4.2
Release Notes
sindresorhus/got (got)
### [`v14.4.2`](https://redirect.github.com/sindresorhus/got/releases/tag/v14.4.2) [Compare Source](https://redirect.github.com/sindresorhus/got/compare/v14.4.1...v14.4.2) - Fix handling of invalid arguments ([#2367](https://redirect.github.com/sindresorhus/got/issues/2367)) [`f44ef43`](https://redirect.github.com/sindresorhus/got/commit/f44ef43) ### [`v14.4.1`](https://redirect.github.com/sindresorhus/got/releases/tag/v14.4.1) [Compare Source](https://redirect.github.com/sindresorhus/got/compare/v14.4.0...v14.4.1) - Fix missing dependency [`dfc54d9`](https://redirect.github.com/sindresorhus/got/commit/dfc54d9) ### [`v14.4.0`](https://redirect.github.com/sindresorhus/got/releases/tag/v14.4.0) [Compare Source](https://redirect.github.com/sindresorhus/got/compare/v14.3.0...v14.4.0) - Improve TypeScript types with generic extend ([#2353](https://redirect.github.com/sindresorhus/got/issues/2353)) [`15ca4a0`](https://redirect.github.com/sindresorhus/got/commit/15ca4a0) ### [`v14.3.0`](https://redirect.github.com/sindresorhus/got/releases/tag/v14.3.0) [Compare Source](https://redirect.github.com/sindresorhus/got/compare/v14.2.1...v14.3.0) - Update dependencies [`dbab6c3`](https://redirect.github.com/sindresorhus/got/commit/dbab6c3) ### [`v14.2.1`](https://redirect.github.com/sindresorhus/got/releases/tag/v14.2.1) [Compare Source](https://redirect.github.com/sindresorhus/got/compare/v14.2.0...v14.2.1) - Fix error handling when UTF-8 decoding fails ([#2336](https://redirect.github.com/sindresorhus/got/issues/2336)) [`c81a611`](https://redirect.github.com/sindresorhus/got/commit/c81a611) ### [`v14.2.0`](https://redirect.github.com/sindresorhus/got/releases/tag/v14.2.0) [Compare Source](https://redirect.github.com/sindresorhus/got/compare/v14.1.0...v14.2.0) - Add `cause` property with the original error to `RequestError` ([#2327](https://redirect.github.com/sindresorhus/got/issues/2327)) [`4cbd01d`](https://redirect.github.com/sindresorhus/got/commit/4cbd01d) ### [`v14.1.0`](https://redirect.github.com/sindresorhus/got/releases/tag/v14.1.0) [Compare Source](https://redirect.github.com/sindresorhus/got/compare/v14.0.0...v14.1.0) - Allow typing the body of a `RequestError` response ([#2325](https://redirect.github.com/sindresorhus/got/issues/2325)) [`5e4f6ff`](https://redirect.github.com/sindresorhus/got/commit/5e4f6ff) ### [`v14.0.0`](https://redirect.github.com/sindresorhus/got/releases/tag/v14.0.0) [Compare Source](https://redirect.github.com/sindresorhus/got/compare/v13.0.0...v14.0.0) ##### Breaking - Require Node.js 20 ([#2313](https://redirect.github.com/sindresorhus/got/issues/2313)) [`a004263`](https://redirect.github.com/sindresorhus/got/commit/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](https://redirect.github.com/sindresorhus/got/issues/2306)) [`7c3f147`](https://redirect.github.com/sindresorhus/got/commit/7c3f147) ### [`v13.0.0`](https://redirect.github.com/sindresorhus/got/releases/tag/v13.0.0) [Compare Source](https://redirect.github.com/sindresorhus/got/compare/v12.6.1...v13.0.0) As a reminder, Got continues to require ESM. For TypeScript users, this includes having [`"module": "node16", "moduleResolution": "node16"` in your tsconfig](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c#how-can-i-make-my-typescript-project-output-esm). ##### Breaking - Require Node.js 16 [`52a1063`](https://redirect.github.com/sindresorhus/got/commit/52a1063) - Change the [`enableUnixSockets`](https://redirect.github.com/sindresorhus/got/blob/main/documentation/2-options.md#enableunixsockets) option to be `false` by default [`852c312`](https://redirect.github.com/sindresorhus/got/commit/852c312) - Most users don't need it. ##### Improvements - Allow specifying `undefined` for options ([#2258](https://redirect.github.com/sindresorhus/got/issues/2258)) [`1cefe8b`](https://redirect.github.com/sindresorhus/got/commit/1cefe8b)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.