---
title: "got 16.2.0 Breaking Changes on npm | Since.dev"
description: "What each got release removed, renamed or changed: 808 breaking changes in 33 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/got
last_updated: 2026-12-04
---

# got breaking changes

got 16.2.0 (October 30, 2026) is its newest release with breaking changes. The first: Signature changed RequestPromise.json. Every breaking API change we have recorded in got on npm: 808 breaking changes in 33 versions. Below, its 33 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `16.2.0`, released October 30, 2026. [Source repository](https://github.com/sindresorhus/got)

Its 15.0.0 release requires [Node.js 22](https://since.dev/calendar/nodejs/22.md) or later. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [15.1.0](#v-15-1-0) to [16.2.0](#v-16-2-0): 150 breaking changes in 3 versions.
- From [12.0.0](#v-12-0-0) to [16.2.0](#v-16-2-0): 420 breaking changes in 32 versions.

## got 16.2.0 breaking changes

got 16.2.0, released October 30, 2026: 1 breaking change.

- **Signature changed** `RequestPromise.json`  

Was json: \<ReturnType>() => RequestPromise\<ReturnType>; now json: {\<ReturnType>(schema?: undefined): RequestPromise\<ReturnType>; \<Schema extends StandardSchemaV1>(schema: Schema): RequestPromise\<StandardSchemaV1InferOutput\<Schema>>;}. [npmjs.com](https://www.npmjs.com/package/got/v/16.2.0)

## got 16.1.0 breaking changes

got 16.1.0, released October 13, 2026: 101 breaking changes.

- **Behavior changed**  

A HEAD request is no longer changed to GET when it is redirected with a 301, 302, or 303 status. Code that relied on the redirected request being a GET must change. [github.com](https://github.com/sindresorhus/got/releases/tag/v16.1.0)
- **Behavior changed** `got.extend`  

Payloads passed to got.extend are no longer sent with every request of the instance. Pass the payload per request instead. [github.com](https://github.com/sindresorhus/got/releases/tag/v16.1.0)
- **Behavior changed** `handlers`  

A handlers entry that is not a function now throws. Make sure every handlers entry is a function. [github.com](https://github.com/sindresorhus/got/releases/tag/v16.1.0)
- **Behavior changed** `instance.extend`  

instance.extend() now inherits the parent's mutableDefaults setting, as got.extend(instance) already did. Check instances that relied on the old default. [github.com](https://github.com/sindresorhus/got/releases/tag/v16.1.0)
- **Behavior changed** `maxRedirects`  

A negative or fractional maxRedirects now throws instead of being accepted. Use a non-negative whole number. [github.com](https://github.com/sindresorhus/got/releases/tag/v16.1.0)
- **Behavior changed** `method`  

An empty method option now throws instead of being accepted. Always pass a valid HTTP method. [github.com](https://github.com/sindresorhus/got/releases/tag/v16.1.0)
- **Behavior changed** `prefixUrl`  

A prefixUrl containing a query string or fragment now throws. Remove the query string or fragment from prefixUrl. [github.com](https://github.com/sindresorhus/got/releases/tag/v16.1.0)
- **Behavior changed** `response`  

The promise response event no longer fires for every retry attempt, only for the final response. Code counting attempts through it must change. [github.com](https://github.com/sindresorhus/got/releases/tag/v16.1.0)
- **Behavior changed** `response.body`  

response.body no longer includes a leading UTF-8 byte order mark. Code that strips or checks for it must be updated. [github.com](https://github.com/sindresorhus/got/releases/tag/v16.1.0)
- **Behavior changed** `retry.limit`  

A negative or fractional retry.limit now throws instead of being accepted. Use a non-negative whole number. [github.com](https://github.com/sindresorhus/got/releases/tag/v16.1.0)

And 91 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## got 16.0.0 breaking changes

got 16.0.0, released August 30, 2026: 48 breaking changes.

- **Removed**  

HTTP/2 proxy support is gone with the removal of http2-wrapper. Keep using http2-wrapper through the request option if you need it. [github.com](https://github.com/sindresorhus/got/releases/tag/v16.0.0)
- **Removed** `auth`  

The auth option stub was removed. Passing it now throws an Unexpected option error. [github.com](https://github.com/sindresorhus/got/releases/tag/v16.0.0)
- **Removed** `followRedirects`  

The followRedirects option stub was removed. Passing it now throws an Unexpected option error. [github.com](https://github.com/sindresorhus/got/releases/tag/v16.0.0)
- **Removed** `NormalizedOptions.auth`  

NormalizedOptions.auth was removed in got 16.0.0 [npmjs.com](https://www.npmjs.com/package/got/v/16.0.0)
- **Removed** `NormalizedOptions.followRedirects`  

NormalizedOptions.followRedirects was removed in got 16.0.0 [npmjs.com](https://www.npmjs.com/package/got/v/16.0.0)
- **Removed** `NormalizedOptions.searchParameters`  

NormalizedOptions.searchParameters was removed in got 16.0.0 [npmjs.com](https://www.npmjs.com/package/got/v/16.0.0)
- **Removed** `Options.auth`  

Options.auth was removed in got 16.0.0 [npmjs.com](https://www.npmjs.com/package/got/v/16.0.0)
- **Removed** `Options.followRedirects`  

Options.followRedirects was removed in got 16.0.0 [npmjs.com](https://www.npmjs.com/package/got/v/16.0.0)
- **Removed** `Options.searchParameters`  

Options.searchParameters was removed in got 16.0.0 [npmjs.com](https://www.npmjs.com/package/got/v/16.0.0)
- **Removed** `OptionsOfUnknownResponseBody`  

The OptionsOfUnknownResponseBody type was removed. It was a pure alias for StrictOptions. [npmjs.com](https://www.npmjs.com/package/got/v/16.0.0)

And 38 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## got 15.1.0 breaking changes

got 15.1.0, released July 2, 2026: 3 breaking changes.

- **Signature changed** `applyUrlOverride`  

Was function applyUrlOverride(options: Options, url: string | URL, {username, password}?: {username?: string; password?: string;}): URL; now function applyUrlOverride(options: Options, url: string | URL, {username, password, baseUrl}?... [npmjs.com](https://www.npmjs.com/package/got/v/15.1.0)
- **Signature changed** `NormalizedOptions.toJSON`  

Was toJSON(): {timeout: Delays; localAddress: string | undefined; headers: Headers; request: RequestFunction | undefined; json: unknown; followRedirect: boolean | ((response: PlainResponse) => boolean); body: string | Uint8Array | Readable... [npmjs.com](https://www.npmjs.com/package/got/v/15.1.0)
- **Signature changed** `Options.toJSON`  

Was toJSON(): {timeout: Delays; localAddress: string | undefined; headers: Headers; request: RequestFunction | undefined; json: unknown; followRedirect: boolean | ((response: PlainResponse) => boolean); body: string | Uint8Array | Readable... [npmjs.com](https://www.npmjs.com/package/got/v/15.1.0)

## got 15.0.3 breaking changes

got 15.0.3, released April 21, 2026: 2 breaking changes.

- **Signature changed** `NormalizedOptions.toJSON`  

Was toJSON(): {timeout: Delays; headers: Headers; request: RequestFunction | undefined; json: unknown; followRedirect: boolean | ((response: PlainResponse) => boolean); body: string | Uint8Array | Readable | Generator | AsyncGenerator |... [npmjs.com](https://www.npmjs.com/package/got/v/15.0.3)
- **Signature changed** `Options.toJSON`  

Was toJSON(): {timeout: Delays; headers: Headers; request: RequestFunction | undefined; json: unknown; followRedirect: boolean | ((response: PlainResponse) => boolean); body: string | Uint8Array | Readable | Generator | AsyncGenerator |... [npmjs.com](https://www.npmjs.com/package/got/v/15.0.3)

## got 15.0.2 breaking changes

got 15.0.2, released April 13, 2026: 1 breaking change.

- **Signature changed** `CrossOriginState`  

Was type CrossOriginState = {headers: Headers; username: string; password: string; body: unknown; json: unknown; form: unknown; bodySnapshot: unknown; jsonSnapshot: unknown; formSnapshot: unknown;}; now type CrossOriginState = {headers... [npmjs.com](https://www.npmjs.com/package/got/v/15.0.2)

## Older versions

27 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### got 15.0.1 breaking changes

got 15.0.1, released April 8, 2026: 4 breaking changes.

- **Signature changed** `GotRequestFunction`  

Was type GotRequestFunction\<U extends ExtendOptions = Record\<string, unknown>> = {(url: string | URL, options?: OptionsOfUnknownResponseBody): GotResponseResult\<U, DefaultResponseBodyType\<U>>; (url: string | URL, options?... [npmjs.com](https://www.npmjs.com/package/got/v/15.0.1)
- **Signature changed** `OptionsWithPagination`  

Was type OptionsWithPagination\<T = unknown, R = unknown> = Merge\<OptionsInitWithoutUrl, {pagination?: PaginationOptions\<T, R>;}>; now type OptionsWithPagination\<T = unknown, R = unknown> = Merge\<StreamOptions, {pagination?... [npmjs.com](https://www.npmjs.com/package/got/v/15.0.1)

And 2 more in this version.

### got 15.0.0 breaking changes

got 15.0.0, released April 1, 2026: 77 breaking changes.

- **Removed** `CancelableRequest`  

CancelableRequest was removed in got 15.0.0 [npmjs.com](https://www.npmjs.com/package/got/v/15.0.0)
- **Removed** `CancelError`  

CancelError was removed in got 15.0.0 [npmjs.com](https://www.npmjs.com/package/got/v/15.0.0)

And 75 more in this version.

### got 14.6.5 breaking changes

got 14.6.5, released November 22, 2025: 1 breaking change.

- **Signature changed** `GotRequestFunction`  

Was type GotRequestFunction\<U extends ExtendOptions = Record\<string, unknown>> = {(url: string | URL, options?: OptionsOfTextResponseBody): U\['resolveBodyOnly'\] extends true ? CancelableRequest\<string>... [npmjs.com](https://www.npmjs.com/package/got/v/14.6.5)

### got 14.6.4 breaking changes

got 14.6.4, released November 14, 2025: 5 breaking changes.

- **Signature changed** `NormalizedOptions.createNativeRequestOptions`  

Was createNativeRequestOptions(): {ALPNProtocols: string\[\] | undefined; ca: string | Buffer\<ArrayBufferLike> | (string | Buffer\<ArrayBufferLike>)\[\] | undefined; cert: string | Buffer\<ArrayBufferLike> | (string | Buffer\<ArrayBufferLike>)\[\]... [npmjs.com](https://www.npmjs.com/package/got/v/14.6.4)
- **Signature changed** `NormalizedOptions.toJSON`  

Was toJSON(): {timeout: Delays; headers: Headers; request: RequestFunction | undefined; username: string; password: string; json: unknown; followRedirect: boolean | ((response: PlainResponse) => boolean); retry: Partial\<RetryOptions>... [npmjs.com](https://www.npmjs.com/package/got/v/14.6.4)

And 3 more in this version.

### got 14.6.3 breaking changes

got 14.6.3, released November 7, 2025: 2 breaking changes.

- **Signature changed** `NormalizedOptions.toJSON`  

Was toJSON(): {headers: Headers; timeout: Delays; request: RequestFunction | undefined; username: string; password: string; json: unknown; followRedirect: boolean | ((response: PlainResponse) => boolean); retry: Partial\<RetryOptions>... [npmjs.com](https://www.npmjs.com/package/got/v/14.6.3)
- **Signature changed** `Options.toJSON`  

Was toJSON(): {headers: Headers; timeout: Delays; request: RequestFunction | undefined; username: string; password: string; json: unknown; followRedirect: boolean | ((response: PlainResponse) => boolean); retry: Partial\<RetryOptions>... [npmjs.com](https://www.npmjs.com/package/got/v/14.6.3)

### got 14.6.2 breaking changes

got 14.6.2, released November 2, 2025: 2 breaking changes.

- **Signature changed** `NormalizedOptions.createNativeRequestOptions`  

Was createNativeRequestOptions(): {ALPNProtocols: string\[\] | undefined; ca: string | Buffer\<ArrayBufferLike> | (string | Buffer\<ArrayBufferLike>)\[\] | undefined; cert: string | Buffer\<ArrayBufferLike> | (string | Buffer\<ArrayBufferLike>)\[\]... [npmjs.com](https://www.npmjs.com/package/got/v/14.6.2)
- **Signature changed** `Options.createNativeRequestOptions`  

Was createNativeRequestOptions(): {ALPNProtocols: string\[\] | undefined; ca: string | Buffer\<ArrayBufferLike> | (string | Buffer\<ArrayBufferLike>)\[\] | undefined; cert: string | Buffer\<ArrayBufferLike> | (string | Buffer\<ArrayBufferLike>)\[\]... [npmjs.com](https://www.npmjs.com/package/got/v/14.6.2)

### got 14.6.1 breaking changes

got 14.6.1, released October 25, 2025: 4 breaking changes.

- **Signature changed** `BeforeErrorHook`  

Was type BeforeErrorHook = (error: RequestError) => Promisable\<RequestError>; now type BeforeErrorHook = (error: RequestError) => Promisable\<Error>. [npmjs.com](https://www.npmjs.com/package/got/v/14.6.1)
- **Signature changed** `Hooks`  

Was type Hooks = {init: InitHook\[\]; beforeRequest: BeforeRequestHook\[\]; beforeRedirect: BeforeRedirectHook\[\]; beforeError: BeforeErrorHook\[\]; beforeRetry: BeforeRetryHook\[\]; afterResponse: AfterResponseHook\[\];}; now type Hooks = {init... [npmjs.com](https://www.npmjs.com/package/got/v/14.6.1)

And 2 more in this version.

### got 14.6.0 breaking changes

got 14.6.0, released October 16, 2025: 6 breaking changes.

- **Signature changed** `BeforeRedirectHook`  

Was type BeforeRedirectHook = (updatedOptions: Options, plainResponse: PlainResponse) => Promisable\<void>; now type BeforeRedirectHook = (updatedOptions: NormalizedOptions, plainResponse: PlainResponse) => Promisable\<void>. [npmjs.com](https://www.npmjs.com/package/got/v/14.6.0)
- **Signature changed** `BeforeRequestHook`  

Was type BeforeRequestHook = (options: Options) => Promisable\<void | Response | ResponseLike>; now type BeforeRequestHook = (options: NormalizedOptions, context: BeforeRequestHookContext) => Promisable\<void | Response | ResponseLike>. [npmjs.com](https://www.npmjs.com/package/got/v/14.6.0)

And 4 more in this version.

### got 14.5.0 breaking changes

got 14.5.0, released October 10, 2025: 7 breaking changes.

- **Signature changed** `GotEventFunction`  

Was type GotEventFunction\<T> = ((name: 'request', listener: (request: ClientRequest) => void) => T) & (\<R extends Response>(name: 'response', listener: (response: R) => void) => T) & (\<R extends Response, N extends Options>(name... [npmjs.com](https://www.npmjs.com/package/got/v/14.5.0)
- **Signature changed** `HttpsOptions`  

Was type HttpsOptions = {alpnProtocols?: string\[\]; rejectUnauthorized?: NativeRequestOptions\['rejectUnauthorized'\]; checkServerIdentity?: CheckServerIdentityFunction; certificateAuthority?: SecureContextOptions\['ca'\]; key?... [npmjs.com](https://www.npmjs.com/package/got/v/14.5.0)

And 5 more in this version.

### got 14.4.8 breaking changes

got 14.4.8, released August 30, 2025: 1 breaking change.

- **Signature changed** `Options.createNativeRequestOptions`  

Was createNativeRequestOptions(): {ALPNProtocols: string\[\] | undefined; ca: string | Buffer\<ArrayBufferLike> | (string | Buffer\<ArrayBufferLike>)\[\] | undefined; cert: string | Buffer\<ArrayBufferLike> | (string | Buffer\<ArrayBufferLike>)\[\]... [npmjs.com](https://www.npmjs.com/package/got/v/14.4.8)

### got 14.4.7 breaking changes

got 14.4.7, released March 31, 2025: 2 breaking changes.

- **Signature changed** `Options.createNativeRequestOptions`  

Was createNativeRequestOptions(): {ALPNProtocols: string\[\] | undefined; ca: string | Buffer | (string | Buffer)\[\] | undefined; cert: string | Buffer | (string | Buffer)\[\] | undefined; key: string | Buffer | (string | Buffer |... [npmjs.com](https://www.npmjs.com/package/got/v/14.4.7)
- **Signature changed** `Options.toJSON`  

Was toJSON(): {headers: Headers; timeout: Delays; request: RequestFunction | undefined; username: string; password: string; json: unknown; followRedirect: boolean | ((response: PlainResponse) => boolean); retry: Partial\<RetryOptions>... [npmjs.com](https://www.npmjs.com/package/got/v/14.4.7)

### got 14.4.3 breaking changes

got 14.4.3, released October 9, 2024: 1 breaking change.

- **Signature changed** `Options.toJSON`  

Was toJSON(): {headers: Headers; timeout: Delays; request: RequestFunction | undefined; username: string; password: string; json: unknown; followRedirect: boolean | ((response: PlainResponse) => boolean); retry: Partial\<RetryOptions>... [npmjs.com](https://www.npmjs.com/package/got/v/14.4.3)

### got 14.4.2 breaking changes

got 14.4.2, released July 24, 2024: 2 breaking changes.

- **Signature changed** `Options.createNativeRequestOptions`  

Was createNativeRequestOptions(): {ALPNProtocols: string\[\] | undefined; ca: string | Buffer | (string | Buffer)\[\] | undefined; cert: string | Buffer | (string | Buffer)\[\] | undefined; key: string | Buffer | (string | Buffer |... [npmjs.com](https://www.npmjs.com/package/got/v/14.4.2)
- **Signature changed** `Options.toJSON`  

Was toJSON(): {headers: Headers; timeout: Delays; request: RequestFunction | undefined; username: string; password: string; json: unknown; followRedirect: boolean | ((response: PlainResponse) => boolean); retry: Partial\<RetryOptions>... [npmjs.com](https://www.npmjs.com/package/got/v/14.4.2)

### got 14.4.0 breaking changes

got 14.4.0, released June 4, 2024: 12 breaking changes.

- **Removed** `OptionsOfBufferResponseBody.resolveBodyOnly`  

OptionsOfBufferResponseBody.resolveBodyOnly was removed in got 14.4.0 [npmjs.com](https://www.npmjs.com/package/got/v/14.4.0)
- **Removed** `OptionsOfJSONResponseBody.resolveBodyOnly`  

OptionsOfJSONResponseBody.resolveBodyOnly was removed in got 14.4.0 [npmjs.com](https://www.npmjs.com/package/got/v/14.4.0)

And 10 more in this version.

### got 14.3.0 breaking changes

got 14.3.0, released May 18, 2024: 3 breaking changes.

- **Signature changed** `ToughCookieJar`  

Was type ToughCookieJar = {getCookieString: ((currentUrl: string, options: Record\<string, unknown>, cb: (error: Error | null, cookies: string) => void) => void) & ((url: string, callback: (error: Error | null, cookieHeader: string) =>... [npmjs.com](https://www.npmjs.com/package/got/v/14.3.0)
- **Signature changed** `ToughCookieJar.getCookieString`  

Was getCookieString: ((currentUrl: string, options: Record\<string, unknown>, cb: (error: Error | null, cookies: string) => void) => void) & ((url: string, callback: (error: Error | null, cookieHeader: string) => void) => void); now... [npmjs.com](https://www.npmjs.com/package/got/v/14.3.0)

And 1 more in this version.

### got 14.1.0 breaking changes

got 14.1.0, released January 29, 2024: 5 breaking changes.

- **Signature changed** `HTTPError`  

Was class HTTPError extends RequestError; now class HTTPError\<T = any> extends RequestError\<T>. [npmjs.com](https://www.npmjs.com/package/got/v/14.1.0)
- **Signature changed** `HTTPError.response`  

Was readonly response: Response; now readonly response: Response\<T>. [npmjs.com](https://www.npmjs.com/package/got/v/14.1.0)

And 3 more in this version.

### got 14.0.0 breaking changes

got 14.0.0, released November 29, 2023: 14 breaking changes.

- **Configuration changed**  

Got 14 requires Node.js 20. Users who still run Node.js 18 must stay on Got v13. [github.com](https://github.com/sindresorhus/got/releases/tag/v14.0.0)
- **Signature changed** `ExtendOptions.followRedirect`  

Was followRedirect?: boolean; now followRedirect?: boolean | ((response: any) => boolean). [npmjs.com](https://www.npmjs.com/package/got/v/14.0.0)

And 12 more in this version.

### got 13.0.0 breaking changes

got 13.0.0, released May 27, 2023: 4 breaking changes.

- **Behavior changed**  

Got 13 requires Node.js 16 or later. Users on older Node.js versions must upgrade before installing this release. [github.com](https://github.com/sindresorhus/got/releases/tag/v13.0.0)
- **Default changed** `enableUnixSockets`  

The enableUnixSockets option now defaults to false. Users who need Unix sockets must set enableUnixSockets to true explicitly. [github.com](https://github.com/sindresorhus/got/releases/tag/v13.0.0)

And 2 more in this version.

### got 12.6.1 breaking changes

got 12.6.1, released May 27, 2023: 1 breaking change.

- **Signature changed** `Options.createNativeRequestOptions`  

Was createNativeRequestOptions(): {ALPNProtocols: string\[\] | undefined; ca: string | Buffer | (string | Buffer)\[\] | undefined; cert: string | Buffer | (string | Buffer)\[\] | undefined; key: string | Buffer | (string | Buffer |... [npmjs.com](https://www.npmjs.com/package/got/v/12.6.1)

### got 12.6.0 breaking changes

got 12.6.0, released March 3, 2023: 1 breaking change.

- **Signature changed** `Options.createNativeRequestOptions`  

Was createNativeRequestOptions(): {ALPNProtocols: string\[\] | undefined; ca: string | Buffer | (string | Buffer)\[\] | undefined; cert: string | Buffer | (string | Buffer)\[\] | undefined; key: string | Buffer | (string | Buffer |... [npmjs.com](https://www.npmjs.com/package/got/v/12.6.0)

### got 12.5.0 breaking changes

got 12.5.0, released September 19, 2022: 4 breaking changes.

- **Removed** `CacheableRequestFunction`  

CacheableRequestFunction was removed in got 12.5.0 [npmjs.com](https://www.npmjs.com/package/got/v/12.5.0)
- **Behavior changed**  

Redirects with 307 and 308 status codes no longer change the request method. Code that relied on the old method rewriting must be updated. [github.com](https://github.com/sindresorhus/got/releases/tag/v12.5.0)

And 2 more in this version.

### got 12.4.0 breaking changes

got 12.4.0, released September 2, 2022: 87 breaking changes.

- **Removed** `Got.defaults`  

Got.defaults was removed in got 12.4.0 [npmjs.com](https://www.npmjs.com/package/got/v/12.4.0)
- **Removed** `Got.extend`  

Got.extend was removed in got 12.4.0 [npmjs.com](https://www.npmjs.com/package/got/v/12.4.0)

And 85 more in this version.

### got 12.2.0 breaking changes

got 12.2.0, released July 24, 2022: 2 breaking changes.

- **Signature changed** `Options.toJSON`  

Was toJSON(): {headers: Headers; timeout: Delays; request: RequestFunction | undefined; username: string; password: string; json: unknown; retry: Partial\<RetryOptions>; agent: Agents; h2session: http2wrapper.ClientHttp2Session | undefined... [npmjs.com](https://www.npmjs.com/package/got/v/12.2.0)
- **Signature changed** `parseBody`  

Was const parseBody: (response: Response, responseType: ResponseType, parseJson: ParseJsonFunction, encoding?: BufferEncoding | undefined) => unknown; now const parseBody: (response: Response, responseType: ResponseType, parseJson... [npmjs.com](https://www.npmjs.com/package/got/v/12.2.0)

### got 12.1.0 breaking changes

got 12.1.0, released May 25, 2022: 1 breaking change.

- **Behavior changed**  

Got no longer follows HTTP redirects that point to UNIX sockets, as a security fix for CVE-2022-33987. Code that relied on such redirects must handle them differently. [github.com](https://github.com/sindresorhus/got/releases/tag/v12.1.0)

### got 12.0.3 breaking changes

got 12.0.3, released March 26, 2022: 13 breaking changes.

- **Signature changed** `ExtendOptions.json`  

Was json: Record\<string, any> | undefined; now json: unknown. [npmjs.com](https://www.npmjs.com/package/got/v/12.0.3)
- **Signature changed** `InternalsType.json`  

Was json: Record\<string, any>; now json: unknown. [npmjs.com](https://www.npmjs.com/package/got/v/12.0.3)

And 11 more in this version.

### got 12.0.1 breaking changes

got 12.0.1, released January 9, 2022: 3 breaking changes.

- **Signature changed** `Options.createNativeRequestOptions`  

Was createNativeRequestOptions(): {ALPNProtocols: string\[\] | undefined; ca: string | Buffer | (string | Buffer)\[\] | undefined; cert: string | Buffer | (string | Buffer)\[\] | undefined; key: string | Buffer | (Buffer |... [npmjs.com](https://www.npmjs.com/package/got/v/12.0.1)
- **Signature changed** `Options.getFallbackRequestFunction`  

Was getFallbackRequestFunction(): RequestFunction | typeof httpsRequest | undefined; now getFallbackRequestFunction(): RequestFunction | typeof https.request | undefined. [npmjs.com](https://www.npmjs.com/package/got/v/12.0.1)

And 1 more in this version.

### got 12.0.0 breaking changes

got 12.0.0, released December 10, 2021: 388 breaking changes.

- **Removed**  

Got 12 requires Node.js 14 or later. Update Node.js to v14 LTS before upgrading. [github.com](https://github.com/sindresorhus/got/releases/tag/v12.0.0)
- **Removed** `defaultHandler`  

defaultHandler was removed in got 12.0.0 [npmjs.com](https://www.npmjs.com/package/got/v/12.0.0)

And 386 more in this version.

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
