github sindresorhus/got v11.6.0

Improvements

  • Add retry stream event (#1384) 707219825b2f8ff3df597230a53244636df21642
  • Add types for http-cache-semantics options 2e2295fba63c260d347fef2081cdbcae45fa6116
  • Make CancelError inherit RequestError 1f132e88b4e9b295631637757d64307032a4e56e
  • Add retryAfter to RetryObject 643a305b4d710042d2a958a21e7637183713505c
  • Add documentation comments to exported TypeScript types (#1278) eaf1e02b21e4b8c08197c6400844d4098828ecf4
  • Move cache options into a cacheOptions property 9c16d9083019fcb28f566659106036faa4839447

Bug fixes

  • Got promise shouldn't retry when the body is a stream 6e1aeaedb5dfe4f4b15eecf72a80303c30df22af

Docs

  • Add an example of nock integration with retrying f7bbc3753779e14b22d7aa337764c7048aebb915
  • Fix CancelError docs 28c400f4df5f45990f80641a794a2d09439bef93
  • Fix retry delay function in the README (#1425) 38bbb04ea24f01eed6f01e394bc3e9405df8cfc5
latest releases: v11.7.0, v11.6.2, v11.6.1...
10 months ago