Savon v2.3.0 Release Notes

Release Date: 2013-07-27 // almost 11 years ago
  • ๐Ÿš€ 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 updated savon-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 and Savon::Response#http_error which were present in version 1.

    • ๐Ÿ›  Fix: #474 Changed Savon::Response#header and Savon::Response#body to respect the global :convert_response_tags_to and :strip_namespaces options and return the expected result instead of raising a Savon::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.