Skip to content

Releases: benoitc/hackney

hackney 0.13.0 has been released

08 Jul 21:28
Compare
Choose a tag to compare

hackney 0.13.0 has been released. This is a maintenance release with some fixes.

Changes

  • put hackney_lib back in the source code and refactor the source repository
  • fix: handle bad socks5 proxy response #113
  • fix: handle timeout in hackney_socks4:connect/5 #112
  • fix: Accept inet6 tcp option for ssl
  • fix: Accept inet6 tcp option for ssl
  • fix redirection
  • fix: add versions option for ssl

The full changelog is available here: 0.12.1...0.13.0

Hackney is also available as a source archive.

hackney 0.12.1 has been released.

18 Apr 14:38
Compare
Choose a tag to compare

hackney 0.12.1 has been released. This is a maintenance release with some fixes.

Changes

  • fix: return the full body on closed connections.
  • fix: make sure to always pass the Host header.

The full changelog is available here: 0.12.0...0.12.1

Hackney is also available as a source archive or via expm.

hackney 0.12.0 has been released.

18 Apr 08:48
Compare
Choose a tag to compare

hackney 0.12.0 has been released. This is a service release with some fixes and improvements.

Changes

  • improvement: URI encoding is now fully normalized.
  • improvement: TCP_NODELAY is now available by default for all transports
  • improvements: IDNA parsing is only done during the normalization which
    makes all the connections faster..
  • fix: connections options are now correctly passed to the transports.
  • fix: HTTP proxying. make sure we reuse the connection
  • fix: HTTP proxying, only resolve the proxy domain.
  • bump hackney_lib to to 0.3.0

Breaking changes:

The mimetypes has been replaced by the hackney_mimetypes module. It makes content-type detection a little more efficient. In the process the functions hackney_util:content_type/1 and hackney_bstr:content_type/1 has been removed. You should now use the function hackney_mimetypes:filename/1 .

The full changelog is available here: 0.11.2...0.12.0

Hackney is also available as a source archive or via expm.

hackney 0.11.2 has been released.

14 Apr 23:18
Compare
Choose a tag to compare

hackney 0.11.2 has been released. This is a maintenance release with some fixes and improvements.

Changes

  • new improved and more performant IDNA support
  • make sure the socket is closed when we skip the body if needed
  • fix multipart EOF parsing
  • make sure we finish a multipart stream
  • bump hackney_lib to 0.2.5
  • enable TCP_NODELAY by default. (To disable, pass the option {nodelay, false} toconnect_options`.

The full changelog is available here: 0.11.1...0.11.2

Hackney is also available as a source archive or via expm.

hackney 0.11.1 has been released.

03 Mar 13:10
Compare
Choose a tag to compare

hackney 0.11.0 has been released. This is a maintenance release with some fixes and improvements.

Changes

  • improvement: speed IDNA domains handing
  • fix http proxy via CONNECT
  • fix: encode the path
  • bump to hackney_lib 0.2.4

The full changelog is available here: 0.11.0...0.11.1

Hackney is also available as a source archive or via expm.

hackney 0.11.0 has been released

02 Mar 21:32
Compare
Choose a tag to compare

hackney 0.11.0 has been released. This is a maintenance release with some fixes and improvements.

Changes

  • add hackney:location/1 to get the final location
  • make hackney_request:send/2 more efficient
  • fix socket removing in the pool
  • fix HTTP proxying
  • support IDNA hostnames
  • bump to hackney_lib 0.2.3

The full changelog is available here: 0.10.1...0.11.0

Hackney is also available as a source archive or via expm.

hackney 0.10.1 has been released.

30 Dec 14:18
Compare
Choose a tag to compare

hackney 0.10.1 has been released. This is a maintenance release with some fixes and improvements.

Changes

  • fix multipart file header
  • improve the performance when sending a {multipart, Parts} body. Send
    it as a stream.
  • bump hackney_lib version to 0.2.2

The full changelog is available here: 0.10.0...0.10.1

Hackney is also available as a source archive or via expm.

hackney 0.10.0 has been released.

29 Dec 16:45
Compare
Choose a tag to compare

hackney 0.10.0 has been released. This is a service release with some fixes and improvements.

Changes

  • improve multipart handling: With this change, we can now calculate the
    full multipart stream content-length using hackney_multipart:len_mp_stream/2 .
  • add hackney:setopts/2 to set options to a request when reusing it.
  • add hackney:send_request/3 to pass new options to a request.
  • add the {stream_to, Pid} setting to a request to send the messages
    from an asynchronous response to another PID.
  • fix Host header: some server do not comply well with the spec and
    fail to parse the port when they are listening on 80 or 443. This
    change fix it.
  • fix: make sure we are re-using connections with asynchronous
    responses.

Breaking changes:

  • All messages from an async response are now under the
    format {hackney_response, Ref, ... } to distinct hackney messages
    from others in a process easily.
  • You can only make an async response at a time. Ie if you are are doing
    a persistent request (reusing the same reference) you will need to
    pass the async option again to the request. For that purpose the
    functions hackney:send_request/3 and hackney:setopts/2 have been
    added.
  • multipart messages have changed. See the documentation for more
    information.

The full changelog is available here: 0.9.1...0.10.0

Hackney is also available as a source archive or via expm.

hackney 0.9.1 has been released

20 Dec 10:18
Compare
Choose a tag to compare

hackney 0.9.1 has been released. This is a bug fix release.

Changes

  • fix response multipart processing

The full changelog is available here: 0.9.0...0.9.1

Hackney is also available as a source archive or via expm.

hackney 0.9.0 has been released

19 Dec 15:17
Compare
Choose a tag to compare

hackney 0.9.0 has been released. This is a service release with some fixes and improvements.

Changes

  • add support for multipart responses
  • add support for cookies: There is now a cookie
    option that can be passed to the request. It can be a sinle cookie or a
    list of cookies. To parse cookies from the response a function hackney:cookies/1 has
    been added. It return all the cookies as a list of [{Key, Value}].
  • breaking change: use hackney_lib a web toolkit to handle the HTTP protocol and other manipulations.
  • optimization: send body and headers together when it is possible
  • fix release handling

The full changelog is available here: 0.8.3...0.9.0

Hackney is also available as a source archive or via expm.