Skip to content

Releases: fent/node-miniget

v4.2.3

23 Jun 09:50
8ab07d6
Compare
Choose a tag to compare

4.2.3 (2023-06-23)

Bug Fixes

  • always initialize destroyArgs (8ab07d6), closes #68

v4.2.2

09 Jan 01:52
f363cae
Compare
Choose a tag to compare

4.2.2 (2022-01-09)

Bug Fixes

  • fix compiling for @types/node@17 (f363cae), closes #65

v4.2.1

27 May 16:17
a8b3f3b
Compare
Choose a tag to compare

4.2.1 (2021-05-27)

Bug Fixes

  • stop requiring url & make webpack possible again (#60) (a8b3f3b)

v4.2.0

02 Feb 09:34
Compare
Choose a tag to compare

4.2.0 (2021-02-02)

Bug Fixes

  • emit error on redirect response with no location (5de3107)
  • stop emitting any error after stream has ended (629832c)

Features

  • miniget now accepts a URL object as the first parameter (73695a8)

v4.1.0

24 Nov 05:25
Compare
Choose a tag to compare

Features

  • expose request object before sending (#54) (6c71fe2)

v4.0.0

21 Nov 08:33
Compare
Choose a tag to compare

Bug Fixes

  • fix sometimes encoded requests not ending properly (5d4d149)

BREAKING CHANGES

  • close is no longer emitted from the miniget stream.
    emitting close on a stream alters its internal state, and will prevent
    it from properly finishing. this event was also a bit ambiguous in
    miniget since it would only be emitted once at the end, and not for each
    request. in comparsion, request and response can be emitted multiple
    times.

v3.1.1

21 Nov 05:03
Compare
Choose a tag to compare

Bug Fixes

  • fix destroying stream in middle of decoding (e72c5f6)
  • fix sometimes making an extra request on redirects (37b7f5d)

v3.1.0

16 Nov 05:38
Compare
Choose a tag to compare

Features

  • expose statusCode in possible err (f2f76ee)

v3.0.0

13 Nov 17:41
Compare
Choose a tag to compare

Bug Fixes

  • fix write after destroy error (84f9c7d)

Features

  • add destroy() and destroyed, deprecate abort() (95fc69e)
  • document miniget.defaultOptions (c2d7614)

BREAKING CHANGES

  • abort() is deprecated with a warning, in favor of destroy(), to more
    closely align with node's http requests
  • miniget.Defaults -> miniget.defaultOptions

v2.1.0

03 Nov 13:45
Compare
Choose a tag to compare

Features

  • expose Defaults and MinigetError (4ff779d)
  • forward request and response events to miniget stream (82cff9b)