Skip to content

Commit

Permalink
Release v1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
whatyouhide committed Apr 22, 2024
1 parent ffe1aab commit 43db9a8
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 3 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# Changelog

## v1.6.0

### New features

* Add `:case_sensitive_headers` option to `Mint.HTTP1.connect/4`.
* Add `:inet4` option to `Mint.HTTP.connect/4`.

### Bug fixes and improvements

* Require Elixir 1.11+.
* Add `match_fun` clause to deal with IP addresses in TLS handshake.
* Optimize creation of HTTP/2 requests.
* Fix a compilation warning (unused `set_flag/2` function).
* Improve performance of downcasing headers.
* Deprecate `:read_write` option in `Mint.HTTP.open?/2`.
* Improve performance of checking for the CAStore library.

## v1.5.2

### Bug fixes and improvements
Expand Down
3 changes: 2 additions & 1 deletion lib/mint/http.ex
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,8 @@ defmodule Mint.HTTP do
and may be overridden by the caller.
* `:inet4` - if set to `true` falls back to IPv4 if IPv6 connection fails.
Defaults to `true` and may be overridden by the caller.
Defaults to `true` and may be overridden by the caller. *Available since
v1.6.0*.
Options for `:https` only:
Expand Down
2 changes: 1 addition & 1 deletion lib/mint/http1.ex
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ defmodule Mint.HTTP1 do
* `:case_sensitive_headers` - (boolean) if set to `true` the case of the supplied
headers in requests will be preserved. The default is to lowercase the headers
because HTTP/1.1 header names are case-insensitive.
because HTTP/1.1 header names are case-insensitive. *Available since v1.6.0*.
"""
@spec connect(Types.scheme(), Types.address(), :inet.port_number(), keyword()) ::
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule Mint.MixProject do
use Mix.Project

@version "1.5.2"
@version "1.6.0"
@repo_url "https://github.com/elixir-mint/mint"

def project do
Expand Down

0 comments on commit 43db9a8

Please sign in to comment.