2229 Commits

Author SHA1 Message Date
HoneyryderChuck
a3ac1993e9 bumped version to 1.0.1 v1.0.1 2023-10-04 15:07:02 +01:00
HoneyryderChuck
5ca0dcdf8d Merge branch 'issue-249' into 'master'
bugfix: do not inflate empty chunks

Closes #249

See merge request os85/httpx!276
2023-10-04 14:06:31 +00:00
HoneyryderChuck
8a66233148 bugfix: do not inflate empty chunks
Closes #249
2023-10-04 14:56:01 +01:00
HoneyryderChuck
377abc84c7 bump version to 1.0.0 v1.0.0 2023-10-03 13:46:52 +01:00
HoneyryderChuck
ede4ccdf30 bumping timeout for webdav lock 2023-10-03 12:19:12 +01:00
HoneyryderChuck
7e06957cc2 using ghcr.io/graalvm/truffleruby-community namespace for truffleruby image 2023-10-03 10:57:29 +01:00
HoneyryderChuck
ad7da6edfa bumping http-2-next version 2023-10-03 10:53:50 +01:00
HoneyryderChuck
62868f64b3 Merge branch 'c-breaker' 2023-09-29 15:01:00 +01:00
HoneyryderChuck
09be632cd9 circuit breaker: use Enumerator#with_object, treat uris as strings to avoid allocation 2023-09-29 10:29:09 +01:00
HoneyryderChuck
803718108e protect circuit store access with a mutex
a session object may be used from different threads, we want the same rules to apply in such a case
2023-09-28 22:56:03 +01:00
HoneyryderChuck
f8020b9c10 bump version to 0.24.6 2023-09-28 12:40:04 +01:00
HoneyryderChuck
11210e3a23 Merge branch 'v1' into 'master'
circuit breaker improvs

See merge request os85/httpx!275
2023-09-28 11:32:22 +00:00
HoneyryderChuck
c48969996e fix for jruby returning empty string in alpn_protocol 2023-09-28 10:57:43 +01:00
HoneyryderChuck
c7ccc9eaf6 prepare for base64 being removed from default gems 2023-09-27 18:12:56 +01:00
HoneyryderChuck
e4869e1a4b circuit-breaker plugin. fix half-open decision to emit real request
the previous logic was relying on a random order which didn't work in practice; instead, one now reuses the max-attempts to define how many requests happen in the half-open state, and the drip rate defines how may of them will be real
2023-09-27 18:12:56 +01:00
HoneyryderChuck
dd84195db6 bump coverage by testing more edge cases
mime type detector using file, no idnx
2023-09-27 11:59:52 +01:00
HoneyryderChuck
d856ae81e0 added missing release notes 2023-09-27 11:59:52 +01:00
HoneyryderChuck
1494ba872a Merge branch 'v1' into 'master'
1.0.0

See merge request os85/httpx!270
2023-09-20 17:19:53 +00:00
HoneyryderChuck
685e6e4c7f allow multipart requests to accept tempfile
in fact, anything responding to .path, .eof?, .rewind and .read can be accepted
2023-09-20 17:57:41 +01:00
HoneyryderChuck
085cec0c8e improve coverage and simplified faraday adapter
and some other modules
2023-09-20 17:57:41 +01:00
HoneyryderChuck
288ac05508 fix: proxy plugin broke when processing a 305 use proxy redirect
the proxy plugin contained an enhancement, when used with the follow_redirects plugin, which retries a request over the received proxy. This contained a bug, which was now caught with the added test
2023-09-20 17:57:41 +01:00
HoneyryderChuck
c777aa779e test socks5 no auth methods error path 2023-09-20 17:57:41 +01:00
HoneyryderChuck
d55bfec80c fix: system resolv timeout raise ResolveTimeoutError instead of ResolveError 2023-09-20 17:57:41 +01:00
HoneyryderChuck
e88956a16f improving coverage of tests for proxy module 2023-09-20 17:57:41 +01:00
HoneyryderChuck
aab30279ac allow default errors catch up besides retry on 2023-09-20 17:57:41 +01:00
HoneyryderChuck
2f9247abfb use default HTTP/2 handshake strategy for grpc 2023-09-20 17:57:41 +01:00
HoneyryderChuck
0d58408c58 compression plugins for gzip and deflate supported by default
most of the code was moved to the transcoder layer.

