0.13.1 (2017/8/18)
* Fixes an incompatibility with Addressable::URI being used as uri_parser
0.13.0 (2017/8/15)
* Dynamically reloads the proxy when performing a request on an absolute
domain (#701)
* Prefer #hostname over #host. (#714)
* Adapter support for Net::HTTP::Persistent v3.0.0 (#619)
* Fixes an edge-case issue with response headers parsing (missing HTTP header)
(#719)
0.12.2 (2017/07/21)
* 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 2017/04/21
* 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 2017/04/02
*Hotfix release to address an issue with TravisCI deploy on Rubygems
Faraday 0.12.0 2017/03/21
* Proxy feature now relies on Ruby URI::Generic#find_proxy and can use
no_proxy ENV variable (not compatible with ruby < 2.0)
* 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
* Adds support for context request option to pass arbitrary information to
middlewares
* Improvements in README.md
Faraday 0.9.2
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 Changelog
## v0.9.1
* Refactor Net:HTTP adapter so that with_net_http_connection can be overridden to allow pooled connections. (@Ben-M)
* Add configurable methods that bypass `retry_if` in the Retry request middleware. (@mike-bourgeous)
## v0.9.0
* Add HTTPClient adapter (@hakanensari)
* Improve Retry handler (@mislav)
* Remove autoloading by default (@technoweenie)
* Improve internal docs (@technoweenie, @mislav)
* Respect user/password in http proxy string (@mislav)
* Adapter options are structs. Reinforces consistent options across adapters
(@technoweenie)
* Stop stripping trailing / off base URLs in a Faraday::Connection. (@technoweenie)
* Add a configurable URI parser. (@technoweenie)
* Remove need to manually autoload when using the authorization header helpers on `Faraday::Connection`. (@technoweenie)
* `Faraday::Adapter::Test` respects the `Faraday::RequestOptions#params_encoder` option. (@technoweenie)
Faraday is an HTTP client lib that provides a common interface over many
adapters (such as Net::HTTP) and embraces the concept of Rack middleware when
processing the request/response cycle.