From 7ed7eec2dc9f40945651fa3ac06452e44d271aaf Mon Sep 17 00:00:00 2001 From: HoneyryderChuck Date: Wed, 21 Dec 2022 20:34:13 +0000 Subject: [PATCH] bumped version to 0.22.0 --- doc/release_notes/0_22_0.md | 13 +++++++++++++ lib/httpx/version.rb | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 doc/release_notes/0_22_0.md diff --git a/doc/release_notes/0_22_0.md b/doc/release_notes/0_22_0.md new file mode 100644 index 00000000..37023212 --- /dev/null +++ b/doc/release_notes/0_22_0.md @@ -0,0 +1,13 @@ +# 0.22.0 + +## Improvements + +### Happy Eyeballs v2 finalized + +Until now, httpx was issuing concurrent DNS requests, but it'd only start connecting to the first, and then on the following by the right order, but sequentially. + +`httpx` will now establish connections concurrently to both IPv6 and IPv4 addresses of a given domain; the first one to succeed terminates the other. Successful connection means completion of both TCP and TLS (when applicable) handshakes. + +### HTTPX::Response::Body#encoding + +A new method, `#encoding`, can be called on response bodies. It'll return the encoding of the response payload. diff --git a/lib/httpx/version.rb b/lib/httpx/version.rb index cae06bb4..e014c730 100644 --- a/lib/httpx/version.rb +++ b/lib/httpx/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module HTTPX - VERSION = "0.21.1" + VERSION = "0.22.0" end