Skip to content

Releases: lostisland/faraday

v0.17.4

06 Feb 09:32
2f3a7da
Compare
Choose a tag to compare

Fixes

  • NetHttp adapter: wrap Errno::EADDRNOTAVAIL (#1114, @embs)
  • Fix === for subclasses of deprecated classes (#1243, @mervync)

v1.3.0

31 Dec 13:25
f68a821
Compare
Choose a tag to compare

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

  • Don't assign to global ::Timer (#1227, @bpo)

Documentation

Misc

v1.2.0

23 Dec 14:48
Compare
Choose a tag to compare

Features

  • Introduces on_request and on_complete methods in Faraday::Middleware. (#1194, @iMacTia)

Fixes

Documentation

  • Add comment in gemspec to explain exposure of examples and spec 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

17 Oct 10:59
571dc11
Compare
Choose a tag to compare

Features

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

v1.0.1

29 Mar 13:54
5547e91
Compare
Choose a tag to compare

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

  • Retry middleware documentation fix (#1109)
  • Docs(retry): precise usage of retry-after (#1111)
  • README: Link the logo to the website (#1112)
  • Website: add search bar (#1116)
  • Fix request/response mix-up in docs text (#1132)

v1.0.0

22 Jan 08:27
ff9dc1d
Compare
Choose a tag to compare

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

Misc

v0.17.3

31 Dec 23:20
Compare
Choose a tag to compare

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:

Misc:

Faraday v0.17.1

27 Nov 17:47
9865ebb
Compare
Choose a tag to compare

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:

  • Fix Ruby 2.7 warnings (#1009)
  • Add Faraday::Deprecate to warn about upcoming v1.0 changes. (#1054, #1059,
    #1076, #1077)
  • Add release notes up to current in CHANGELOG.md (#1066)
  • Port minimal rspec suite from main branch to run backported tests. (#1058)

Faraday v0.17.0

06 Oct 21:28
Compare
Choose a tag to compare

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

  • Include instructions for using custom middleware (#836)
  • Travis: add 2.6.0 to CI matrix, remove sudo: false (#839)
  • Explicitly require date for DateTime (#844)
  • README: Travis build badge for branch master (#849)

Faraday v0.16.2

29 Sep 09:21
Compare
Choose a tag to compare

Bugs: