Changelog History
Page 2
-
v2.8.0 Changes
November 12, 2014- ๐ Feature : #620 add #build_request method that builds the actual XML request body, but does not submit it. Useful for debugging, possibly.
- ๐ Fix : Loosened dependencies on Gyoku, Nori, Akami, and other Savon-dependency gems
- ๐ Feature: #636 Set HTTPI.logger when Savon's logger is configured.
- ๐ Feature: #639 Allow setting any SSL version that OpenSSL provides. See the relevant HTTPI issue for more information.
-
v2.7.2 Changes
September 23, 2014๐ Fix : Preserve false values (https://github.com/savonrb/savon/issues/321)
-
v2.7.1 Changes
September 23, 2014- ๐ Fix : Fix a crash in builder when request headers do not contain WSA headers
-
v2.7.0 Changes
September 23, 2014- ๐ Feature: Signing requests. Added wsse_signature.
ruby client = Savon.client(wsdl: 'http://service.example.com?wsdl') do wsse_signature Akami::WSSE::Signature.new(Akami::WSSE::Certs.new(:cert_file => 'c.pem', :private_key_file => 'p.pem')) end
- ๐ Feature: Signing requests. Added wsse_signature.
-
v2.5.0 Changes
May 03, 2014๐ Feature: #573 Add an
all_operations
method toSavon::Model
that automatically adds all available operations to the model.๐ Feature: #566 Allow specifying HTTPI adapter per client.
curb_client = Savon.client(wsdl: "http://example.com/service.wsdl", adapter: :curb) http_client = Savon.client(wsdl: "http://example.com/service.wsdl", adapter: :httpclient)
-
v2.4.0 Changes
March 31, 20140๏ธโฃ Logging is off by default. To enable this behavior, set the :log option to true
client = Savon.client(wsdl: "http://example.com/service.wsdl", log: true)
-
v2.3.2 Changes
December 09, 2013- ๐ Fix: #520 Fixes a regression in message tags in requests and responses.
-
v2.3.1 Changes
December 05, 2013- โ Removed dependency on Nokogiri <= 1.4 -- This improves support for ruby 1.9.3 and 2.0.0 and officially begins the end of support for ruby 1.8.7 See issue #487
-
v2.3.0 Changes
July 27, 2013๐ Combined release ticket: #481
๐ Feature: #405 Improved NTLM support based on HTTPI v2.1.0.
๐ Feature: #424 Adds support for multipart responses through the updated savon-multipart gem. You can now specify
multipart: true
either as a global or local option. Please make sure you have the updatedsavon-multipart
gem installed and loaded, as it is not a direct dependency of Savon.require 'savon' require 'savon-multipart' # expect multipart responses for every operation client = Savon.client(wsdl: wsdl, multipart: true) # only expect a multipart response for this operation client.call(:my_operation, multipart: true)
๐ Feature: #470 Added a local
:soap_header
option to allow setting the SOAP header per request.๐ Feature: #402 Makes it possible to create mocks that don't care about the message sent by using
:any
for the:message
option.savon.expects(:authenticate).with(message: :any)
๐ Fix: #450 Added
Savon::Response#soap_fault
andSavon::Response#http_error
which were present in version 1.๐ Fix: #474 Changed
Savon::Response#header
andSavon::Response#body
to respect the global:convert_response_tags_to
and:strip_namespaces
options and return the expected result instead of raising aSavon::InvalidResponseError
.๐ Fix: #461 Fixed two problems related to namespace qualified messages and the element
:order!
.๐ Fix: #476 fixes a problem where the namespace for the message tag was not correctly determined from the WSDL.
๐ Fix: #468 Changed the dependency on Nokogiri to < 1.6, because Nokogiri 1.6 dropped support for Ruby 1.8.
-
v2.2.0 Changes
April 21, 2013๐ Feature: #416 The global
namespace_identifier
option can now be set tonil
to not add a namespace identifier to the message tag.๐ Feature: #408 Added
Savon::Client#service_name
to return the name of the SOAP service.๐ Improvement: When mistyping an option name, Savon used to raise a simple
NoMethodError
. This is because regardless of whether you're using the Hash or block syntax to pass global or local options, both are just method calls on some options object.NoMethodError: undefined method 'wsdk' for #<Savon::GlobalOptions:0x007fed95a55228>
As of this change, Savon now catches those errors and raise a
Savon::UnknownOptionError
with a slightly more helpful error message instead.``` ruby Savon::UnknownOptionError: Unknown global option: :wsdk ```
๐ Improvement: #385 Instead of raising an
ArgumentError
when Wasabi can't find any operations in the WSDL. Savon now raises aSavon::UnknownOperationError
. This might happen when Wasabi fails to parse the WSDL because of imports for example.๐ Fix: #430 allows you to rescue and ignore
Savon::Error
errors in production while still having mocks trigger test failures.๐ Fix: #393 changed
Savon::SOAPFault
to work with generic response Hash keys.๐ Fix: #423 fixes a problem where Wasabi was not able to find extension base elements defined in imports it didn't follow.