Packages

got

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

Upgrading got From 6.7.1 to 7.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 6.7.1Clears its advisory11.8.5Latest16.2.0
  1. 6.7.1yours
  2. 7.0.0target
3
changes to make
0
advisories fixed
9
new
0
fixes

Before you upgrade

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

Security

1 advisory still affects 7.0.0

Upgrading to 11.8.5 clears it.

Release by release

  1. 7.0.0

    Migration needed29 May 20179 new
    • Breaking

      Changes stringifying options behavior. 51a3eaf Setting the body option to be an object to stringify is no longer possible without setting either the form option for URL encoding or the json option for JSON encoding. Previously, Got would use URL encoding by default, now it will throw an error. Since the json option also means Got will decode a JSON response for you, setting both options to true will encode the request as URL and decode the response as JSON.

    • Breaking

      Now also redirects on 307, 308, 303 responses. b45896a

    • Breaking

      The timeout option now applies to the whole request and we added ability to control the timeout of the individual phases. 7964f2c

    • New

      Added ability to cancel in-progress requests! 9ef7a5a

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.