Skip to content

Releases: lostisland/faraday_middleware

v1.2.0

14 Oct 07:40
61b1422
Compare
Choose a tag to compare

What's Changed

  • Allow users to define its own set of Cacheable Status Code when using Faraday Middleware Cache by @Physium in #275

New Contributors

Full Changelog: v1.1.0...v1.2.0

v1.1.0

31 Jul 09:42
ddbde92
Compare
Choose a tag to compare

Features

  • Use wrapped exception in Faraday::ParsingError to improve legibility of the error (#255, @d-m-u)

Bugs fixed

  • Use JSON.generate instead of .dump in request middleware (#266, @Be-ngt-oH)

Chores and misc

v1.0.0

29 Mar 10:15
243239f
Compare
Choose a tag to compare

This is FaradayMiddleware 1.0 official release 🎉!

This release officially supports Faraday 1.0.
It contains all changes included in the 1.0.0.rc1 release, plus:

  • Increase minimum rake version to 12.3.3 for security reasons

Special thanks to contributors who helped us push this over the line:
@BobbyMcWho, @onk and @d-m-u

v1.0.0.rc1

28 Feb 09:41
Compare
Choose a tag to compare
v1.0.0.rc1 Pre-release
Pre-release

This is a prerelease. See #200 for details on the shipping plans for 1.0.0.

Changes

  • Support Ruby 2.3+.
  • Drop support for Faraday v0.7

Bugs fixed

  • #198 Autoload an exception class correctly

Chores and misc

  • Lint the codebase with RuboCop
  • Closed the Wiki and turned it into Markdown files in docs/

v0.14.0

10 Jan 18:15
26ba44e
Compare
Choose a tag to compare

NOTE: This is the last minor release in the v0.x series, next release will be 1.0 to match Faraday v1.0 release and from then on only fixes will be applied to v0.14.x!

  • Fix support for empty bodies having Content-Encoding Gzip (#192)
  • RSpec: disable_monkey_patching (#191)
  • Add ResponseMiddleware.define_parser unit test (#190)
  • Use full URL (url.host + url.request_uri) as cache key (#195)

v0.13.1

04 Feb 12:33
3a5ae59
Compare
Choose a tag to compare
  • Clear Authorization header when redirecting cross-site (#183)
  • Brotli is an optional dependency for Gzip (#186)

v0.13.0

22 Jan 11:00
b0fbe00
Compare
Choose a tag to compare
  • Adds support for Brotli decompression of responses (#134)
  • Adds support for JSON 2 (#169)
  • Hash request URIs before using them as a cache key (#181)
  • Remove Addressable::URI query hack (#184)

v0.12.2

03 Aug 15:40
Compare
Choose a tag to compare
  • Fixes race condition issue with rubygems.org

v0.12.1

03 Aug 10:23
Compare
Choose a tag to compare
  • Fixes support for Oj < 3.3.3 (#163)
  • Adds support for parser_options on MultiXML and SafeYAML parsers

v0.12.0

28 Jul 10:35
Compare
Choose a tag to compare
  • Replace rash with rash_alt (#136)
  • Allow write_options to be specified for FaradayMiddleware::Caching (#155)
  • Add support for passing options to JSON.parse (#156)
  • Parse YAML safely (#157)
  • Handle responses with missing Location header (#159)
  • Removes support for ruby < 1.9.3 (#162)