Packages

got

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

Upgrading got From 10.5.1 to 11.8.5

32 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 10.5.1Newest 10.x10.7.0Latest16.2.0
  1. 10.5.1yours
  2. 8 releases
  3. 11.0.0major
  4. 22 releases
  5. 11.8.5target

Before you upgrade

Tick each one off as you go
  • Breaking11.0.0
  • Breaking11.0.0
  • Breaking11.0.0
  • Breaking11.0.0
  • Breaking11.0.0
  • Breaking11.0.0
  • Breaking11.0.0
  • Breaking11.0.0

Security

Fixes 1 advisory affecting 10.5.1

  • Backport security fix 861ccd9

    11.8.5

Release by release

  1. 11.8.5

    Security fix25 May 2022
    • Security

      Backport security fix 861ccd9

  2. 11.8.3

    18 Nov 20211 fix
    • Fixed

      Fix HTTPError missing .code property (#1739) 0e167b8

  3. 11.8.2nothing new or fixed in the note

  4. 11.8.1

    10 Dec 20201 fix
    • Fixed

      Do not throw on custom stack traces (#1491) 4c815c3a609eb74d0eb139414d9996b4f65dc3c0

  5. 11.8.0

    20 Oct 20201 fix
    • Fixed

      Fix for sending files with size 0 on stat (#1488) 7acd380

  6. 11.7.0

    18 Sep 20203 new · 3 fixes
    • New

      Add pfx HTTPS option (#1364) c33df7f

    • New

      Update body after beforeRequest (#1453) e1c1844

    • New

      Don't allocate buffer twice (#1403) 7bc69d9

    • Fixed

      Fix a regression where body was sent after redirect 88b32ea

    • Fixed

      Fix destructure error on promise.json() c97ce7c

    • Fixed

      Do not ignore userinfo on a redirect to the same origin 52de13b

  7. 11.6.2

    10 Sep 20203 fixes
    • Fixed

      Inherit the prefixUrl option from parent if it's undefined (#1448) a3da70a78aeb7f44dd3e0d0fa47cebe9541eb91e

    • Fixed

      Prepare a fix for hanging promise on Node.js 14.10.x 29d4e325b110ccf7571d4265d40760be4175f7ff

    • Fixed

      Prepare for Node.js 15.0.0 c126ff19c4e893975cbf6c2c8bebce6ed7631276

  8. 11.6.1

    8 Sep 20201 fix
    • Fixed

      Fix options.port on redirect (#1439) 408e22a

30 other lines we could not sort, mostly version bumps
  • Bump cacheable-request dependency (#1921) 9463bb6

    11.8.3
  • Make the dnsCache option lazy (#1529) 3bd245f This slightly improves Got startup performance and fixes an issue with Jest.

    11.8.2
  • beforeRetry allows stream body if different from original (#1501) 3dd2273

    11.8.0
  • Set default value for an options object (#1495) 390b145

    11.8.0
  • Welcome @Giotino as a maintainer 🎉 5031843

    11.6.1
  • Showcase companies using Got (#1432) d12d6af

    11.6.1
  • Use async iterators to get response body (#1256) 7dcd1456a68a2603d30cbb1a4e453c4560bd51b2

    11.4.0
  • Clarify options.encoding docs 04f3ea4b7995e1609555dd13f00641b8f470de4c

    11.4.0
  • Improve the searchParams option 4dbada94e261ad890d2478c313ec3d74761b659e

    11.4.0
  • Deep merge https options (#1304) c98f0d7

    11.3.0

20 internal lines (docs, tests, tooling) left out.

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.