Recent Releases of https://github.com/savonrb/savon
https://github.com/savonrb/savon - v2.17.1
- Fix: https://github.com/savonrb/savon/pull/1008 - The HTTPI and Faraday transports no longer set an explicit Content-Length request header. The underlying HTTP library already computes it from the body; sending it as well produced a duplicate header on adapters that do not deduplicate (e.g. httpclient), which some servers reject.
- Fix: Requests using attachments were sent with a plain text/xml Content-Type instead of multipart/related. The 2.17.0 transport refactor assembled the request headers before the multipart body was built, leaving Builder#multipart empty at header time, so servers received a multipart body labelled as plain XML. 2.16.x and earlier are unaffected.
Changelog: https://github.com/savonrb/savon/blob/main/CHANGELOG.md
Commits: https://github.com/savonrb/savon/compare/v2.17.0...v2.17.1
- Ruby
Published by rubiii 26 days ago
https://github.com/savonrb/savon - v2.17.0
Add opt-in Faraday transport
Callers who set transport: :faraday get a memoized Faraday::Connection via client.faraday and full control over middleware, SSL, auth, and timeouts. Callers who do not set this option see no behavior change. HTTPI remains the default for 2.x.
- Add:
transport: :faradayglobal option. Defaults to:httpi(#992). - Add:
client.faradayreturns a memoizedFaraday::Connectionfor configuring middleware, SSL, auth, and timeouts when using the Faraday transport. - Add:
Savon.clientraises iftransport: :faradayis set but the faraday gem is not installed, or if any httpi-specific global option (proxy, timeouts,ssl, auth,adapter) is set alongside it. All conflicts are reported with their Faraday equivalents. - Change: Observers must return
Savon::Transport::Response(ornil) instead ofHTTPI::Response. ReturningHTTPI::Responsestill works but emits a deprecation warning. - Unblocks:
- redirect following for WSDL fetches via
faraday-follow-redirectsmiddleware (#1033, savonrb/wasabi#18) - digest authentication via
faraday-digestauthmiddleware (#1021, savonrb/httpi#250) - proxy authentication with special characters in passwords (#941)
- and setting an
Acceptheader for WSDL requests from Rails apps (savonrb/wasabi#115)
- redirect following for WSDL fetches via
Changelog: https://github.com/savonrb/savon/blob/v2.x/CHANGELOG.md
Commits: https://github.com/savonrb/savon/compare/v2.16.0...v2.17.0
- Ruby
Published by rubiii 28 days ago
https://github.com/savonrb/savon - v2.16.0
Restore compatibility
If you stayed on 2.12.1 because a later version broke something, this release is for you. The fixes below target the most commonly reported upgrade blockers. Existing code should work without modification.
- Fix: Restore
Savon::Response#hashremoved in 2.14.0 (#985). Callers on 2.12.1 that useresponse.hashget the soap body back instead of Ruby's integer object id. A deprecation warning is emitted on each call. Use#full_hashgoing forward. - Fix: Require wasabi >= 5.1.0 (#1015, #1016). Wasabi 4.x used message names as soap body element names and SOAPAction header values instead of operation names (savonrb/wasabi#122), causing servers to return a fault or reject the action for operations whose message name carried an
Insuffix. - Fix: Stop dumping all WSDL namespaces into every soap envelope (#1014, #942). 2.13.0 injected every namespace from the entire WSDL document into each request, including structural ones that have no place in a request body. Strict servers reject envelopes with unexpected or duplicate declarations.
- Fix: Raise a proper
SOAPFaultinstead of a raw exception whensoap:Faultcontains invalid encoding (#923). - Fix:
SOAPFault.present?was ignoring itsxmlargument and always operating on the instance's own body. - Change: Added Ruby 3.4 (#1024) and Ruby 4.0 (#1039) to the CI test matrix.
Changelog: https://github.com/savonrb/savon/blob/v2.x/CHANGELOG.md
Commits: https://github.com/savonrb/savon/compare/v2.15.1...v2.16.0
- Ruby
Published by rubiii 28 days ago
https://github.com/savonrb/savon - v3.0.0.rc2
What's Changed
- MTOM support with tests by @pcai in https://github.com/savonrb/savon/pull/1012
- Upgrade notes on ssl_verify_mode by @ehutzelman in https://github.com/savonrb/savon/pull/1013
- Pass the provided Savon/custom logger to Faraday by @larskanis in https://github.com/savonrb/savon/pull/1017
- Add ruby 3.4 to CI by @doconnor-clintel in https://github.com/savonrb/savon/pull/1024
- Restore support for SSL Ciphers by @doconnor-clintel in https://github.com/savonrb/savon/pull/1020
- Drop ruby 3.0 from CI by @doconnor-clintel in https://github.com/savonrb/savon/pull/1025
- Don't block minor updates to faraday by @larskanis in https://github.com/savonrb/savon/pull/1028
- Add gzip middleware when Accept-Encoding includes gzip by @kjeldahl in https://github.com/savonrb/savon/pull/1030
- Add option to provide connection middlewares. by @amartinfraguas in https://github.com/savonrb/savon/pull/1026
New Contributors
- @ehutzelman made their first contribution in https://github.com/savonrb/savon/pull/1013
- @doconnor-clintel made their first contribution in https://github.com/savonrb/savon/pull/1024
- @kjeldahl made their first contribution in https://github.com/savonrb/savon/pull/1030
- @amartinfraguas made their first contribution in https://github.com/savonrb/savon/pull/1026
Full Changelog: https://github.com/savonrb/savon/compare/v3.0.0.rc1...v3.0.0.rc2
- Ruby
Published by pcai 10 months ago
https://github.com/savonrb/savon - v3.0.0.rc1
What's Changed
- HTTPI to Faraday by @LukeIGS in https://github.com/savonrb/savon/pull/998
Full Changelog: https://github.com/savonrb/savon/compare/v2.15.1...v3.0.0.rc1
- Ruby
Published by pcai almost 2 years ago
https://github.com/savonrb/savon - v2.15.1
What's Changed
- Ruby 3.0+ is required in the gemspec.
- Require httpi 4.x - older versions rely on
Rack::Utils::HeaderHashwhich is removed in Rack 3.0.
Full Changelog: https://github.com/savonrb/savon/compare/v2.15.0...v2.15.1
- Ruby
Published by pcai almost 2 years ago
https://github.com/savonrb/savon - v2.15.0
What's Changed
- Drop support for ruby 2.7 and below. Added Ruby 3.2 and 3.3 to test matrix.
- Allows wasabi v5.x, which now supports faraday
New Contributors
- @sarahsehr made their first contribution in https://github.com/savonrb/savon/pull/997
Full Changelog: https://github.com/savonrb/savon/compare/v2.14.0...v2.15.0
- Ruby
Published by pcai over 2 years ago
https://github.com/savonrb/savon - v2.14.0
- BC BREAKING Fix: https://github.com/savonrb/savon/pull/985 Renamed Savon::Response#hash to Savon::Response#full_hash
- BC BREAKING Fix: https://github.com/savonrb/savon/pull/988 Savon no longer monkeypatches String#snakecase
- Fix: https://github.com/savonrb/savon/pull/989 Do not include xmlns from WSDL, which breaks some servers
- Ruby
Published by pcai over 3 years ago
https://github.com/savonrb/savon - v2.13.1
- Fix: #977 Prevent "xmlns:xmlns" namespace but allow "xmlns" namespace.
- Ruby
Published by pcai almost 4 years ago
https://github.com/savonrb/savon - v2.13.0
- Drop support for ruby 2.6 and below. Added Ruby 3.0 and 3.1 to test matrix.
- Fix: #868 Remove
xmlns:wsa's already added elsewhere; select Content-Type HTTP header based on SOAP version. - Fix: #943 Read all namespaces from wsdl definition if document exists
- Feature: #920 Add a
write_timeoutsetter for HTTP requests - Feature: #930 Add options for SSL min_version/max_version support
- Feature: #931 Add
log_headersoption
- Ruby
Published by pcai almost 4 years ago
https://github.com/savonrb/savon - v2.12.1
- Fix: #917 elementFormDefault="qualified" regression
- Fix: #875 Fix detecting Soap 1.1 Fault when faultcode and faultstring are empty
- Ruby
Published by pcai almost 6 years ago
https://github.com/savonrb/savon - v2.12.0
- Drop support for ruby 2.1 and below.
- Fix: #822 Raise correct error when SOAP envelope only contains a string
- Fix: #833 Fixes boolean handling regression introduced in 2.11.2
- Feature: #794, add global option ssl_ciphers.
- Feature: #753 Add headers configuration to WSDLRequest#build
- Feature: #812 Allow
proxyoption to benil. - Feature: #838 Added ssl_ca_path and ssl_cert_store to globals
- Ruby
Published by pcai over 8 years ago
https://github.com/savonrb/savon - v2.11.2
- Fix: #676 Fixes handling of
content!andattributes! - Fix: #800 Fix exception calling
SOAPFault#to_swhen http.body is empty - Fix: #757 Logging: Use filter without automatic pretty printing
- Fix: #771 Restore support for cookies when using custom headers
- Feature: #744 Add support for rpc encoded wsdl
- Feature: #742 Add support for local request headers
- Feature: #704 Add possibility to pass attribute delete_namespace_attributes to Nori
- Ruby
Published by pcai almost 9 years ago