Skip to content

Releases: tomas/needle

v1.4.2

25 Nov 19:08
Compare
Choose a tag to compare
  • Allow setting proxy via defaults (#194).

v1.4.1

25 Nov 19:07
Compare
Choose a tag to compare

Just some cleanup and a haircut.

v1.4.0

25 Nov 19:06
Compare
Choose a tag to compare
  • If output is requested, make sure callback is called after the file written to is closed. (#193)
  • Added err and timeout events to output stream object.

v1.3.0

25 Oct 01:38
Compare
Choose a tag to compare

v1.1.0

08 Aug 20:42
Compare
Choose a tag to compare
  • Convert all headers to lowercase when reading and setting. Fixes #167.
  • Ensure request URLs are urlencoded. Fixes #171.
  • Fixed parse_response behaviour when set via defaults. Fixes #169.
  • Handle japanese/chinese chars correctly when building multipart bodies. Fixes #97.
  • Handle and bubble up error events that occur at decompressor level (#172).
  • Fixed open file descriptor bug (#181) when using output option.

v1.0.0

24 Feb 00:40
Compare
Choose a tag to compare
  • Removed Connection: close header by default, unless running node < 0.11.4. This should make multiple requests to a server run much faster. More info about this on the readme.
  • Improved the way post bodies can be set through parameters. Nothing breaking though.
  • Ensure socket 'end' listener is removed, otherwise we might get 'possible event emitter leak' as those sockets get reused. This fixes the issue reported on #126, where posting huge strings would break Needle.
  • Added support for checkServerIdentity option for TLS.

v0.11.0

05 Nov 23:22
Compare
Choose a tag to compare
  • Added rdf+xml to the list of parseable XML content types. Fixes #136
  • Added .patch() method.
  • Fix writing to output file. Closes #140
  • Added 'header' event to stream response, that includes both statusCode and headers.
  • Changed JSON.parse() to require() in needle.js, allowing needle to run with browserify.

v0.10.0

09 Jul 00:29
Compare
Choose a tag to compare
  • Allow setting parse/parse_response option to 'xml' or 'json' in order to skip parsing unwanted types.
  • Better handling of URLs with no protocol. needle.post('//foobar.com') should work now.

v0.9.2

16 Apr 17:52
Compare
Choose a tag to compare
  • New cookie parsing strategy (based on RFC 6265), thanks to the work by @JORGEAGUIRRE.

v0.9.1

16 Apr 17:50
Compare
Choose a tag to compare
  • Fixed Host header name in redirects.
  • More informative message on querystring errors.
  • Fix for follow_set_cookies when no cookies are received (#121).