Changelog History
Page 5
-
v0.9.2 Changes
April 30, 2011๐ Fix: issue 154 - Timezone format used by Savon now matches the XML schema spec.
๐ Improvement: WSSE basic, digest and timestamp authentication are no longer mutually exclusive. Thanks to mleon for solving issue #142.
๐ Improvement: Switched from using Crack to translate the SOAP response to a Hash to using Nori. It's based on Crack and comes with pluggable parsers. It defaults to REXML, but you can switch to Nokogiri via:
Nori.parser = :nokogiri๐ Improvement: WSDL parsing now uses Nokogiri instead of REXML.
-
v0.9.1 Changes
April 06, 2011๐ Improvement: if you're only setting the local or remote address of your wsdl document, you can now pass an (optional) String to
Savon::Client.newto setwsdl.document.Savon::Client.new "http://example.com/UserService?wsdl"๐ Improvement: instead of calling the
to_hashmethod of your response again and again and again, there is now a#[]shortcut for you.response[:authenticate_response][:return]
-
v0.9.0 Changes
April 05, 2011๐ Feature: issues #158, #169 and #172 configurable "Hash key Symbol to lowerCamelCase" conversion by using the latest version of Gyoku.
Gyoku.convert_symbols_to(:camelcase) Gyoku.xml(:first_name => "Mac") # => "<FirstName></Firstname>"You can even define your own conversion formular.
Gyoku.convert_symbols_to { |key| key.upcase } Gyoku.xml(:first_name => "Mac") # => "<FIRST_NAME></FIRST_NAME>"This should also work for the SOAP input tag and SOAPAction header. So if you had to use a String for the SOAP action to call because your services uses CamelCase instead of lowerCamelCase, you can now change the default and use Symbols instead.
Gyoku.convert_symbols_to(:camelcase) # pre Gyoku 0.4.0 client.request(:get_user) # => "<getUser/> client.request("GetUser") # => "<GetUser/>" # post Gyoku 0.4.0 client.request(:get_user) # => "<GetUser/>"๐ Improvement: issues #170 and #173 Savon no longer rescues exceptions raised by
Crack::XML.parse. If Crack complains about your WSDL document, you should take control and solve the problem instead of getting no response.๐ Improvement: issue #172 support for global env_namespace.
Savon.configure do |config| config.env_namespace = :soapenv # changes the default :env namespace end๐ Fix: issue #163 "Savon 0.8.6 not playing nicely with Httpi 0.9.0". Updating HTTPI to v0.9.1 should solve this problem.
๐ And if you haven't already seen the new documentation: savonrb.com
-
v0.8.6 Changes
February 15, 2011- ๐ Fix for issues issue #147 and #151 (771194).
-
v0.8.5 Changes
January 28, 2011๐ Fix for issue #146 (98655c).
๐ Fix for issue #147 (252670).
-
v0.8.4 Changes
January 26, 2011๐ Fix for issues issue #130 and #134 (4f9847).
๐ Fix for issue #135 (c9261d).
-
v0.8.3 Changes
January 11, 2011Moved implementation of
Savon::SOAP::Response#to_arrayto a class method atSavon::SOAP::XML.to_array(05a7d3).๐ Fix for issue #131 (4e57b3).
-
v0.8.2 Changes
January 04, 2011๐ Fix for issue #127 (0eb3da).
๐ Changed
Savon::WSSEto be based on a Hash instead of relying on builder (4cebc3).Savon::WSSEnow supports wsse:Timestamp headers (issue #122) by settingSavon::WSSE#timestamptotrue:client.request :some_method do wsse.timestamp = true endor by setting
Savon::WSSE#created_atorSavon::WSSE#expires_at:client.request :some_method do wsse.created_at = Time.now wsse.expires_at = Time.now + 60 endYou can also add custom tags to the WSSE header (issue #69):
client.request :some_method do wsse["wsse:Security"]["wsse:UsernameToken"] = { "Organization" => "ACME", "Domain" => "acme.com" } end
-
v0.8.1 Changes
December 22, 2010 -
v0.8.0 Changes
December 20, 2010โ Added
Savon::SOAP::XML#env_namespace(51fa0e) to configure the SOAP envelope namespace. It defaults to :env but can also be set to an empty String for SOAP envelope tags without a namespace.๐ Replaced quite a lot of core extensions by moving the Hash to XML translation into a new gem called Gyoku (bac4b4).