Releases: fent/node-miniget
Releases · fent/node-miniget
v4.2.3
4.2.3 (2023-06-23)
Bug Fixes
- always initialize
destroyArgs
(8ab07d6), closes #68
v4.2.2
4.2.2 (2022-01-09)
Bug Fixes
- fix compiling for @types/node@17 (f363cae), closes #65
v4.2.1
4.2.1 (2021-05-27)
Bug Fixes
- stop requiring url & make webpack possible again (#60) (a8b3f3b)
v4.2.0
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
Features
- expose request object before sending (#54) (6c71fe2)
v4.0.0
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
Bug Fixes
- fix destroying stream in middle of decoding (e72c5f6)
- fix sometimes making an extra request on redirects (37b7f5d)
v3.1.0
Features
- expose
statusCode
in possible err
(f2f76ee)
v3.0.0
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
Features
- expose
Defaults
and MinigetError
(4ff779d)
- forward request and response events to miniget stream (82cff9b)