Changelog History
Page 1
-
v1.1.0
October 17, 2020๐ Features
- ๐ง Makes parameters sorting configurable (#1162 @wishdev)
- Introduces
flat_encode
option for multipart adapter. (#1163 @iMacTia) - ๐ Include request info in exceptions raised by RaiseError Middleware (#1181 @SandroDamilano)
๐ Fixes
- ๐ Avoid
last arg as keyword param
warning when building user middleware on Ruby 2.7 (#1153 @dgholz) - Limits net-http-persistent version to < 4.0 (#1156 @iMacTia)
- โก๏ธ Update
typhoeus
to new stable version (1.4
) (#1159 @AlexWayfer) - โ Properly fix test failure with Rack 2.1+. (#1171 @voxik)
๐ Documentation
- ๐ Improves documentation on how to contribute to the site by using Docker. (#1175 @iMacTia)
- ๐ Remove retry_change_requests from documentation (#1185 @stim371)
Misc
- ๐ Link from GitHub Actions badge to CI workflow (#1141 @olleolleolle)
- โ
Return tests of
Test
adapter (#1147 @AlexWayfer) - โ Add 1.0 release to wording in CONTRIBUTING (#1155 @olleolleolle)
- ๐ Fix linting bumping Rubocop to 0.90.0 (#1182 @iMacTia)
- โฌ๏ธ Drop
git ls-files
in gemspec (#1183 @utkarsh2102) - โฌ๏ธ Upgrade CI to ruby/setup-ruby (#1187 @gogainda)
-
v1.0.1
March 29, 2020๐ Fixes:
- ๐ Use Net::HTTP#start(&block) to ensure closed TCP connections (#1117)
- Fully qualify constants to be checked (#1122)
- ๐ Allows
parse
method to be private/protected in response middleware (#1123) - Encode Spaces in Query Strings as '%20' Instead of '+' (#1125)
- Limits rack to v2.0.x (#1127)
- Adapter Registry reads also use mutex (#1136)
๐ Documentation:
-
v1.0
๐ Features:
- โ Add #trace support to Faraday::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)
- โ Add support for setting
read_timeout
option separately #1003 (@springerigor) - โป๏ธ Refactor and cleanup timeout settings across adapters #1022 (@technoweenie)
- Create ParamPart class to allow multipart posts with JSON content and file upload at the same time #1017 (@jeremy-israel)
- Copy UploadIO const -> FilePart for consistency with ParamPart #1018, #1021 (@technoweenie)
- Implement streaming responses in the Excon adapter #1026 (@technoweenie)
- โ Add default implementation of
Middleware#close
. #1069 (@ioquatix) - โ Add
Adapter#close
so that derived classes can call super. #1091 (@ioquatix) - โ Add log_level option to logger default formatter #1079 (@amrrbakry)
- ๐ Fix empty array for FlatParamsEncoder
{key: []} -> "key="
#1084 (@mrexox)
๐ 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)
- ๐ Fix instances of frozen empty string literals #1040 (@BobbyMcWho)
- โ remove temp_proxy and improve proxy tests #1063 (@technoweenie)
- ๐ improve error initializer consistency #1095 (@technoweenie)
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)
- Rubocop #1044, #1047 (@BobbyMcWho, @olleolleolle)
- ๐ Documentation tweaks (@adsteel, @Hubro, @iMacTia, @olleolleolle, @technoweenie)
- โก๏ธ Update license year #981 (@Kevin-Kawai)
- ๐ณ Configure Jekyll plugin jekyll-remote-theme to support Docker usage #999 (@Lewiscowles1986)
- ๐ Fix Ruby 2.7 warnings #1009 (@tenderlove)
- Cleanup adapter connections #1023 (@technoweenie)
- Describe clearing cached stubs #1045 (@viraptor)
- โ Add project metadata to the gemspec #1046 (@orien)
-
v1.0-rc1
July 08, 2019โฌ๏ธ 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)
- โ Add
-
v0.17.3
December 31, 2019๐ 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)
-
v0.17.0
October 06, 2019๐ 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
-
v0.16.2
September 29, 2019๐ Bugs:
- ๐ Allow subclassing deprecated classes #1035 (@BobbyMcWho!)
-
v0.16.1
September 27, 2019๐ Bugs:
- โช Restore backwards compatibility layer for Faraday errors under the
Faraday::Error
module #1030 (@michaelherold)
- โช Restore backwards compatibility layer for Faraday errors under the
-
v0.16.0
September 27, 2019๐ 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)
- Create