Savon v0.9.8 Release Notes

Release Date: 2012-02-15 // about 12 years ago
    • ๐Ÿ”‹ Feature: Savon now ships with Savon::Model. Savon::Model is a lightweight DSL to be used inside your domain models. It's been refactored and is now even more useful than before.

    • ๐Ÿ”‹ Feature: Merged pull request 230 to allow filtering values in logged SOAP request XML messages.

      Savon.configure do |config|
        config.log_filter = ["password"]
      end
      
    • ๐Ÿ”‹ Feature: Added an option to change the default encoding of the XML directive tag (defaults to UTF-8) to fix issue 234.

      client.request(:find_user) do
        soap.encoding = "UTF-16"
        soap.body = { :id => 1 }
      end
      
    • ๐Ÿ‘Œ Improvement: Merged pull request 231 to gracefully handle invalid response bodies by throwing a Savon::SOAP::InvalidResponseError.

    • ๐Ÿ›  Fix: issue 237 - Set the Content-Type and Content-Length headers for every request.

    • ๐Ÿ›  Fix: pull request 250 - The Content-Length header should be the size in bytes.