Skip to content

v2.17.3

Choose a tag to compare

@rubiii rubiii released this 23 Jun 17:33
· 26 commits to main since this release

Fix Savon::HTTPError compatibility with Faraday transport

Fixed

  • Savon::HTTPError works with the Faraday transport (#1050). When a the WSDL could not be fetched under transport: :faraday, Savon::HTTPError#to_s and #to_hash raised NoMethodError: undefined method 'code' because they were handed a raw Faraday::Response, which exposes #status rather than #code. Transports now normalize adapter-specific response objects into Savon::Transport::Response before they reach Savon::HTTPError.

Changelog: https://github.com/savonrb/savon/blob/main/CHANGELOG.md
Commits: v2.17.2...v2.17.3