mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-04 00:00:37 -04:00
bumped version to 0.19.4
This commit is contained in:
parent
f01b543d79
commit
35d9c15f44
@ -25,7 +25,6 @@ AllCops:
|
||||
- 'lib/httpx/extensions.rb'
|
||||
- 'lib/httpx/punycode.rb'
|
||||
# Do not lint ffi block, for openssl parity
|
||||
- 'lib/httpx/io/tls/*.rb'
|
||||
- 'test/extensions/response_pattern_match.rb'
|
||||
|
||||
Metrics/ClassLength:
|
||||
|
@ -3,11 +3,9 @@ SimpleCov.start do
|
||||
add_filter "/.bundle/"
|
||||
add_filter "/vendor/"
|
||||
add_filter "/test/"
|
||||
add_filter "/integrations/"
|
||||
add_filter "/integration_tests/"
|
||||
add_filter "/regression_tests/"
|
||||
add_filter "/lib/httpx/extensions.rb"
|
||||
add_filter "/lib/httpx/plugins/internal_telemetry.rb"
|
||||
add_filter "/lib/httpx/io/tls/"
|
||||
add_filter "/lib/httpx/io/tls.rb"
|
||||
add_filter "/lib/httpx/punycode.rb"
|
||||
end
|
||||
|
13
doc/release_notes/0_19_4.md
Normal file
13
doc/release_notes/0_19_4.md
Normal file
@ -0,0 +1,13 @@
|
||||
# 0.19.3
|
||||
|
||||
## Improvements
|
||||
|
||||
### Jruby: HTTP/2 with jruby-openssl (>= 0.12.2)
|
||||
|
||||
The (optional) FFI-based TLS module for jruby was deleted. Besides it being cumbersome and hard to maintain, `jruby`'s own `openssl` released support for ALPN negotiation (in v0.12.2), which solves the problem the deleted module was supposed to address.
|
||||
|
||||
## Bugfixes
|
||||
|
||||
* `webmock` integration was fixed to take the mocked URI query string into account.
|
||||
* fix internal codepath where mergeable-but-not-coalescable connections were still triggering the coalesce branch.
|
||||
* fixed after-use mutation of connection addresses array which was making it empty after initial usage.
|
@ -1,5 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module HTTPX
|
||||
VERSION = "0.19.3"
|
||||
VERSION = "0.19.4"
|
||||
end
|
||||
|
@ -2,30 +2,28 @@
|
||||
|
||||
module Requests
|
||||
module IO
|
||||
unless defined?(HTTPX::TLS)
|
||||
using HTTPX::URIExtensions
|
||||
using HTTPX::URIExtensions
|
||||
|
||||
def test_http_io
|
||||
io = origin_io
|
||||
uri = build_uri("/get")
|
||||
response = HTTPX.get(uri, io: io)
|
||||
verify_status(response, 200)
|
||||
verify_body_length(response)
|
||||
assert !io.closed?, "io should have been left open"
|
||||
ensure
|
||||
io.close if io
|
||||
end
|
||||
def test_http_io
|
||||
io = origin_io
|
||||
uri = build_uri("/get")
|
||||
response = HTTPX.get(uri, io: io)
|
||||
verify_status(response, 200)
|
||||
verify_body_length(response)
|
||||
assert !io.closed?, "io should have been left open"
|
||||
ensure
|
||||
io.close if io
|
||||
end
|
||||
|
||||
def test_http_io_hash
|
||||
io = origin_io
|
||||
uri = build_uri("/get")
|
||||
response = HTTPX.get(uri, io: { URI(origin).authority => io })
|
||||
verify_status(response, 200)
|
||||
verify_body_length(response)
|
||||
assert !io.closed?, "io should have been left open"
|
||||
ensure
|
||||
io.close if io
|
||||
end
|
||||
def test_http_io_hash
|
||||
io = origin_io
|
||||
uri = build_uri("/get")
|
||||
response = HTTPX.get(uri, io: { URI(origin).authority => io })
|
||||
verify_status(response, 200)
|
||||
verify_body_length(response)
|
||||
assert !io.closed?, "io should have been left open"
|
||||
ensure
|
||||
io.close if io
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -1,4 +1,7 @@
|
||||
-
|
||||
-
|
||||
name: "0.19.4"
|
||||
path: "0_19_4_md.html"
|
||||
-
|
||||
name: "0.19.3"
|
||||
path: "0_19_3_md.html"
|
||||
|
Loading…
x
Reference in New Issue
Block a user