Skip to content

Releases: lostisland/faraday

Faraday 0.9.2

06 Oct 16:43
Compare
Choose a tag to compare

Adapters:

  • Enable gzip compression for httpclient
  • Fixes default certificate store for httpclient not having default paths.
  • Make excon adapter compatible with 0.44 excon version
  • Add compatibility with Patron 0.4.20
  • Determine default port numbers in Net::HTTP adapters (Addressable compatibility)
  • em-http: wrap "connection closed by server" as ConnectionFailed type
  • Wrap Errno::ETIMEDOUT in Faraday::Error::TimeoutError

Utils:

  • Add Rack-compatible support for parsing a[][b]=c nested queries
  • Encode nil values in queries different than empty strings. Before: a=; now: a.
  • Have Faraday::Utils::Headers#replace clear internal key cache
  • Dup the internal key cache when a Headers hash is copied

Env and middleware:

  • Ensure env stored on middleware response has reference to the response
  • Ensure that Response properties are initialized during on_complete (VCR compatibility)
  • Copy request options in Faraday::Connection#dup
  • Env custom members should be copied by Env.from(env)
  • Honour per-request request.options.params_encoder
  • Fix interval_randomness data type for Retry middleware
  • Add maximum interval option for Retry middleware

Faraday 0.8.10

21 Aug 06:36
Compare
Choose a tag to compare
  • Fix compatibility with Addressable::URI and HTTPS default port number
  • Treat connection timeouts as connection failures in Net::HTTP adapter
  • Add compatibility with Patron 0.4.20+

v0.9.0

24 Jan 00:17
Compare
Choose a tag to compare
  • Add HTTPClient adapter (@hakanensari)
  • Improve Retry handler (@mislav, @timgaleckas)
  • Remove autoloading by default (@technoweenie)
  • Improve internal docs (@technoweenie, @mislav)
  • Better support for HTTP proxying. (@mislav)
  • Adapter options are structs. Reinforces consistent options across adapters (@technoweenie)
  • Stop stripping trailing / off base URLs in a Faraday::Connection.
  • Add a configurable URI parser.
  • Remove need to manually autoload when using the authorization header helpers on Faraday::Connection.
  • Faraday::Adapter::Test respects the Faraday::RequestOptions#params_encoder option.
  • Fix multipart content type values. (@lloydmeta)
  • Make Faraday::Options behave more like a hash. (@mislav, @benburkert, @sferik)

See the full changelog

v0.8.9

24 Jan 00:17
Compare
Choose a tag to compare

v0.9.0.rc6

09 Nov 15:53
Compare
Choose a tag to compare
v0.9.0.rc6 Pre-release
Pre-release
  • Fix multipart content type values. (@lloydmeta)
  • Better support for HTTP proxying. (@mislav)
  • Make Faraday::Options behave more like a hash. (@mislav, @benburkert)
  • Improved client cert configuration in Excon (@ehowe)
  • Retry middleware adds backoff/randomness. (@timgaleckas)

See the full changelog

Faraday v0.8.8

26 Jul 14:25
Compare
Choose a tag to compare

See the full changelog

v0.9.0.rc5

08 Nov 20:23
Compare
Choose a tag to compare
v0.9.0.rc5 Pre-release
Pre-release
  • Expose false values in Faraday::Options.

v0.9.0.rc4

08 Nov 20:22
Compare
Choose a tag to compare
v0.9.0.rc4 Pre-release
Pre-release
  • Teach Faraday::Options about #merge!

v0.9.0.rc3

13 May 20:42
Compare
Choose a tag to compare
v0.9.0.rc3 Pre-release
Pre-release
  • Remove need to manually autoload when using the authorization header helpers on Faraday::Connection.
  • Faraday::Adapter::Test respects the Faraday::RequestOptions#params_encoder option.

v0.9.0.rc2

13 May 19:38
Compare
Choose a tag to compare
v0.9.0.rc2 Pre-release
Pre-release
  • Stop stripping trailing / off base URLs in a Faraday::Connection.
  • Add a configurable URI parser.