Packages

got

16.2.0 · 30 Oct 2026MIT53.2M / weekRepositoryHomepagenpmAtom feed

Upgrading got From 16.0.0 to 16.1.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 16.0.0Newest 16.x, Latest16.2.0
  1. 16.0.0yours
  2. 16.1.0target
0
changes to make
0
advisories fixed
4
new
17
fixes

Release by release

  1. 16.1.0

    13 Oct 20264 new · 17 fixes
    • New

      Accept number values in headers 6fffc9e

    • New

      Export the Timings, DnsCacheLookup, and DnsCacheOptions types d012d1d eccaaca

    • New

      Retry FormData bodies by re-serializing them instead of failing 90c6ec1

    • New

      Support the x-gzip content coding and stacked content codings 5550a79

7 other lines we could not sort, mostly version bumps
  • 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.

    16.1.0
  • A stream with a body, json, or form option now rejects writes, as documented.

    16.1.0
  • The promise response event now only fires for the final response, not for every retry attempt.

    16.1.0
  • got.extend({body}) (and json, form) no longer sends the payload with every request of the instance. Payloads are never merged with defaults.

    16.1.0
  • instance.extend() now inherits the parent's mutableDefaults, like got.extend(instance).

    16.1.0
  • A HEAD request is no longer changed to GET on a 301, 302, or 303 redirect.

    16.1.0
  • response.body no longer keeps a leading UTF-8 byte order mark, and JSON with a byte order mark now parses.

    16.1.0

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.