Packages

got

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

Your version

188 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 16.x · latest line
  2. 16.2.0

    30 Oct 2026
  3. 16.1.0

    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

    30 Aug 2026
    • Breaking

      Rewrite HTTP/2 support and drop the http2-wrapper dependency (#2464) 1e157c4

    • Breaking

      Rewrite DNS cache and drop the cacheable-lookup dependency (#2463) 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) dd3b295

  5. 15.x
  6. 15.1.0

    2 Jul 2026
  7. 15.0.7

    28 Jun 2026
    • Preserve request body on cross-origin 307 and 308 redirects (#2460) aee9249

  8. 15.0.6

    21 Jun 2026
    • Fix searchParams setter dropping the value when a URL is set (#2454) 5772bf2

  9. 15.0.5

    6 May 2026
    • Handle abort signals added by handlers 74e3167

  10. 15.0.4

    6 May 2026
    • Fix aborting during download progress 11a2202

  11. 15.0.3

    21 Apr 2026
    • Fix false ReadError on responses without Content-Length 071ea07

  12. 15.0.2

    13 Apr 2026
    • Fix stream cookie jar completion race b170125

  13. 15.0.1

    8 Apr 2026
  14. 15.0.0

    1 Apr 2026
    • Breaking

      Require Node.js 22 b933476

    • Breaking

      Remove promise cancel API a06ac6c

    • Breaking

      Remove isStream option c241c6c

  15. 14.x
  16. 14.6.6

    30 Dec 2025
    • Fix stream auto-end for empty PATCH/DELETE/OPTIONS 4d5168c

  17. 14.6.5

    22 Nov 2025
    • Fix TypeScript type inference for got.extend() with responseType option f7ab6e9

  18. 14.6.4

    14 Nov 2025
    • Fix dnsLookup option type to accept Node.js dns.lookup 47c3155

  19. 14.6.3

    7 Nov 2025
  20. 14.6.2

    2 Nov 2025
    • Fix path segments containing colons being misidentified as absolute URLs 0a16a9c

  21. 14.6.1

    25 Oct 2025
    • Fix the TS code not being built in 14.6.0.

  22. 14.6.0

    16 Oct 2025
  23. 14.5.0

    10 Oct 2025
    • Add retry.enforceRetryRules option to fix statusCodes/limit bypassing 7c0aee6

    • Add support for serverName HTTPS option cdaab63

    • Add preserveHooks option for retryWithMergedOptions 1abeba4

  24. 14.4.9

    17 Sep 2025
    • Fix hang with responses containing content-encoding headers but no body cc434bc

  25. 14.4.8

    30 Aug 2025
    • Fix infinite loop when retrying with request.options in afterResponse hook dad6a91

  26. 14.4.7

    31 Mar 2025
  27. 14.4.6

    10 Feb 2025
    • Fix timeout error firing even though it's cancelled (#2399) 7a92064

  28. 14.4.5

    23 Nov 2024
    • Fix a crash with Got accessing a non-existent request (#2391) c079b93

  29. 14.4.4

    4 Nov 2024
  30. 14.4.3

    9 Oct 2024
  31. 14.4.2

    24 Jul 2024
  32. 14.4.1

    6 Jun 2024
  33. 14.4.0

    4 Jun 2024
    • Improve TypeScript types with generic extend (#2353) 15ca4a0

  34. 14.3.0

    18 May 2024

    Only updates dependencies, nothing else changes.

  35. 14.2.1

    7 Mar 2024
    • Fix error handling when UTF-8 decoding fails (#2336) c81a611

  36. 14.2.0

    3 Feb 2024
    • Add cause property with the original error to RequestError (#2327) 4cbd01d

  37. 14.1.0

    29 Jan 2024
    • Allow typing the body of a RequestError response (#2325) 5e4f6ff

  38. 14.0.0

    29 Nov 2023
  39. 13.x
  40. 13.0.0

    27 May 2023
  41. 12.x
  42. 12.6.1

    27 May 2023
  43. 12.6.0

    3 Mar 2023
  44. 12.5.3

    16 Nov 2022
    • Fix abort event listeners not always being cleaned up (#2162) 3cc40b5

  45. 12.5.2

    12 Oct 2022
  46. 12.5.1

    27 Sep 2022
    • Fix compatibility with TypeScript and ESM 3b3ea67

    • Fix request body not being properly cached (#2150) 3e9d3af

  47. 12.5.0

    19 Sep 2022
  48. 12.4.1

    2 Sep 2022
    • Fix options.context being not extensible b671480

    • Don't emit uploadProgress after promise cancelation 693de21

  49. 12.4.0

    2 Sep 2022
    • Support FormData without known length (#2120) 850773c

    • Don't call beforeError hooks with HTTPError if the throwHttpErrors option is false (#2104) 3927348

  50. 12.3.1

    6 Aug 2022
  51. 12.3.0

    28 Jul 2022
  52. 12.1.0

    25 May 2022
  53. 12.0.4

    24 Apr 2022
    • Remove stream lock - unreliable since Node 17.3.0 bb8eca9

  54. 12.0.3

    26 Mar 2022

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.