diff --git a/doc/release_notes/0_24_2.md b/doc/release_notes/0_24_2.md new file mode 100644 index 00000000..8a375871 --- /dev/null +++ b/doc/release_notes/0_24_2.md @@ -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. \ No newline at end of file diff --git a/lib/httpx/version.rb b/lib/httpx/version.rb index 4cbfa473..70f90163 100644 --- a/lib/httpx/version.rb +++ b/lib/httpx/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module HTTPX - VERSION = "0.24.1" + VERSION = "0.24.2" end