---
title: "got 16.2.0: release notes, upgrades and advisories"
description: "got 16.2.0: release notes, breaking changes by major version and 1 known advisory with their fix."
url: https://inlinr.com/packages/got
lang: en
---

[Packages](https://inlinr.com/packages)

# got

16.2.0 · 30 Oct 2026 MIT 53.2M / week [Repository](https://github.com/sindresorhus/got) [Homepage](https://github.com/sindresorhus/got#readme) [npm](https://www.npmjs.com/package/got) [Atom feed](https://inlinr.com/packages/feed/got)

Your version 

## Where each line stands

[Plan an upgrade](https://inlinr.com/packages/got/upgrade)

LineNewestSecurity

- 16.x 16.2.0 No known advisory Latest line
- 15.x 15.1.0 No known advisory [To 16.2.0](https://inlinr.com/packages/got/upgrade/15.1.0-16.2.0)
- 14.x 14.6.6 No known advisory [To 16.2.0](https://inlinr.com/packages/got/upgrade/14.6.6-16.2.0)
- 13.x 13.0.0 No known advisory [To 16.2.0](https://inlinr.com/packages/got/upgrade/13.0.0-16.2.0)
- 12.x and older 12.6.1 13 open advisories, worst moderate  · last release May 2023, no longer updated [To 16.2.0](https://inlinr.com/packages/got/upgrade/12.6.1-16.2.0)

## Latest releases

[All 188 releases](https://inlinr.com/packages/got/releases)

1. 16.x · latest line
2. ### [16.2.0](https://inlinr.com/packages/got/releases/16.2.0 "Open this release") [](https://github.com/sindresorhus/got/releases/tag/v16.2.0 "Read this release where it was published")  
30 Oct 2026

  - Add Standard Schema support to `.json()` ([#2477](https://github.com/sindresorhus/got/issues/2477)) [d6fb3bd](https://github.com/sindresorhus/got/commit/d6fb3bda)
3. ### [16.1.0](https://inlinr.com/packages/got/releases/16.1.0 "Open this release") [](https://github.com/sindresorhus/got/releases/tag/v16.1.0 "Read this release where it was published")  
13 Oct 2026

  - Invalid options now throw: an empty `method`, a negative or fractional `maxRedirects` or `retry.limit`, a `prefixUrl` with a query string or fragment, and a `handlers` entry that is not a function.
  - A stream with a `body`, `json`, or `form` option now rejects writes, as documented.
  - The promise `response` event now only fires for the final response, not for every retry attempt.
4. ### [16.0.0](https://inlinr.com/packages/got/releases/16.0.0 "Open this release") [](https://github.com/sindresorhus/got/releases/tag/v16.0.0 "Read this release where it was published")  
30 Aug 2026

  - Breaking  
  Rewrite HTTP/2 support and drop the `http2-wrapper` dependency ([#2464](https://github.com/sindresorhus/got/issues/2464)) [1e157c4](https://github.com/sindresorhus/got/commit/1e157c4)
  - Breaking  
  Rewrite DNS cache and drop the `cacheable-lookup` dependency ([#2463](https://github.com/sindresorhus/got/issues/2463)) [bfc400b](https://github.com/sindresorhus/got/commit/bfc400b)
  - Breaking  
  A `beforeRequest` hook, an `afterResponse` retry, or a pagination step that moves the request to a different origin now strips credentials and drops the body ([#2465](https://github.com/sindresorhus/got/issues/2465)) [dd3b295](https://github.com/sindresorhus/got/commit/dd3b295)

Dependency tracking

## Know when your own dependencies move

got shipped 2 new majors in the last 12 months, among 13 releases. inlinr shows which of your projects are behind, and what the upgrade breaks.

- Advisories reach you  
An email when a critical or high advisory affects a project, before the next install.
- Upgrades checked first  
Peer ranges, Node, ESM-only and types changes read before you bump.
- Only what matters  
Majors and breaking notes stay; patches and sibling bumps fold into one line.

[How dependency tracking works](https://inlinr.com/dependencies)

## Security

[Details](https://inlinr.com/packages/got/security)

- [Got allows a redirect to a UNIX socket](https://inlinr.com/advisories/GHSA-pfrx-2q88-qq97) Moderate · fixed in 12.1.0, 11.8.5

## Health

[Details](https://inlinr.com/packages/got/security#signals)

- **Provenance**:
- **Publisher**:
- **Maintainers**:
- **Scorecard**:
- **Size**:

## Weekly downloads

Reading releases, release notes and advisories…

Registry facts last checked 19 Nov 2026\. Releases and advisories last read 19 Nov 2026.

A whole project to check? Paste its package.json in the [dependency check](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
