Skip to content

Releases: sindresorhus/got

v14.6.1

25 Oct 10:29

Choose a tag to compare

  • Fix the TS code not being built in 14.6.0.

v14.6.0...v14.6.1

v14.6.0

16 Oct 16:33

Choose a tag to compare

Improvements

Fixes

  • Fix HTTP/2 timings NaN issue 398c11a
  • Fix shortcut methods ignoring handler errors f004564
  • Fix body reassignment in beforeRetry hooks bf84d36
  • Fix beforeError hook not being called for ERR_UNSUPPORTED_PROTOCOL error fb86418
  • FIx preserving prefixUrl in hooks 9725fbd
  • Fix race condition causing retry after promise settles 1e49781
  • Fix stream validation errors causing unhandled rejections 2527bf6
  • Fix incorrect content-length when piping decompressed responses 30b3b79
  • Fix EPIPE errors bypassing retry logic in Promise API 6ae3e7f
  • Fix silent hang when returning cached response with FormData body from beforeRequest hook e09a9bd
  • Fix hook type definitions to reflect normalized runtime state 6a544a3
  • Fix afterResponse hook validation to allow null body values 60a4419
  • Fix DNS timing being non-zero when connecting to IP addresses 3d66aec
  • Fix timings.end being undefined when stream is destroyed before completion 4e75679
  • Fix properly treating different UNIX socket paths as different origins e5659d4

Meta

I managed to get it almost down to zero issues! 🎉


v14.5.0...v14.6.0

v14.5.0

10 Oct 08:21

Choose a tag to compare

  • Add retry.enforceRetryRules option to fix statusCodes/limit bypassing 7c0aee6
  • Add support for serverName HTTPS option cdaab63
  • Add preserveHooks option for retryWithMergedOptions 1abeba4
  • Support Iterable and AsyncIterable as request body b65b0e1
  • Fix hang on revalidated cached responses 2ab94fd
  • Fix handling of FormData getLength errors a2812de
  • Fix downloadProgress firing for redirect responses 9ec6ff0
  • Fix TypeScript type definition for retry event's createRetryStream parameter e899c07
  • Fix validation to accept false as agent value 6961284
  • Fix HTTP/2 memory leak from timeout listeners with connection reuse d1d4ed2
  • Fix QuickLRU v7+ compatibility 23d0b6b
  • Fix it not using HTTP/2 connection reuse by default 724d592
  • Fix hang with stream requests without body for methods like OPTIONS dc4f1e3

v14.4.9...v14.5.0

v14.4.9

17 Sep 09:31

Choose a tag to compare

  • Fix hang with responses containing content-encoding headers but no body cc434bc

v14.4.8...v14.4.9

v14.4.8

30 Aug 14:25

Choose a tag to compare

  • Fix infinite loop when retrying with request.options in afterResponse hook dad6a91

v14.4.7...v14.4.8

v14.4.7

31 Mar 14:47

Choose a tag to compare


v14.4.6...v14.4.7

v14.4.6

10 Feb 07:54

Choose a tag to compare

  • Fix timeout error firing even though it's cancelled (#2399) 7a92064

v14.4.5...v14.4.6

v14.4.5

23 Nov 16:00

Choose a tag to compare

  • Fix a crash with Got accessing a non-existent request (#2391) c079b93

v14.4.4...v14.4.5

v14.4.4

04 Nov 11:03

Choose a tag to compare

v14.4.3...v14.4.4

v14.4.3

09 Oct 07:16

Choose a tag to compare

v14.4.2...v14.4.3