bump version to 0.24.2

This commit is contained in:
HoneyryderChuck 2023-07-30 23:35:27 +01:00
parent 6ae05006c6
commit 892dd6d37f
2 changed files with 13 additions and 1 deletions

View File

@ -0,0 +1,12 @@
# 0.24.2
## Improvements
* besides an array, `:resolver_options` can now receive a hash for `:nameserver`, which **must** be indexed by IP family (`Socket::AF_INET6` or `Socket::AF_INET`); each group of nameservers will be used for emitting DNS queries of that iP family.
* `:authentication` plugin: Added `#bearer_auth` helper, which receives a token, and sets it as `"Bearer $TOKEN` in the `"authorization"` header.
* `faraday` adapter: now implements `#build_connection` and `#close`, will now interact with `faraday` native timeouts (`:read`, `:write` and `:connect`).
## Bugfixes
* fixed native resolver bug when queries involving intermediate alias would be kept after the original query and mess with re-queries.

View File

@ -1,5 +1,5 @@
# frozen_string_literal: true
module HTTPX
VERSION = "0.24.1"
VERSION = "0.24.2"
end