Skip to content

Instantly share code, notes, and snippets.

@technoweenie
Last active December 10, 2015 09:29
Show Gist options
  • Save technoweenie/4414384 to your computer and use it in GitHub Desktop.
Save technoweenie/4414384 to your computer and use it in GitHub Desktop.
Faraday v0.9.0 Changelog

(incomplete)

https://github.com/technoweenie/faraday/compare/v0.8.4...master

  • Added Apache HTTPClient adapter. (@hakanensari)
  • Added Instrumentation middleware, which supports ActiveSupport::Notifications. (@mislav)
  • Fix EM::Synchrony options (@hakanensari)
  • Add Typhoeus bind options (@ezkl)
  • Excon fixes (@archfear)
  • Net/HTTP handles unreachable network exceptions (@ossareh)
  • Faraday returns bodies consistently as a string (@myronmarston)
  • Add configurable query parsing: nested or not. (@sqrrrl and @sporkmonger)
  • Test adapter lets you specify headers. (@kek)
  • Faraday::Builder is now Faraday::RackBuilder.
  • Autoload is removed. require 'faraday/autoload' instead of 'faraday' to enable the Monitor-powered solution (thread-safe). You can also use #load_middleware. e.g. Faraday::Request.load_middleware(:basic_auth)
  • Options are Structs. Raises exceptions on bad keys. You'll have to modify Faraday::Env to add the attribute accessors as necessary. See this Sawyer diff.
  • rake tasks are deprecated. Use script/*

Note: Only Typhoeus v0.3.x is supported. Typhoeus v0.4.x includes its own Faraday adapter to use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment