diff --git a/doc/release_notes/0_5_1.md b/doc/release_notes/0_5_1.md new file mode 100644 index 00000000..6333a6e3 --- /dev/null +++ b/doc/release_notes/0_5_1.md @@ -0,0 +1,14 @@ +# 0.5.1 + +## Improvements + +* Fixed flakiness of test suite introduced in the 0.4 versions; +* compression plugin: + * do not send `accept-encoding` header when `range` is present; + * Remove from `content-encoding` if body stream decodes it; + * Added `HTTP::Response::Body#encodings` to return the decoded encoding(s); + +## Bugfixes + +* non-UTF-8 bodies weren't being properly handled, which led to a loop report (`slice` -> `byteslice`); +* connection reuse now also happens for requests with body (it was only working with `GET`s and other bodyless requests before); \ No newline at end of file diff --git a/lib/httpx/version.rb b/lib/httpx/version.rb index 9e2c2c45..d6731aa2 100644 --- a/lib/httpx/version.rb +++ b/lib/httpx/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module HTTPX - VERSION = "0.5.0" + VERSION = "0.5.1" end diff --git a/www/_data/versions.yml b/www/_data/versions.yml index f7dd08b4..b5d0caa5 100644 --- a/www/_data/versions.yml +++ b/www/_data/versions.yml @@ -1,4 +1,7 @@ - + - + name: "0.5.1" + path: "0_5_1_md.html" - name: "0.5.0" path: "0_5_0_md.html"