Packages

got

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

Upgrading got From 7.1.0 to 8.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 7.1.0Clears its advisory11.8.5Latest16.2.0
  1. 7.1.0yours
  2. 8.0.0target

Before you upgrade

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

Security

1 advisory still affects 8.0.0

Upgrading to 11.8.5 clears it.

Release by release

  1. 8.0.0

    Migration needed16 Nov 20173 new · 2 fixes
    • Breaking

      Uses HTTPS for protocol-less URLs (Previously it defaulted to http). ae1a0fe

    • Breaking

      Made the useElectron option false by default. 33cbb6f

    • New

      Added a powerful cache option. 3c79205 (Thanks to @lukechilds ✨)

    • New

      Added download/upload progress events. be7b802 (Thanks to @vadimdemedes 🌟)

    • New

      Support for an object in the agent option. b9bf2e6

    • Fixed

      Fixed some memory leaks. 0c5e44c 98a7144

    • Fixed

      Fixed .cancel() when timeout exists. e31282d

3 other lines we could not sort, mostly version bumps
  • Excludes passed headers with values null or undefined. c5e2f8d

    8.0.0
  • Uses statusMessage returned by endpoint. 01c2636

    8.0.0
  • Exposed got.CancelError. b55f79e

    8.0.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.