Skip to content

Releases: sindresorhus/got

v10.5.3

08 Feb 16:15
Compare
Choose a tag to compare
  • Fix unhandled errors if throwing in an async handler 518d95a

v10.5.2

07 Feb 06:54
Compare
Choose a tag to compare
  • Forgot to include required p-event dependency 8373112

v10.5.1...v10.5.2

v10.5.1

07 Feb 06:32
Compare
Choose a tag to compare

v10.5.0...v10.5.1

v10.5.0

06 Feb 20:08
Compare
Choose a tag to compare

v10.4.0...v10.5.0

v10.4.0

31 Jan 07:37
Compare
Choose a tag to compare
  • Update @szmarczak/cacheable-lookup dependency d527dae
  • Include invalid JSON body in ParseErrors (#1044) 2813b73
  • Fix got.stream(...) not throwing ReadErrors 1f6ca6b

v10.3.0...v10.4.0

v10.3.0

24 Jan 14:54
Compare
Choose a tag to compare
  • Allow request body to be sent with a DELETE request (#1037) 17d629a
  • Reject normalization errors with CancelableRequest (#1035) fddecab
  • Export GotRequestMethod TypeScript type (#1017) f02694e
  • Export ReadError TypeScript type (#1027) d222164

v10.2.2...v10.3.0

v10.2.2

11 Jan 15:37
Compare
Choose a tag to compare
  • Do not include a request option in normalized http options 61009b3

v10.2.1

01 Jan 18:33
Compare
Choose a tag to compare
  • Ensure got.mergeOptions(...) can be assigned to defaults (#1008) 1360a1b
  • The url option is mutually exclusive with the url input argument e0f8aab
  • Update RetryObject['error'] TypeScript types 5008bf7
  • Upgrade @szmarczak/http-timer dependency a1b8ffc

v10.2.0...v10.2.1

v10.2.0

23 Dec 21:07
Compare
Choose a tag to compare
  • Soft-deprecate electron.net support (#995) b2f8ace
    • See #899 (comment). When the support is removed, you'll still be able to use Got in the Electron main process and in the renderer process through the electron.remote module or if you use Node.js shims.
  • Do not throw if hostname is not present dc53747
  • Fix unhandled Premature close errors fa60b5f

v10.1.0...v10.2.0

v10.1.0

19 Dec 12:31
Compare
Choose a tag to compare

Enhancements

Fixes

  • Fix content-length header not being set when using custom content-type 3149340
  • Emit timeout errors as soon as possible 912c2e5 7bf92f4

v10.0.4...v10.1.0