Savon v0.9.10 Release Notes

Release Date: 2012-06-06 // almost 12 years ago
    • ๐Ÿ”‹ Feature: #289 - Allow the SOAP envelope header to be set as a String.

    • ๐Ÿ”‹ Feature: In addition to the global configuration, there's now also one configuration per client. The global config is cloned when a new client is initialized and gets used instead of the global one. In addition, for Savon::Model classes, the config is cloned per class.

      Closes #84 by allowing one logger per client and #270 by allowing to specify error handling per client.

    • ๐Ÿ”‹ Feature: Added an option to pretty print XML in log messages. Closes #256 and #280.

      # global
      Savon.configure do |config|
        config.pretty_print_xml = true
      end
      
      # per client
      client.config.pretty_print_xml = true
      
    • ๐Ÿ”จ Refactoring:

      • Added Savon.client as a shortcut for creating a new Savon::Client
      • Changed Savon::Config from a module to a class.
      • Moved logging to the new Savon::Logger object.
      • Removed the blank? extension from Object.