Releases: sindresorhus/got
Releases 路 sindresorhus/got
v11.8.1
v11.8.0
v11.7.0
Improvements
- Add
pfx
HTTPS option (#1364) c33df7f - Update
body
afterbeforeRequest
(#1453) e1c1844 - Don't allocate buffer twice (#1403) 7bc69d9
Fixes
v11.6.2
Bug fixes
- Inherit the
prefixUrl
option from parent if it'sundefined
(#1448) a3da70a - Prepare a fix for hanging promise on Node.js 14.10.x 29d4e32
- Prepare for Node.js 15.0.0 c126ff1
Docs
- Point travis-ci.org badge to travis-ci.com (#1442) 2b352d3
- Clarify the retry mechanism f248618
- Fix
RequestError
links 3ed4af6
Tests
v11.6.1
v11.6.0
Improvements
- Add
retry
stream event (#1384) 7072198 - Add types for
http-cache-semantics
options 2e2295f - Make
CancelError
inheritRequestError
1f132e8 - Add
retryAfter
toRetryObject
643a305 - Add documentation comments to exported TypeScript types (#1278) eaf1e02
- Move cache options into a
cacheOptions
property 9c16d90
Bug fixes
- Got promise shouldn't retry when the body is a stream 6e1aeae
Docs
v11.5.2
v11.5.1
v11.5.0
Improvements
- Add
backoff
option to pagination (#1182) 4be7446 - Upgrade dependencies (#1345) b9a855d 476c026 8d697bc
- Upgrade to TypeScript 3.9 (#1267) b51d836
Fixes
- Fix TypeScript types for Promise API (#1344) 676be6d
- Fix cache not working with HTTP2 ac5f67d
- Fix
response
event not being emitted on cache verify request (#1305) da4769e - Work around a bug in Node.js <=12.18.2 f33e8bc
- Remove request error handler after response is downloaded e1afe82
- Revert "Remove request error handler after response is downloaded" aeb2e07
Docs
v11.4.0
- Fix hanging promise on timeout on HTTP error 934211f
- Use async iterators to get response body (#1256) 7dcd145
- Fix promise not returning Buffer on compressed response 5028c11
- Clarify options.encoding docs 04f3ea4
- Fix unhandled
The server aborted pending request
rejection 728aef9 - Add missing
ECONNRESET
code to an abort error d325d35 - Fix
prefixUrl
not working when theurl
argument is empty 8d3412a - Improve the
searchParams
option 4dbada9 - Fix non-enumerable options [such as body] not being used 8f775c7