All Versions
41
Latest Version
Avg Release Cycle
76 days
Latest Release
1944 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v0.13.3
May 22, 2019 -
v0.13.2 Changes
- Eagerly initialize libCURL handle when creating the Session instance instead of initializing it lazily
- โ Remove special treatment of
Session#reset
and make it the same asSession#interrupt
-
v0.13.1
April 10, 2018 -
v0.13.0 Changes
- โฑ Permit timeouts to be set as a Float of seconds and use
CURLOPT_(CONNECT)TIMEOUT_MS
instead ofCURLOPT_(CONNECT)TIMEOUT
so that sub-second timeouts can be configured, which is useful for performant services using accelerated DNS resolution. - โ Remove the restriction that
Session#timeout
should be non-zero - a timeout set to 0 means "no timeout" in libCURL
- โฑ Permit timeouts to be set as a Float of seconds and use
-
v0.12.1 Changes
February 20, 2018- Ensure HTTP2 response headers/status lines are correctly handled
-
v0.12.0 Changes
February 05, 2018- ๐ Replace StringScanner in HeaderParser with StringIO, fix Webmock regression when the headers string would not have an empty CRLF-terminated line at the end - which would cause the parser to return a nil.
- Added
Session#dns_cache_timeout
as a config option for CURLOPT_DNS_CACHE_TIMEOUT
-
v0.11.1 Changes
January 30, 2018- ๐ Make sure StringScanner is available to HeaderParser.
-
v0.11.0 Changes
January 30, 2018- โ Added
Session#progress_callback
which accepts a callable object, which can be used to report session progress during request execution. - ๐ Fixed parsing of response headers when multiple responses are involved (redirect chains and HTTP proxies)
- โ Added
-
v0.10.0 Changes
October 04, 2017- Added
Session#low_speed_time
andSession#low_speed_limit
. When used, they will force libCURL to raise a timeout if a certain speed limit is not met performing the request. These can be used for better timeout handling. These are available in all libCURL versions. See https://curl.haxx.se/libcurl/c/CURLOPT_LOW_SPEED_TIME.html and https://curl.haxx.se/libcurl/c/CURLOPT_LOW_SPEED_LIMIT.html
- Added
-
v0.9.1 Changes
July 18, 2017- ๐ Added ssl_version options
TLSv1_1
,TLSv1_2
,TLSv1_3
for explicitly forcing the SSL version- requires the appropriate versions of libCURL and OpenSSL installed to support these new options
- reference: https://curl.haxx.se/libcurl/c/CURLOPT_SSLVERSION.html
- ๐ Added a new
:http_version
option withHTTPv1_1
andHTTPv2_0
values to explicitly set the HTTP version of HTTP/1.1 or HTTP/2.0- requires the appropriate versions of libCURL and OpenSSL installed to support these new options
- reference: https://curl.haxx.se/libcurl/c/CURLOPT_HTTP_VERSION.html
- ๐ Updates the gem release procedure for more convenience, using the updated Rubygems.org tasks
- ๐ Update a few minor dependencies and documentation to be Ruby 2.4.1-compatible, add 2.4.1. to Travis CI matrix
- Add
Session#download_byte_limit
for limiting the permitted download size. This can be very useful in dealing with untrusted download sources, which might attempt to send very large responses that would overwhelm the receiving client. - ๐ Add
Patron.libcurl_version_exact
which returns a triplet of major, minor and patch libCURL version numbers. This can be used for more fine-grained matching when using some more esoteric Curl features which might not necessarily be available on libCURL Patron has been linked against.
- ๐ Added ssl_version options