|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## v1.7.0 |
| 4 | + |
| 5 | +### Bug Fixes and Improvements |
| 6 | + |
| 7 | + * Fix a bug with double-wrapping tunnel proxy errors. This only affected HTTP/1 connections using proxies when upgrade errors would happen—see [#438](https://github.com/elixir-mint/mint/issues/438). |
| 8 | + * Introduce `:skip_target_validation` option for HTTP/1.1 connections. |
| 9 | + * Add generic `:custom_error` to HTTP/2 frames. This can be returned by HTTP/2 servers in compliance with the HTTP/2 spec. Before, Mint would error out in such cases, while now it just returns the unaltered custom error code. |
| 10 | + * Fix compilation warning for the next Elixir release (1.19). |
| 11 | + |
3 | 12 | ## v1.6.2 |
4 | 13 |
|
5 | | -### Bug fixes and improvements |
| 14 | +### Bug Fixes and Improvements |
6 | 15 |
|
7 | 16 | * Allow for version `~> 1.0` of the `hpax` dependency. |
8 | 17 |
|
9 | 18 | ## v1.6.1 |
10 | 19 |
|
11 | | -### Bug fixes and improvements |
| 20 | +### Bug Fixes and Improvements |
12 | 21 |
|
13 | 22 | * Default to using Erlang certificate store (see [`public_key:cacerts_get/0`](https://www.erlang.org/doc/apps/public_key/public_key.html#cacerts_get-0) and friends) if available, instead of [CAStore](https://github.com/elixir-mint/castore). |
14 | 23 | * Don't send `RST_STREAM` frames in HTTP/2 if they are not needed (this is a network optimization, not visible to users of Mint). |
|
20 | 29 | * Add `:case_sensitive_headers` option to `Mint.HTTP1.connect/4`. |
21 | 30 | * Add `:inet4` option to `Mint.HTTP.connect/4`. |
22 | 31 |
|
23 | | -### Bug fixes and improvements |
| 32 | +### Bug Fixes and Improvements |
24 | 33 |
|
25 | 34 | * Require Elixir 1.11+. |
26 | 35 | * Add `match_fun` clause to deal with IP addresses in TLS handshake. |
|
32 | 41 |
|
33 | 42 | ## v1.5.2 |
34 | 43 |
|
35 | | -### Bug fixes and improvements |
| 44 | +### Bug Fixes and Improvements |
36 | 45 |
|
37 | 46 | * Fix a memory leak with `Mint.HTTP1` connections which would stay open but |
38 | 47 | report as closed on timeouts. |
39 | 48 |
|
40 | 49 | ## v1.5.1 |
41 | 50 |
|
42 | | -### Bug fixes and improvements |
| 51 | +### Bug Fixes and Improvements |
43 | 52 |
|
44 | 53 | * Fix a `FunctionClauseError` that would happen when calling |
45 | 54 | `Mint.HTTP2.close/1` on an HTTP/2 connection that hadn't completed the |
|
48 | 57 |
|
49 | 58 | ## v1.5.0 |
50 | 59 |
|
51 | | -### Bug fixes and improvements |
| 60 | +### Bug Fixes and Improvements |
52 | 61 |
|
53 | 62 | * Properly close sockets on erroneous connections. |
54 | 63 | * Fix `Mint.HTTP.is_connection_message/2` to support proxy connections. |
|
63 | 72 |
|
64 | 73 | ## v1.4.2 |
65 | 74 |
|
66 | | -### Bug fixes and improvements |
| 75 | +### Bug Fixes and Improvements |
67 | 76 |
|
68 | 77 | * Properly handle interim responses (informational `1xx` status codes) in |
69 | 78 | HTTP/2. Now you might get zero or more sequences of `:status` and `:headers` |
|
72 | 81 |
|
73 | 82 | ## v1.4.1 |
74 | 83 |
|
75 | | -### Bug fixes and improvements |
| 84 | +### Bug Fixes and Improvements |
76 | 85 |
|
77 | 86 | * Emit the remaining buffer as a `:data` response when switching protocols |
78 | 87 | from HTTP/1. |
|
81 | 90 |
|
82 | 91 | ## v1.4.0 |
83 | 92 |
|
84 | | -### Bug fixes and improvements |
| 93 | +### Bug Fixes and Improvements |
85 | 94 |
|
86 | 95 | * Add support for `SETTINGS_ENABLE_CONNECT_PROTOCOL` HTTP/2 server setting. |
87 | 96 | * Omit the `:scheme` and `:path` pseudo headers for HTTP/2 CONNECT. |
|
92 | 101 |
|
93 | 102 | ## v1.3.0 |
94 | 103 |
|
95 | | -### Bug fixes and improvements |
| 104 | +### Bug Fixes and Improvements |
96 | 105 |
|
97 | 106 | * Improve compatibility with OTP 24. |
98 | 107 | * Support HTTP/1 pipelining when streaming requests. |
|
101 | 110 |
|
102 | 111 | ## v1.2.1 |
103 | 112 |
|
104 | | -### Bug fixes and improvements |
| 113 | +### Bug Fixes and Improvements |
105 | 114 |
|
106 | 115 | * Fix a bug where we were not ignoring the return value of `:ssl.close/1` and `:gen_tcp.close/1`. |
107 | 116 | * Fix a bug where we were not properly handling transport errors when doing ALPN protocol negotiation. |
108 | 117 | * Fix a bug where we were not handling connection closed errors in a few places. |
109 | 118 |
|
110 | 119 | ## v1.2.0 |
111 | 120 |
|
112 | | -### Bug fixes and improvements |
| 121 | +### Bug Fixes and Improvements |
113 | 122 |
|
114 | 123 | * Fix a few bugs with passing the Mint connection around. |
115 | 124 | * Add IPv6 support with `inet6: true` in the transport options. |
|
118 | 127 |
|
119 | 128 | ## v1.1.0 |
120 | 129 |
|
121 | | -### Bug fixes and improvements |
| 130 | +### Bug Fixes and Improvements |
122 | 131 |
|
123 | 132 | * Concatenate values in one `cookie` header if the `cookie` header is provided more than once in HTTP/2. |
124 | 133 | * Fix headers merging in `Mint.UnsafeProxy`. |
|
137 | 146 |
|
138 | 147 | ## v0.5.0 |
139 | 148 |
|
140 | | -### Bug fixes and improvements |
| 149 | +### Bug Fixes and Improvements |
141 | 150 |
|
142 | 151 | * 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`. |
143 | 152 | * Don't include port in the `authority` header if it's the default port for the used protocol. |
|
147 | 156 |
|
148 | 157 | ## v0.4.0 |
149 | 158 |
|
150 | | -### Bug fixes and improvements |
| 159 | +### Bug Fixes and Improvements |
151 | 160 |
|
152 | 161 | * Fix a small bug with double "wrapping" of some `Mint.TransportError`s. |
153 | 162 | * Prevent unnecessary buffer allocations in the connections (less memory waste!). |
|
161 | 170 |
|
162 | 171 | * Remove `Mint.HTTP1.get_socket/1`, `Mint.HTTP2.get_socket/1`, and `Mint.HTTP.get_socket/1`. |
163 | 172 |
|
164 | | -### Bug fixes and improvements |
| 173 | +### Bug Fixes and Improvements |
165 | 174 |
|
166 | 175 | * Downcase all headers in HTTP/2 to mimic the behavior in HTTP/1.1. |
167 | 176 |
|
|
177 | 186 |
|
178 | 187 | ## v0.2.1 |
179 | 188 |
|
180 | | -### Bug fixes and improvements |
| 189 | +### Bug Fixes and Improvements |
181 | 190 |
|
182 | 191 | * Fix a bug with requests exceeding the window size in HTTP/2. We were sending the headers of a request even if the body was larger than the window size. Now, if the body is larger than the window size, we error out right away. |
183 | 192 |
|
|
0 commit comments