You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CHANGELOG 11KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265
  1. *SVN*
  2. * Documentation for ActionWebService::API::Base. Closes #7275. [zackchandler]
  3. * Allow action_web_service to handle various HTTP methods including GET. Closes #7011. [zackchandler]
  4. * Ensure that DispatcherError is being thrown when a malformed request is received. [Kent Sibilev]
  5. * Added support for decimal types. Closes #6676. [Kent Sibilev]
  6. * Removed deprecated end_form_tag helper. [Kent Sibilev]
  7. * Removed deprecated @request and @response usages. [Kent Sibilev]
  8. * Removed invocation of deprecated before_action and around_action filter methods. Corresponding before_invocation and after_invocation methods should be used instead. #6275 [Kent Sibilev]
  9. * Provide access to the underlying SOAP driver. #6212 [bmilekic, Kent Sibilev]
  10. * Deprecation: update docs. #5998 [jakob@mentalized.net, Kevin Clark]
  11. * ActionWebService WSDL generation ignores HTTP_X_FORWARDED_HOST [Paul Butcher <paul@paulbutcher.com>]
  12. * Tighten rescue clauses. #5985 [james@grayproductions.net]
  13. * Fixed XMLRPC multicall when one of the called methods returns a struct object. [Kent Sibilev]
  14. * Replace Reloadable with Reloadable::Deprecated. [Nicholas Seckar]
  15. * Fix invoke_layered since api_method didn't declare :expects. Closes #4720. [Kevin Ballard <kevin@sb.org>, Kent Sibilev]
  16. * Replace alias method chaining with Module#alias_method_chain. [Marcel Molina Jr.]
  17. * Replace Ruby's deprecated append_features in favor of included. [Marcel Molina Jr.]
  18. * Fix test database name typo. [Marcel Molina Jr.]
  19. *1.1.2* (April 9th, 2006)
  20. * Rely on Active Record 1.14.2
  21. *1.1.1* (April 6th, 2006)
  22. * Do not convert driver options to strings (#4499)
  23. *1.1.0* (March 27th, 2006)
  24. * Make ActiveWebService::Struct type reloadable
  25. * Fix scaffolding action when one of the members of a structural type has date or time type
  26. * Remove extra index hash when generating scaffold html for parameters of structural type #4374 [joe@mjg2.com]
  27. * Fix Scaffold Fails with Struct as a Parameter #4363 [joe@mjg2.com]
  28. * Fix soap type registration of multidimensional arrays (#4232)
  29. * Fix that marshaler couldn't handle ActiveRecord models defined in a different namespace (#2392).
  30. * Fix that marshaler couldn't handle structs with members of ActiveRecord type (#1889).
  31. * Fix that marshaler couldn't handle nil values for inner structs (#3576).
  32. * Fix that changes to ActiveWebService::API::Base required restarting of the server (#2390).
  33. * Fix scaffolding for signatures with :date, :time and :base64 types (#3321, #2769, #2078).
  34. * Fix for incorrect casting of TrueClass/FalseClass instances (#2633, #3421).
  35. * Fix for incompatibility problems with SOAP4R 1.5.5 (#2553) [Kent Sibilev]
  36. *1.0.0* (December 13th, 2005)
  37. * Become part of Rails 1.0
  38. *0.9.4* (December 7th, 2005)
  39. * Update from LGPL to MIT license as per Minero Aoki's permission. [Marcel Molina Jr.]
  40. * Rename Version constant to VERSION. #2802 [Marcel Molina Jr.]
  41. * Fix that XML-RPC date/time values did not have well-defined behaviour (#2516, #2534). This fix has one caveat, in that we can't support pre-1970 dates from XML-RPC clients.
  42. *0.9.3* (November 7th, 2005)
  43. * Upgraded to Action Pack 1.11.0 and Active Record 1.13.0
  44. *0.9.2* (October 26th, 2005)
  45. * Upgraded to Action Pack 1.10.2 and Active Record 1.12.2
  46. *0.9.1* (October 19th, 2005)
  47. * Upgraded to Action Pack 1.10.1 and Active Record 1.12.1
  48. *0.9.0* (October 16th, 2005)
  49. * Fix invalid XML request generation bug in test_invoke [Ken Barker]
  50. * Add XML-RPC 'system.multicall' support #1941 [jbonnar]
  51. * Fix duplicate XSD entries for custom types shared across delegated/layered services #1729 [Tyler Kovacs]
  52. * Allow multiple invocations in the same test method #1720 [dkhawk]
  53. * Added ActionWebService::API::Base.soap_client and ActionWebService::API::Base.xmlrpc_client helper methods to create the internal clients for an API, useful for testing from ./script/console
  54. * ActionWebService now always returns UTF-8 responses.
  55. *0.8.1* (11 July, 2005)
  56. * Fix scaffolding for Action Pack controller changes
  57. *0.8.0* (6 July, 2005)
  58. * Fix WSDL generation by aliasing #inherited instead of trying to overwrite it, or the WSDL action may end up not being defined in the controller
  59. * Add ActionController::Base.wsdl_namespace option, to allow overriding of the namespace used in generated WSDL and SOAP messages. This is equivalent to the [WebService(Namespace = "Value")] attribute in .NET.
  60. * Add workaround for Ruby 1.8.3's SOAP4R changing the return value of SOAP::Mapping::Registry#find_mapped_soap_class #1414 [Shugo Maeda]
  61. * Fix moduled controller URLs in WSDL, and add unit test to verify the generated URL #1428
  62. * Fix scaffolding template paths, it was broken on Win32
  63. * Fix that functional testing of :layered controllers failed when using the SOAP protocol
  64. * Allow invocation filters in :direct controllers as well, as they have access to more information regarding the web service request than ActionPack filters
  65. * Add support for a :base64 signature type #1272 [Shugo Maeda]
  66. * Fix that boolean fields were not rendered correctly in scaffolding
  67. * Fix that scaffolding was not working for :delegated dispatching
  68. * Add support for structured types as input parameters to scaffolding, this should let one test the blogging APIs using scaffolding as well
  69. * Fix that generated WSDL was not using relative_url_root for base URI #1210 [Shugo Maeda]
  70. * Use UTF-8 encoding by default for SOAP responses, but if an encoding is supplied by caller, use that for the response #1211 [Shugo Maeda, NAKAMURA Hiroshi]
  71. * If the WSDL was retrieved over HTTPS, use HTTPS URLs in the WSDL too
  72. * Fix that casting change in 0.7.0 would convert nil values to the default value for the type instead of leaving it as nil
  73. *0.7.1* (20th April, 2005)
  74. * Depend on Active Record 1.10.1 and Action Pack 1.8.1
  75. *0.7.0* (19th April, 2005)
  76. * When casting structured types, don't try to send obj.name= unless obj responds to it, causes casting to be less likely to fail for XML-RPC
  77. * Add scaffolding via ActionController::Base.web_service_scaffold for quick testing using a web browser
  78. * ActionWebService::API::Base#api_methods now returns a hash containing ActionWebService::API::Method objects instead of hashes. However, ActionWebService::API::Method defines a #[]() backwards compatibility method so any existing code utilizing this will still work.
  79. * The :layered dispatching mode can now be used with SOAP as well, allowing you to support SOAP and XML-RPC clients for APIs like the metaWeblog API
  80. * Remove ActiveRecordSoapMarshallable workaround, see #912 for details
  81. * Generalize casting code to be used by both SOAP and XML-RPC (previously, it was only XML-RPC)
  82. * Ensure return value is properly cast as well, fixes XML-RPC interoperability with Ecto and possibly other clients
  83. * Include backtraces in 500 error responses for failed request parsing, and remove "rescue nil" statements obscuring real errors for XML-RPC
  84. * Perform casting of struct members even if the structure is already of the correct type, so that the type we specify for the struct member is always the type of the value seen by the API implementation
  85. *0.6.2* (27th March, 2005)
  86. * Allow method declarations for direct dispatching to declare parameters as well. We treat an arity of < 0 or > 0 as an indication that we should send through parameters. Closes #939.
  87. *0.6.1* (22th March, 2005)
  88. * Fix that method response QNames mismatched with that declared in the WSDL, makes SOAP::WSDLDriverFactory work against AWS again
  89. * Fix that @request.env was being modified, instead, dup the value gotten from env
  90. * Fix XML-RPC example to use :layered mode, so it works again
  91. * Support casting '0' or 0 into false, and '1' or 1 into true, when expecting a boolean value
  92. * Fix that SOAP fault response fault code values were not QName's #804
  93. *0.6.0* (7th March, 2005)
  94. * Add action_controller/test_invoke, used for integrating AWS with the Rails testing infrastructure
  95. * Allow passing through options to the SOAP RPC driver for the SOAP client
  96. * Make the SOAP WS marshaler use #columns to decide which fields to marshal as well, avoids providing attributes brought in by associations
  97. * Add <tt>ActionWebService::API::Base.allow_active_record_expects</tt> option, with a default of false. Setting this to true will allow specifying ActiveRecord::Base model classes in <tt>:expects</tt>. API writers should take care to validate the received ActiveRecord model objects when turning it on, and/or have an authentication mechanism in place to reduce the security risk.
  98. * Improve error message reporting. Bugs in either AWS or the web service itself will send back a protocol-specific error report message if possible, otherwise, provide as much detail as possible.
  99. * Removed type checking of received parameters, and perform casting for XML-RPC if possible, but fallback to the received parameters if casting fails, closes #677
  100. * Refactored SOAP and XML-RPC marshaling and encoding into a small library devoted exclusively to protocol specifics, also cleaned up the SOAP marshaling approach, so that array and custom type marshaling should be a bit faster.
  101. * Add namespaced XML-RPC method name support, closes #678
  102. * Replace '::' with '..' in fully qualified type names for marshaling and WSDL. This improves interoperability with .NET, and closes #676.
  103. *0.5.0* (24th February, 2005)
  104. * lib/action_service/dispatcher*: replace "router" fragments with
  105. one file for Action Controllers, moves dispatching work out of
  106. the container
  107. * lib/*,test/*,examples/*: rename project to
  108. ActionWebService. prefix all generic "service" type names with web_.
  109. update all using code as well as the RDoc.
  110. * lib/action_service/router/wsdl.rb: ensure that #wsdl is
  111. defined in the final container class, or the new ActionPack
  112. filtering will exclude it
  113. * lib/action_service/struct.rb,test/struct_test.rb: create a
  114. default #initialize on inherit that accepts a Hash containing
  115. the default member values
  116. * lib/action_service/api/action_controller.rb: add support and
  117. tests for #client_api in controller
  118. * test/router_wsdl_test.rb: add tests to ensure declared
  119. service names don't contain ':', as ':' causes interoperability
  120. issues
  121. * lib/*, test/*: rename "interface" concept to "api", and change all
  122. related uses to reflect this change. update all uses of Inflector
  123. to call the method on String instead.
  124. * test/api_test.rb: add test to ensure API definition not
  125. instantiatable
  126. * lib/action_service/invocation.rb: change @invocation_params to
  127. @method_params
  128. * lib/*: update RDoc
  129. * lib/action_service/struct.rb: update to support base types
  130. * lib/action_service/support/signature.rb: support the notion of
  131. "base types" in signatures, with well-known unambiguous names such as :int,
  132. :bool, etc, which map to the correct Ruby class. accept the same names
  133. used by ActiveRecord as well as longer versions of each, as aliases.
  134. * examples/*: update for seperate API definition updates
  135. * lib/action_service/*, test/*: extensive refactoring: define API methods in
  136. a seperate class, and specify it wherever used with 'service_api'.
  137. this makes writing a client API for accessing defined API methods
  138. with ActionWebService really easy.
  139. * lib/action_service/container.rb: fix a bug in default call
  140. handling for direct dispatching, and add ActionController filter
  141. support for direct dispatching.
  142. * test/router_action_controller_test.rb: add tests to ensure
  143. ActionController filters are actually called.
  144. * test/protocol_soap_test.rb: add more tests for direct dispatching.
  145. 0.3.0
  146. * First public release