Packages

got

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

Upgrading got From 8.3.2 to 9.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 8.3.2Clears its advisory11.8.5Latest16.2.0
  1. 8.3.2yours
  2. 9.0.0target

Before you upgrade

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

Security

1 advisory still affects 9.0.0

Upgrading to 11.8.5 clears it.

Release by release

  1. 9.0.0

    Migration needed4 Aug 20188 new · 4 fixes
    • Breaking

      Requires Node.js 8. You might ask, why not follow the Node.js LTS cycle and target Node.js 6. In short, async/await and WHATWG URL, which enabled us to simplify the codebase and reduce the dependency-tree considerably. Got v8 is a stable release, and you can continue using that if you need to support Node.js 6.

    • Breaking

      The retry functionality was rewritten to improve its reliability and to support retrying on HTTP status codes. Previously, it only retried on some network failures. 98b5664 The option was renamed from retries to retry and it now accepts either a number of retries or an object with the ability to specify the number of retries, HTTP status codes and methods to retry on, and a function to decide how to retry. See the docs for more. Migration:

    • Breaking

      Renamed the .canceled property to .isCanceled. 00fdeea

    • Breaking

      Dropped support for the body option being an Array when form: true. dfe5b1c The built-in new URLSearchParams() API doesn't support this either and it's a weird use-case. If you need support for this, just don't set form: true and handle stringifying yourself.

2 other lines we could not sort, mostly version bumps
  • 100% code coverage! Doing this caught a couple of bugs, so definitely worth doing even if 100% doesn't mean bug-free.

    9.0.0
  • The codebase was significantly refactored for better readability and maintainability. b54b680

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