All Versions
73
Latest Version
Avg Release Cycle
129 days
Latest Release
2208 days ago

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.new to set wsdl.document.

      Savon::Client.new "http://example.com/UserService?wsdl"
      
    • ๐Ÿ‘Œ Improvement: instead of calling the to_hash method 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
  • v0.8.5 Changes

    January 28, 2011
  • v0.8.4 Changes

    January 26, 2011
  • v0.8.3 Changes

    January 11, 2011
    • Moved implementation of Savon::SOAP::Response#to_array to a class method at Savon::SOAP::XML.to_array (05a7d3).

    • ๐Ÿ›  Fix for issue #131 (4e57b3).

  • v0.8.2 Changes

    January 04, 2011
    • ๐Ÿ›  Fix for issue #127 (0eb3da).

    • ๐Ÿ”„ Changed Savon::WSSE to be based on a Hash instead of relying on builder (4cebc3).

      Savon::WSSE now supports wsse:Timestamp headers (issue #122) by setting Savon::WSSE#timestamp to true:

      client.request :some_method do
        wsse.timestamp = true
      end
      

      or by setting Savon::WSSE#created_at or Savon::WSSE#expires_at:

      client.request :some_method do
        wsse.created_at = Time.now
        wsse.expires_at = Time.now + 60
      end
      

      You 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
    • โšก๏ธ Update to depend on HTTPI v0.7.5 which comes with a fallback to use Net::HTTP when no other adapter could be required.

    • ๐Ÿ›  Fix for issue #72 (22074a).

    • ๐Ÿ— Loosen dependency on builder. Should be quite stable.

  • 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).