Releases: lostisland/faraday
v0.17.3
This is the last release before v1.0! When you're ready to upgrade, run your app with FARADAY_DEPRECATE=warn
and check out the Upgrading guide.
Fixes:
- Reverts changes in error classes hierarchy. #1092 (@iMacTia)
- Fix Ruby 1.9 syntax errors and improve Error class testing #1094 (@BanzaiMan,
@mrexox, @technoweenie)
Misc:
- Stops using
&Proc.new
for block forwarding. #1083 (@olleolleolle) - Update CI to test against ruby 2.0-2.7 #1087, #1099 (@iMacTia, @olleolleolle,
@technoweenie) - require
FARADAY_DEPRECATE=warn
to show Faraday v1.0 deprecation warnings
#1098 (@technoweenie)
Faraday v0.17.1
Final release before Faraday v1.0, with important fixes for Ruby 2.7.
Fixes:
- RaiseError response middleware raises exception if HTTP client returns a nil
status. (#1042)
Misc:
Faraday v0.17.0
ATTENTION: This is a ROLLBACK RELEASE!
We apologise for the issues created by the v0.16.x release series, these were due to the Faraday team underestimating the latest changes applied to master since v0.15.4 (November 2018).
The v0.16.0 -> v0.16.2 releases will be removed from Rubygems and all changes contained in master will be released as v1.0.
v0.17.x will continue from where v0.15.4 left so it will not give any backwards-incompatible issues like the v0.16.x series did.
Extra Note: some gems using Faraday may keep a cache of request/responses data. We suggest you to clear any cache related to Faraday requests after upgrading to v0.17.0 (e.g. github-changelog-generator/github-changelog-generator#738 (comment))
Diff from v0.15.4
Faraday v0.16.2
Bugs:
- Allow subclassing deprecated classes #1035 (@BobbyMcWho!)
Faraday v0.16.1
Bugs:
- Restore backwards compatibility layer for Faraday errors under the
Faraday::Error
module #1030 (@michaelherold)
Faraday v0.16.0
This release also includes all the updates from RC-1.
Features:
- Create
ParamPart
class to allow multipart posts with JSON content and file upload at the same time #1017 (@jeremy-israel) - Rename
UploadIO
->FilePart
to be consistent withParamPart
class name. #1021 (@technoweenie)UploadIO
class name is preserved for backwards compatibility.
- Enable response body streaming in Excon. #1026 (@technoweenie)
Bugs:
- Fix
Faraday::Options#inspect
bug that appends to a frozen string. #995 (@technoweenie) - Fix Ruby 2.7 warnings about
Proc.new
without a block. #1009 (@tenderlove)
Misc:
- Fix website navigation links #995 (@iMacTia)
- Configure Jekyll plugin
jekyll-remote-theme
to support Docker usage. #999 (@Lewiscowles1986) - Include test/unit and rspec examples using the Faraday Test adapter. #1000 (@technoweenie)
- Update multipart docs to mention
ParamPart
class #1018 (@technoweenie)
Faraday 1.0-RC1
We're getting close to releasing v1.0, and would appreciate folks trying this in their applications. Check UPGRADING.md for any potential backwards compatibility issues between Faraday v0.15.4 and v1.0-RC1.
Features:
- Add
#trace
and#connect
support toFaraday::Connection
#861 (@technoweenie) - Add the log formatter that is easy to override and safe to inherit #889 (@prikha)
- Support standalone adapters #941 (@iMacTia)
- Introduce
Faraday::ConflictError
for 409 response code #979 (@lucasmoreno)
Bugs:
- Explicitly require
date
for DateTime library in Retry middleware #844 (@nickpresta) - Refactor Adapter as final endpoints #846 (@iMacTia)
- Separate Request and Response bodies in
Faraday::Env
#847 (@iMacTia) - Implement
Faraday::Connection#options
to make HTTP requests with the OPTIONS verb. #857 (@technoweenie) - Multipart: Drop Ruby 1.8 String behavior compat #892 (@olleolleolle)
- Fix Ruby warnings in
Faraday::Options.memoized
#962 (@technoweenie) - Allow setting min/max SSL version for a Net::HTTP::Persistent connection #972, #973 (@bdewater, @olleolleolle)
Misc:
- Convert minitest suite to RSpec #832 (@iMacTia, with help from @gaynetdinov, @Insti, @technoweenie)
- Major effort to update code to RuboCop standards. #854 (@olleolleolle, @iMacTia, @technoweenie, @htwroclau, @jherdman, @Drenmi, @Insti)
- Documentation tweaks (@adsteel, @Hubro, @iMacTia, @olleolleolle, @technoweenie)
- Update license year #981 (@Kevin-Kawai)
Faraday 0.15.4
- Expose
pool_size
as a option for the NetHttpPersistent adapter (#834)