Skip to content

Commit 0bf602c

Browse files
committed
Release v1.7.0
1 parent eaa5d0a commit 0bf602c

File tree

2 files changed

+27
-18
lines changed

2 files changed

+27
-18
lines changed

CHANGELOG.md

+26-17
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,23 @@
11
# Changelog
22

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+
312
## v1.6.2
413

5-
### Bug fixes and improvements
14+
### Bug Fixes and Improvements
615

716
* Allow for version `~> 1.0` of the `hpax` dependency.
817

918
## v1.6.1
1019

11-
### Bug fixes and improvements
20+
### Bug Fixes and Improvements
1221

1322
* 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).
1423
* 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,7 +29,7 @@
2029
* Add `:case_sensitive_headers` option to `Mint.HTTP1.connect/4`.
2130
* Add `:inet4` option to `Mint.HTTP.connect/4`.
2231

23-
### Bug fixes and improvements
32+
### Bug Fixes and Improvements
2433

2534
* Require Elixir 1.11+.
2635
* Add `match_fun` clause to deal with IP addresses in TLS handshake.
@@ -32,14 +41,14 @@
3241

3342
## v1.5.2
3443

35-
### Bug fixes and improvements
44+
### Bug Fixes and Improvements
3645

3746
* Fix a memory leak with `Mint.HTTP1` connections which would stay open but
3847
report as closed on timeouts.
3948

4049
## v1.5.1
4150

42-
### Bug fixes and improvements
51+
### Bug Fixes and Improvements
4352

4453
* Fix a `FunctionClauseError` that would happen when calling
4554
`Mint.HTTP2.close/1` on an HTTP/2 connection that hadn't completed the
@@ -48,7 +57,7 @@
4857

4958
## v1.5.0
5059

51-
### Bug fixes and improvements
60+
### Bug Fixes and Improvements
5261

5362
* Properly close sockets on erroneous connections.
5463
* Fix `Mint.HTTP.is_connection_message/2` to support proxy connections.
@@ -63,7 +72,7 @@
6372

6473
## v1.4.2
6574

66-
### Bug fixes and improvements
75+
### Bug Fixes and Improvements
6776

6877
* Properly handle interim responses (informational `1xx` status codes) in
6978
HTTP/2. Now you might get zero or more sequences of `:status` and `:headers`
@@ -72,7 +81,7 @@
7281

7382
## v1.4.1
7483

75-
### Bug fixes and improvements
84+
### Bug Fixes and Improvements
7685

7786
* Emit the remaining buffer as a `:data` response when switching protocols
7887
from HTTP/1.
@@ -81,7 +90,7 @@
8190

8291
## v1.4.0
8392

84-
### Bug fixes and improvements
93+
### Bug Fixes and Improvements
8594

8695
* Add support for `SETTINGS_ENABLE_CONNECT_PROTOCOL` HTTP/2 server setting.
8796
* Omit the `:scheme` and `:path` pseudo headers for HTTP/2 CONNECT.
@@ -92,7 +101,7 @@
92101

93102
## v1.3.0
94103

95-
### Bug fixes and improvements
104+
### Bug Fixes and Improvements
96105

97106
* Improve compatibility with OTP 24.
98107
* Support HTTP/1 pipelining when streaming requests.
@@ -101,15 +110,15 @@
101110

102111
## v1.2.1
103112

104-
### Bug fixes and improvements
113+
### Bug Fixes and Improvements
105114

106115
* Fix a bug where we were not ignoring the return value of `:ssl.close/1` and `:gen_tcp.close/1`.
107116
* Fix a bug where we were not properly handling transport errors when doing ALPN protocol negotiation.
108117
* Fix a bug where we were not handling connection closed errors in a few places.
109118

110119
## v1.2.0
111120

112-
### Bug fixes and improvements
121+
### Bug Fixes and Improvements
113122

114123
* Fix a few bugs with passing the Mint connection around.
115124
* Add IPv6 support with `inet6: true` in the transport options.
@@ -118,7 +127,7 @@
118127

119128
## v1.1.0
120129

121-
### Bug fixes and improvements
130+
### Bug Fixes and Improvements
122131

123132
* Concatenate values in one `cookie` header if the `cookie` header is provided more than once in HTTP/2.
124133
* Fix headers merging in `Mint.UnsafeProxy`.
@@ -137,7 +146,7 @@
137146

138147
## v0.5.0
139148

140-
### Bug fixes and improvements
149+
### Bug Fixes and Improvements
141150

142151
* 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`.
143152
* Don't include port in the `authority` header if it's the default port for the used protocol.
@@ -147,7 +156,7 @@
147156

148157
## v0.4.0
149158

150-
### Bug fixes and improvements
159+
### Bug Fixes and Improvements
151160

152161
* Fix a small bug with double "wrapping" of some `Mint.TransportError`s.
153162
* Prevent unnecessary buffer allocations in the connections (less memory waste!).
@@ -161,7 +170,7 @@
161170

162171
* Remove `Mint.HTTP1.get_socket/1`, `Mint.HTTP2.get_socket/1`, and `Mint.HTTP.get_socket/1`.
163172

164-
### Bug fixes and improvements
173+
### Bug Fixes and Improvements
165174

166175
* Downcase all headers in HTTP/2 to mimic the behavior in HTTP/1.1.
167176

@@ -177,7 +186,7 @@
177186

178187
## v0.2.1
179188

180-
### Bug fixes and improvements
189+
### Bug Fixes and Improvements
181190

182191
* 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.
183192

mix.exs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
defmodule Mint.MixProject do
22
use Mix.Project
33

4-
@version "1.6.2"
4+
@version "1.7.0"
55
@repo_url "https://github.com/elixir-mint/mint"
66

77
def project do

0 commit comments

Comments
 (0)