Faraday v1.3.0 Release Notes

Release Date: 2020-12-31 // 10 months ago
  • 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

    • ๐Ÿ‘Œ Improves consistency with Faraday::Error and Faraday::RaiseError (#1229, @qsona, @iMacTia)

    ๐Ÿ›  Fixes

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

    ๐Ÿ“š Documentation

    • ๐Ÿš€ CHANGELOG: add releases after 1.0 (#1225, @olleolleolle)
    • ๐Ÿ‘Œ Improves retry middleware documentation. (#1228, @iMacTia)


    • ๐Ÿšš Move out Net::HTTP adapter (#1222, @JanDintel, @iMacTia)
    • โž• Adds Ruby 3.0 to CI Matrix (#1226, @iMacTia)

Previous changes from v1.2.0

  • ๐Ÿ”‹ Features

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

    ๐Ÿ›  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 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)


    • โœ… Test against ruby head (#1208, @grosser)