Skip to content

Commit 43db9a8

Browse files
committed
Release v1.6.0
1 parent ffe1aab commit 43db9a8

4 files changed

Lines changed: 21 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# Changelog
22

3+
## v1.6.0
4+
5+
### New features
6+
7+
* Add `:case_sensitive_headers` option to `Mint.HTTP1.connect/4`.
8+
* Add `:inet4` option to `Mint.HTTP.connect/4`.
9+
10+
### Bug fixes and improvements
11+
12+
* Require Elixir 1.11+.
13+
* Add `match_fun` clause to deal with IP addresses in TLS handshake.
14+
* Optimize creation of HTTP/2 requests.
15+
* Fix a compilation warning (unused `set_flag/2` function).
16+
* Improve performance of downcasing headers.
17+
* Deprecate `:read_write` option in `Mint.HTTP.open?/2`.
18+
* Improve performance of checking for the CAStore library.
19+
320
## v1.5.2
421

522
### Bug fixes and improvements

lib/mint/http.ex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,8 @@ defmodule Mint.HTTP do
296296
and may be overridden by the caller.
297297
298298
* `:inet4` - if set to `true` falls back to IPv4 if IPv6 connection fails.
299-
Defaults to `true` and may be overridden by the caller.
299+
Defaults to `true` and may be overridden by the caller. *Available since
300+
v1.6.0*.
300301
301302
Options for `:https` only:
302303

lib/mint/http1.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ defmodule Mint.HTTP1 do
122122
123123
* `:case_sensitive_headers` - (boolean) if set to `true` the case of the supplied
124124
headers in requests will be preserved. The default is to lowercase the headers
125-
because HTTP/1.1 header names are case-insensitive.
125+
because HTTP/1.1 header names are case-insensitive. *Available since v1.6.0*.
126126
127127
"""
128128
@spec connect(Types.scheme(), Types.address(), :inet.port_number(), keyword()) ::

mix.exs

Lines changed: 1 addition & 1 deletion
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.5.2"
4+
@version "1.6.0"
55
@repo_url "https://github.com/elixir-mint/mint"
66

77
def project do

0 commit comments

Comments
 (0)