Packages

got

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

Upgrading got From 14.6.6 to 15.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 14.6.6Latest16.2.0
  1. 14.6.6yours
  2. 15.0.0target
9
changes to make
0
advisories fixed
2
new
0
fixes

Before you upgrade

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

Release by release

  1. 15.0.0

    Migration needed1 Apr 20262 new
    • Breaking

      Require Node.js 22 b933476

    • Breaking

      Remove promise cancel API a06ac6c

    • Breaking

      Remove isStream option c241c6c

    • Breaking

      Use native FormData global 670b228

2 other lines we could not sort, mostly version bumps
  • Got now throws a ContentLengthMismatchError by default if Content-Length doesn't match the actual body size. Set {strictContentLength: false} to restore the old behavior.

    15.0.0
  • Custom calculateDelay functions are now only called when a retry is actually allowed by limit, methods, statusCodes, and errorCodes. If your calculateDelay was previously used to override retry eligibility unconditionally, set {retry: {enforceRetryRules: false}}.

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