Faraday v1.0 Release Notes

Release Date: 2020-01-22 // over 4 years ago
  • ๐Ÿ”‹ 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)