All Versions
13
Latest Version
Avg Release Cycle
40 days
Latest Release
-

Changelog History
Page 1

  • v1.4.1 Changes

    ๐Ÿ› Bug fixes and improvements

    • Emit the remaining buffer as :data when switching protocols from HTTP/1.
    • Respect closed-for-writing when streaming data frames in HTTP/2.
    • Fix handling of HTTP/2 frames of an unknonw type.
  • v1.4.0 Changes

    ๐Ÿ› Bug fixes and improvements

    • Add support for SETTINGS_ENABLE_CONNECT_PROTOCOL HTTP/2 server setting.
    • Omit the :scheme and :path pseudo headers for HTTP/2 CONNECT.
    • Fix invalid conn state when data can't be sent.
    • Skip expired certs in partial chain hook.
    • Add Mint.HTTP.get_proxy_headers/1.
    • Add Mint.HTTP.module/1.
  • v1.3.0 Changes

    ๐Ÿ› Bug fixes and improvements

    • Improve compatability with OTP 24.
    • Support HTTP/1 pipelining when streaming requests.
    • Add Mint.HTTP.get_socket/1 for returning the connection socket.
    • Improve compatability with TLS 1.3.
  • v1.2.1 Changes

    ๐Ÿ› Bug fixes and improvements

    • Fix a bug where we were not ignoring the return value of :ssl.close/1 and :gen_tcp.close/1.
    • Fix a bug where we were not properly handling transport errors when doing ALPN protocol negotiation.
    • Fix a bug where we were not handling connection closed errors in a few places.
  • v1.2.0 Changes

    ๐Ÿ› Bug fixes and improvements

    • Fix a few bugs with passing the Mint connection around.
    • Add IPv6 support with inet6: true in the transport options.
    • Cache the :cacertfile option for faster certificate lookup and decoding.
    • Add TLS 1.3 to default versions.
  • v1.1.0 Changes

    ๐Ÿ› Bug fixes and improvements

    • Concatenate values in one cookie header if the cookie header is provided more than once in HTTP/2.
    • Fix headers merging in Mint.UnsafeProxy.
    • Remove some Logger.debug/1 calls from the codebase.
    • Assume the HTTP/2 protocol on TCP connections if using Mint.HTTP2.
    • Fix a bug where we would send WINDOW_UPDATE frames with an increment of 0 in HTTP/2.
    • Make the empty body chunk a no-op for Mint.HTTP.stream_request_body/3 (only for HTTP/1).
    • Add the Mint.HTTP.is_connection_message/2 guard.
    • Fix wildcard certificate verification in OTP 23.
  • v1.0.0 Changes

    October 28, 2019

    ๐Ÿ’ฅ Breaking changes

    • Remove the deprecated Mint.HTTP.request/4, Mint.HTTP1.request/4, and Mint.HTTP2.request/4.
  • v0.5.0 Changes

    October 28, 2019

    ๐Ÿ› Bug fixes and improvements

    • Deprecate Mint.HTTP.request/4 in favor of explicitly passing the body every time in Mint.HTTP.request/5. Same for Mint.HTTP1 and Mint.HTTP2.
    • Don't include port in the authority header if it's the default port for the used protocol.
    • Add a default content-length header in HTTP/2
    • Allow passing headers to proxies with the :proxy_headers option.
    • Fix a bug with HTTP/1 chunking.
  • v0.4.0 Changes

    July 17, 2019

    ๐Ÿ› Bug fixes and improvements

    • Fix a small bug with double "wrapping" of some Mint.TransportErrors.
    • Prevent unnecessary buffer allocations in the connections (less memory waste!).
    • Add support for chunked transfer-encoding in HTTP/1 requests when you don't use content-encoding/transfer-encoding yourself.
    • Add support for trailing headers in HTTP/* requests through stream_request_body/3.
    • Add a page about decompressing responses in the guides.
  • v0.3.0 Changes

    ๐Ÿ’ฅ Breaking changes

    • Remove Mint.HTTP1.get_socket/1, Mint.HTTP2.get_socket/1, and Mint.HTTP.get_socket/1.

    ๐Ÿ› Bug fixes and improvements

    • Downcase all headers in HTTP/2 to mimic the behavior in HTTP/1.1.

    • Add Mint.HTTP.set_mode/2, Mint.HTTP1.set_mode/2, and Mint.HTTP2.set_mode/2 to change the mode of a socket between active and passive.

    • Add a :mode option to the connect/4 functions to start the socket in active or passive mode.

    • Add Mint.HTTP.recv/3, Mint.HTTP1.recv/3, and Mint.HTTP2.recv/3 to receive data from a passive socket in a blocking way.

    • Add Mint.HTTP.controlling_process/2, Mint.HTTP1.controlling_process/2, and Mint.HTTP2.controlling_process/2 to change the controlling process of a connection.

    • Support trailing response headers in HTTP/2 connections.