All Versions
Latest Version
Avg Release Cycle
76 days
Latest Release
1470 days ago

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 as Session#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 of CURLOPT_(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
  • 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)
  • v0.10.0 Changes

    October 04, 2017
  • v0.9.1 Changes

    July 18, 2017
    • ๐Ÿ”– Added ssl_version options TLSv1_1, TLSv1_2, TLSv1_3 for explicitly forcing the SSL version
    • ๐Ÿ”– Added a new :http_version option with HTTPv1_1 and HTTPv2_0 values to explicitly set the HTTP version of HTTP/1.1 or HTTP/2.0
    • ๐Ÿš€ Updates the gem release procedure for more convenience, using the updated 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.