Releases: sindresorhus/got
Releases 路 sindresorhus/got
v11.3.0
- Deep merge
https
options (#1304) c98f0d7 - Add options to customize parsing/stringifying JSON (#1298) cb4da8d
- Add
dnsLookupIpVersion
option (#1264) 7f643bb
v11.2.0
- Provide an overload for unknown
responseType
(#1276) b9ba18a - Fix overriding some options in a
beforeRequest
hook (#1293) d8c00cf - Fix hanging promise on aborted requests on Node v14.3.0 (#1296) 2ccc4c2
- Do not wait for
ready
event if the file descriptor is already opened (#1289) 2c8fe19 - General improvements to HTTPS API (#1255) 697de37
v11.1.4
- Clarify docs for got.HTTPError (#1244) 3f125f1
- Upgrade
cacheable-lookup
to 5.0.3 9770e54 - Add a Runkit example (#1253) 48bbb36
- Mention
options.rejectUnauthorized
in the documentation 9b04963 - Test
responseType
set toundefined
0e8582f - Slightly improve RunKit example 6f84051
- Make
got.paginate()
an alias forgot.paginate.each()
5480b31 - Don't force query string normalization (#1246) 761b8e0
- Upgrade
decompress-response
to6.0.0
c2bc014 - Migrate from
lolex
to@sinonjs/fake-timers
(#1270) df333dd - Make
calculateDelay
promisable (#1266) 3745efc
v11.1.3
- Do not use deprecated
request.abort()
(#1242) ab338a7 - Remove the
host
header on redirect (#1241) 8ff71d9 - Prevent URL pollution (#1243) 7dbb9ee
- Fix duplicated searchParams for pagination API (#1229) 91aa0ac
- Add a test for stringified
searchParams
in merge (#1208) 7d7361c - Fix reusing options when paginating 8862270
- Fix an invalid pagination test 47c1afe 5131dc2
v11.1.2
Bug fixes
- Disable
options.dnsCache
by default 79507c2
This should stay disabled when making requests to internal hostnames such as localhost, database.local etc.
CacheableLookup uses dns.resolver4(..) and dns.resolver6(...) under the hood and fall backs to dns.lookup(...) when the first two fail, which may lead to additional delay.
Enhancements
v11.1.1
v11.1.0
v11.0.3
Fixes
- Limit number of requests in pagination to prevent accidental overflows (#1181) 4344c3a
- Fix promise rejecting before retry b927e2d
- Fix
options.searchParams
duplicates 429db40 - Prevent calling
.abort()
on a destroyed request 63c1b72