Skip to content

Releases: lostisland/faraday

Faraday 0.13.1

18 Aug 16:17
Compare
Choose a tag to compare
  • Fixes an incompatibility with Addressable::URI being used as uri_parser

Faraday 0.13.0

15 Aug 10:11
Compare
Choose a tag to compare

Features:

  • Dynamically reloads the proxy when performing a request on an absolute domain (#701)
  • Adapter support for Net::HTTP::Persistent v3.0.0 (#619)

Fixes:

  • Prefer #hostname over #host. (#714)
  • Fixes an edge-case issue with response headers parsing (missing HTTP header) (#719)

Faraday 0.12.2

21 Jul 12:02
Compare
Choose a tag to compare
  • Parse headers from aggregated proxy requests/responses (#681)
  • Guard against invalid middleware configuration with warning (#685)
  • Do not use :insecure option by default in Patron (#691)
  • Fixes an issue with HTTPClient not raising a Faraday::ConnectionFailed (#702)
  • Fixes YAML serialization/deserialization for Faraday::Utils::Headers (#690)
  • Fixes an issue with Options having a nil value (#694)
  • Fixes an issue with Faraday.default_connection not using Faraday.default_connection_options (#698)
  • Fixes an issue with Options.merge! and Faraday instrumentation middleware (#710)

Faraday 0.12.1

21 Apr 16:06
Compare
Choose a tag to compare
  • Fix an issue with Patron tests failing on jruby
  • Fix an issue with new rewind_files feature that was causing an exception when the body was not an Hash
  • Expose wrapped_exception in all client errors
  • Add Authentication Section to the ReadMe

Faraday 0.12.0.1

02 Apr 09:20
Compare
Choose a tag to compare
  • Hotfix release to address an issue with TravisCI deploy on Rubygems

Faraday 0.12.0

01 Apr 12:08
Compare
Choose a tag to compare

Features:

  • Proxy feature now relies on Ruby URI::Generic#find_proxy and can use no_proxy ENV variable (not compatible with ruby < 2.0)
  • Adds support for context request option to pass arbitrary information to middlewares

Fixes:

  • Fix an issue with options that was causing new options to override defaults ones unexpectedly
  • Rewind UploadIOs on retry to fix a compatibility issue
  • Make multipart boundary unique
  • Improvements in README.md

Faraday 0.11.0

13 Jan 15:08
Compare
Choose a tag to compare

Features:

  • Add filter method to Logger middleware
  • Add support for Ruby2.4 and Minitest 6
  • Introduce block syntax to customise the adapter

Fixes:

  • Fix an issue that was allowing to override default_connection_options from a connection instance
  • Fix a bug that was causing newline escape characters ("\n") to be used when building the Authorization header

Faraday 0.10.1

30 Dec 19:36
Compare
Choose a tag to compare
  • Fix an issue with HTTPClient adapter that was causing the SSL to be reset on every request
  • Rescue IOError instead of specific subclass
  • Faraday::Utils::Headers can now be successfully serialised in YAML
  • Handle default_connection_options set with hash

Faraday 0.10.0

11 Nov 11:27
Compare
Choose a tag to compare

Breaking changes:

  • Drop support for Ruby 1.8

Features:

  • Include wrapped exception/reponse in ClientErrors
  • Add response.reason_phrase
  • Provide option to selectively skip logging request/response headers
  • Add regex support for pattern matching in test adapter

Fixes:

  • Add Faraday.respond_to? to find methods managed by method_missing
  • em-http: request.host instead of connection.host should be taken for SSL validations
  • Allow default_connection_options to be merged when options are passed as url parameter
  • Improve splitting key-value pairs in raw HTTP headers

Faraday 0.8.11

07 Oct 15:07
Compare
Choose a tag to compare
  • Fix Faraday::Utils::Headers with regards to replacing and duping the internal key cache
  • Make excon adapter compatible with 0.44 excon version
  • Make sure the post request body doesn't get lost when retrying.
  • Copy request options in Faraday::Connection#dup
  • em-http: wrap "connection closed by server" as ConnectionFailed type