The `compression_threshold_size` option has been removed.

The `:compression/brotli` plugin becomes only ´:brotli`, and depends on
the new transcoding APIs.

options to skip compression and decompression were added.
2023-09-20 17:57:41 +01:00
HoneyryderChuck
3f73d2e3ce multipart supported by default
the plugin was now moved to the transcoder layer, where it is available
from the get-go.
2023-09-20 17:57:41 +01:00
HoneyryderChuck
896914e189 lint change 2023-09-20 17:57:41 +01:00
HoneyryderChuck
4f587c5508 renaming authenticationn modules to just auth
* `:authentication` plugin becomes `:auth`
  * `authentication` helper becomes `authorization`
* `:basic_authentication` plugin becomes `:basic_auth`
  * `:basic_authentication` helper is removed
* `:digest_authentication` plugin becomes `:digest_auth`
  * `:digest_authentication` helper is removed
* `:ntlm_authentication` plugin becomes `:ntlm_auth`
  * `:ntlm_authentication` helper is removed
2023-09-20 17:57:41 +01:00
HoneyryderChuck
a9cb0a69a2 seting :read_timeout and :write_timeout by default 2023-09-20 17:57:41 +01:00
HoneyryderChuck
6baca35422 support has been removed 2023-09-20 17:57:41 +01:00
HoneyryderChuck
b4c5e75705 drop faraday adapter support for faraday lower than v1 2023-09-20 17:57:41 +01:00
HoneyryderChuck
d859c3a1eb remove support for older (< v1) versions of dddtrace in the datadog plugin 2023-09-20 17:57:41 +01:00
HoneyryderChuck
b7f5a3dfad adding release notes with latest updates 2023-09-20 17:57:41 +01:00
HoneyryderChuck
8cd1aac99c remove deprecated APIs 2023-09-20 17:57:39 +01:00
HoneyryderChuck
f0f6b5f7e2 removed punycode ruby implementation inherited from domain_name
it's IDNA 2003 compliant only, and people can already load idnx
optionally.
2023-09-20 17:57:05 +01:00
HoneyryderChuck
acbc22e79f test against jruby 9.4 2023-09-20 17:57:05 +01:00
HoneyryderChuck
134bef69e0 removed overrides and refinements of methods prior to 2.7 2023-09-20 17:57:05 +01:00
HoneyryderChuck
477c3601fc eliminated blocks testing for ruby < 2.7 2023-09-20 17:57:05 +01:00
HoneyryderChuck
f0dabb9a83 rearranged deps to adapt to the new constraints 2023-09-20 17:57:05 +01:00
HoneyryderChuck
7407adefb9 set min ruby gemspec constraint 2023-09-20 17:57:05 +01:00
HoneyryderChuck
91bfa84c12 removed ruby < 2.7 from CI 2023-09-20 17:57:05 +01:00
HoneyryderChuck
7473af6d9d removed punycode ruby implementation inherited from domain_name
it's IDNA 2003 compliant only, and people can already load idnx
optionally.
2023-09-20 17:57:05 +01:00
HoneyryderChuck
4292644870 Merge branch 'issue-247' into 'master'
fix Session class assertions not prepared for class overrides

Closes #247

See merge request os85/httpx!274
2023-09-19 16:07:08 +00:00
HoneyryderChuck
2e11ee5b32 fix Session class assertions not prepared for class overrides
Some plugins override the Session class, however there may be instances
of the original Session around, therefore the assertions need to somehow
point to the original Session class to stil be able to work.

Closes #247
2023-09-19 09:33:01 +01:00
HoneyryderChuck
0c8398b3db bumped version to 0.24.5 v0.24.5 2023-09-17 22:53:35 +01:00
HoneyryderChuck
52e738b586 Merge branch 'issue-246' into 'master'
fix bug in DoH impl when the request returned no answer

Closes #246

See merge request os85/httpx!273
2023-09-14 18:44:29 +00:00
HoneyryderChuck
c0afc295a5 fix bug in DoH impl when the request returned no answer (Closes #246) 2023-09-14 13:32:04 +01:00
HoneyryderChuck
ed7c56f12c
Merge branch 'test-for-no-sni-and-san-check' into 'master'
Test for no sni and san check

See merge request os85/httpx!272
2023-09-10 20:11:58 +00:00