Skip to content

5.0.0

Compare
Choose a tag to compare
@floatdrop floatdrop released this 18 Oct 09:45
· 1226 commits to main since this release

zjvxrhf

Retries

We added retries on network failures with noisy exponential backoff. By default got will try five times, before returning error.

Retries only applies to network errors (because network is not reliable). Requests with server errors, like 50x status codes, will not be retried.

You can disable them by passing 0 to retries option.

Update

$ npm install --save got@5

Highlights

Changes

v4.2.0...v5.0.0