Faraday 0.11.0

@iMacTia iMacTia released this Jan 13, 2017 · 2 commits to master since this release

  • 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
  • Add filter method to Logger middleware
  • Add support for Ruby2.4 and Minitest 6
  • Introduce block syntax to customise the adapter

Downloads

Faraday 0.10.1

@iMacTia iMacTia released this Dec 29, 2016 · 8 commits to master since this release

  • 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

Downloads

Faraday 0.10.0

@iMacTia iMacTia released this Nov 11, 2016 · 18 commits to master since this release

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

Downloads

Faraday 0.8.11

@mislav mislav released this Oct 7, 2015 · 526 commits to master since this release

  • 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

Downloads

Faraday 0.9.2

@mislav mislav released this Oct 6, 2015 · 63 commits to master since this release

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

Downloads

Faraday 0.8.10

@mislav mislav released this Aug 21, 2015 · 526 commits to master since this release

  • 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+

Downloads

v0.9.0

@technoweenie technoweenie released this Jan 16, 2014 · 194 commits to master since this release

  • 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 ⭐️

Downloads

v0.8.9

@technoweenie technoweenie released this Jan 10, 2014 · 526 commits to master since this release

Downloads