Releases: lostisland/faraday
v1.3.1
Fixes
- Escape colon in path segment (#1237, @yarafan)
- Handle IPv6 address String on Faraday::Connection#proxy_from_env (#1252, @cosmo0920)
Documentation
- Fix broken Rubydoc.info links (#1236, @nickcampbell18)
- Add httpx to list of external adapters (#1246, @HoneyryderChuck)
Misc
- Refactor CI to remove duplicated line (#1230, @tricknotes)
- Gemspec: Pick a good ruby2_keywords release (#1241, @olleolleolle)
v0.17.4
v1.3.0
Highlights
Faraday v1.3.0 is the first release to officially support Ruby 3.0 in the CI pipeline 🎉 🍾!
This is also the first release with a previously "included" adapter (Net::HTTP) being isolated into a separate gem 🎊!
The new adapter is added to Faraday as a dependency for now, so that means full backwards-compatibility, but just to be safe be careful when upgrading!
This is a huge step towards are Faraday v2.0 objective of pushing adapters and middleware into separate gems.
Many thanks to the Faraday Team, @JanDintel and everyone who attended the ROSS Conf remote event
Features
Fixes
Documentation
- CHANGELOG: add releases after 1.0 (#1225, @olleolleolle)
- Improves retry middleware documentation. (#1228, @iMacTia)
Misc
- Move out Net::HTTP adapter (#1222, @JanDintel, @iMacTia)
- Adds Ruby 3.0 to CI Matrix (#1226, @iMacTia)
v1.2.0
Features
Fixes
- Require 'date' to avoid retry exception (#1206, @rustygeldmacher)
- Fix rdebug recursion issue (#1205, @native-api)
- Update call to
em_http_ssl_patch
(#1202, @kylekeesling) EmHttp
adapter: drop superfluous loaded? check (#1213, @olleolleolle)- Avoid 1 use of keyword hackery (#1211, @grosser)
- Fix #1219
Net::HTTP
still uses env proxy (#1221, @iMacTia)
Documentation
- Add comment in gemspec to explain exposure of
examples
andspec
folders. (#1192, @iMacTia) - Adapters, how to create them (#1193, @olleolleolle)
- Update documentation on using the logger (#1196, @tijmenb)
- Adjust the retry documentation and spec to align with implementation (#1198, @nbeyer)
Misc
v1.1.0
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
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.0
Check out the Upgrading guide.
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)
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))