A fork of https://github.com/Synerty/SOAPpy-py3 This is a working tree till fixes get imported upstream.
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.
 
 
 
 

644 lines
22 KiB

  1. CHANGELOG
  2. =====================
  3. 0.12.6 (unreleased)
  4. -----------------------
  5. - Remove dependency on fpconst.
  6. - adding maptype [Sandro Knauß]
  7. - Support / (and other reserved characters) in the password. [Ionut Turturica]
  8. - Client.HTTPWithTimeout: fixed constructor's docstring and comments -named the diferences
  9. with respect to the overriden method -fixed
  10. wrong reference to class in module 'httplib' -added documentation of param 't[German Larrain
  11. - fixed module docstring location (all imports must be below them)[German Larrain]f
  12. - [Update SOAPBuilder.py - Clayton Caetano de Sousa]
  13. 0.12.5 (2011-08-01)
  14. -------------------
  15. - Fix for multi-dimensional arrays. [Ionut Turturica]
  16. - Credits
  17. 0.12.3 (2011-02-21)
  18. -------------------
  19. - Fixed url
  20. 0.12.2 (2011-02-21)
  21. -------------------
  22. - Fixed url
  23. 0.12.1 (2011-02-21)
  24. -------------------
  25. - Forked intially from https://github.com/pelletier/SOAPpy
  26. - main interresting enhancements grabbed:
  27. - from __future__ imports must occur at the beginning of the file
  28. - try install requires
  29. - Grabbed others changeset from https://bitbucket.org/cmclaughlin/soappy-0.12.0/ (fpconst)
  30. - Grabbed others changeset from https://bitbucket.org/zeus/soappy (ssl key support)
  31. - Depend directly on wstools not to bundle a duplicated version.
  32. - Grabbed from original svn:
  33. - rpm spec file
  34. - tools/
  35. - zope/
  36. - bid/
  37. - .cvsignore files
  38. - Make it proper packaged, specially toward setuptools.
  39. Release 0.12.0 of SOAPpy
  40. ------------------------
  41. This release primarily foces on bug fixes. Primary changes:
  42. - Fixes for bug reports that have accumulated over the last year
  43. [ 916265] "Arrays of unicode do not serialize correctly (patch included)"
  44. [ 918216] "Parsing faults in SOAPpy 0.11.3"
  45. [ 925077] "SOAPpy prints out SOAP fault" (even when Config.debug is off).
  46. [1001646] "SOAPpy stomps headers when sending multirefs"
  47. [1001646] "SOAPpy stomps headers when sending multirefs.
  48. [1064233] "Bug fixes for complex types"
  49. [1064248] "Bugs in _asdict() and _asarray() in Types.py"
  50. [1078051] "Arrays of complex types (doc/lit)"
  51. [1096971] "Parse error: missing HTTP header 'Content-length'"
  52. [1106450] "Floats are truncated to 10 digits, causing precision loss"
  53. [1122991] "error from SOAPpy/Client.py for content_length evaluation?"
  54. - Fixes for 'rules' which allow control of the data types of *incoming* messages.
  55. As a consequence TCtest.py now passes all tests.
  56. - WSDL support has been improving, due to work on the 'wstools'
  57. module which is shared between ZSI and SOAPpy.
  58. - Some work has been done to improve documentation.
  59. Release 0.11.6 of SOAPpy
  60. ------------------------
  61. Changes to URLs and email addresses in documentation.
  62. Release 0.11.5 of SOAPpy
  63. ------------------------
  64. - Bug fixes
  65. - Fix string format error in fault handling
  66. Release 0.11.4 of SOAPpy
  67. ------------------------
  68. - Bug fixes
  69. - SOAPpy/Server.py: Check if header information contains SOAPAction
  70. key before checking its value.
  71. - Fixes for generating SOAP from complexType arrays, contributed by
  72. antonio.beamud@linkend.com
  73. - Fixed bug that caused typedArrayTypes to lose their type
  74. information when rendered to SOAP and added corresponding
  75. test case.
  76. - New Features
  77. - Enhancements to fault handling: The faultType Faultstring is now
  78. a non-variable string (i.e. no nsmethod in it) so that it can be
  79. programmatically checked. In addition fault handlers can now be
  80. registered to handle specific types of faults.
  81. - SOAPpy/Server.py: Modified unregsiterObject function to take
  82. optional namespace/path args to be consistent with registerObject.
  83. - SOAPpy/Server.py: Added an unregisterObject function
  84. - Changes to allow SOAPBuilder so it can handle a 'raw' Python object.
  85. Release 0.11.2 of SOAPpy
  86. ------------------------
  87. - News:
  88. Ivan R. Judson has joined the SOAPpy team. He is focused on
  89. Globus support but is also responsible for a lot of other work for
  90. this release,
  91. - Bug fixes:
  92. - Code in Types.py assumes nested scopes, so I added the proper import so
  93. this will work under python 2.2.x
  94. - Fixing namespace collision
  95. - Fixed handing of named arguments bug introduced in 0.11.1.
  96. - Fix memory leak when exceptions are raised.
  97. - Fix bug when content-length is not present in parsed SOAP message.
  98. - Fix bug #888345: Python 2.3 boolean type serialized as int
  99. - Fix bug #875977: no escaping of bad tagnames for NoneTypes
  100. - New features:
  101. - Improved Globus support and documentation. Thanks Ivan!
  102. - Added context handling
  103. - Changed the use of SOAPAction, it used to default to setting it
  104. to "", now it defaults to setting it to the method (not the
  105. nsmethod). There is a clause in Server.py that catches 'old style'
  106. SOAPActions (aka "") and sets them to the method. When this is
  107. confirmed to be what everyone wants and we decide it's alright to
  108. (possibly) break client/server interop, we can take the clause out
  109. of Server.py and just handle SOAPActions of "" as a possible
  110. error/warning.
  111. - Additional test code.
  112. - Raise a SOAPException instead of returning a SOAPpy.faultType
  113. when a SOAP Fault is encountered and simplify_objects is enabled.
  114. Release 0.11.1 of SOAPpy
  115. ------------------------
  116. - Bug fixes:
  117. - Fixed bug [ 792258 ] "SOAPBuilder.SOAPBuilder.dump can catch
  118. wrong exceptions" in SOAPBuilder.dump() submitted by Greg Chapman
  119. (glchapman).
  120. - Changes suggested by Richard Au (richardau) to fix ssl support.
  121. See bug report [ 752882 ] "SSL SOAP Server no longer working."
  122. - Remove call to gentag from 'dump' and add to 'dump_float', per
  123. bug report [ 792600 ] "SOAPBuilder.SOAPBuilder.dump possibly should
  124. not call gentag" by Greg Chapman (glchapman).
  125. - Add a tests for handling of nil="true" and nil="false". This
  126. fixes bug [ pywebsvcs-Bugs-858168 ] 'xsi:nil="true" causes
  127. exception' reported by Robert Zimmermann (robertzett):
  128. - testClient1.py now works properly. It had been failing to start the
  129. server thread on the second unit test. It turned out that the
  130. variable 'quit' needed to be reset to zero after the SOAP server
  131. thread for the first unit test exited. With the solution of this
  132. problem testClient1 can now be extended to run unit tests of both
  133. client and server components.
  134. - Added 'strict' option to the WSDL class. If strict is true, a
  135. RuntimeException will be raised if an unrecogned message is recieved.
  136. If strict is false, a warning will be printed to the console, the
  137. message type will be added to the WSDL schema, and processing will
  138. continue. This is in response to the second half of bug report [
  139. 817331 ] "Some WSDL.py changes", submitted by Rudolf Ruland.
  140. Release 0.11.0 of SOAPpy
  141. ------------------------
  142. - New/Changed configuration settings:
  143. - Config.simplify_objects=1 now converts all SOAPpy objects into basic
  144. Python types (list, dictionary, tuple, double, float, etc.). By default,
  145. Config.simplify_objects=0 for backward compatibility.
  146. - Config.dict_encoding='ascii' converts the keys of dictionaries
  147. (e.g. created when Config.simplify_objects=1) to ascii == plain python
  148. strings instead of unicode strings. This variable can be set to any
  149. encoding known to string.encode().
  150. - Config.strict_range=1 forces the SOAP parsing routines to perform
  151. range checks on recieved SOAP float and double objects. When
  152. Config.strict_range=0, the default, parsing does not perform range
  153. checking (except for detecting overflows, which always occurs). In
  154. either case, range checking is performed when
  155. generating SOAP float and double objects.
  156. - Fixes for WSDLProxy.
  157. - Scripts in the test/ directory
  158. - Verbose debugging messages have been turned off..
  159. - SOAPtest.py now functions when Config.simplify_objects=1
  160. - SOAPtest.py now sets Config.strict_range=1 so that range
  161. checks are be properly tested.
  162. - New README file listing what test scripts fail and why.
  163. - Initial support for Globus via pyGlobus contributed by Ivan
  164. R. Judson <judson@mcs.anl.gov>.
  165. Release 0.10.4 of SOAPpy
  166. ------------------------
  167. Dramatic performance improvements for large data transfers.
  168. Release 0.10.1 of SOAPpy
  169. ------------------------
  170. only minor changes
  171. 1) Code now uses a single file to store version number
  172. 2) Client and server now report 'SOAPpy' as the server/user-agent.
  173. 3) All test scripts now use the local SOAPpy source instead of the
  174. globally installed version.
  175. Release 0.10.0 of SOAPpy
  176. ------------------------
  177. Enhancements:
  178. 1) The new name handling mechanism has been enabled by default.
  179. The primary purpose of this release is to allow users to test this
  180. to see if it causes problems. Please take the time to do so. If
  181. there are no problems reported by April 15, 2003, 0.9.9 will be
  182. released with this feature enabled by default.
  183. Note that running a client under an old release of SOAPpy and a
  184. server under this release will be likely to generate errors due to
  185. the different name handling mechanisms.
  186. 2) MS-Windows systems should now be fully supported.
  187. This required implementing a new module, ieee754, which provides
  188. functions for detecting and generating IEEE 754 special floating
  189. point values (+Inf, -Inf, NaN) which are not properly handled by
  190. the Windows implementation of the float() function.
  191. 3) Code reorganization: The huge file SOAPpy/SOAP.py (4,122 lines,
  192. 131K) has been split into 10 separate files. In addition code
  193. shared with ZSI has been moved into a separate subdirectory and a
  194. separate CVS module.
  195. 4) Fixed bug 678239 which caused loss of namespace information in the
  196. client.
  197. 5) Mark Bucciarelli's <mark@hubcapconsulting.com> has ported client
  198. support for WSDL from ZSI, as well as providing a mechanism for
  199. SOAPpy servers to provide WSDL on properly structured .GET
  200. requests.
  201. 6) Added ThreadingSOAPServer which inherits from ThreadingTCPServer
  202. server so that multiple clients will be automatically multiplexed.
  203. VERSION 0.10.4
  204. --------------
  205. - Integrated a simple patch submitted by Erik Westra that dramatically
  206. improves parser performance.
  207. - WSDL tools now uses m2crypto for SSL if it's installed.
  208. - Various other WSDL changes.
  209. VERSION 0.10.3
  210. --------------
  211. - Removed import of obsoleted ieee753.py. Now use the fpconst module
  212. proposed by PEP 754, available from
  213. <http://research.warnes.net/Zope/projects/fpconst/>
  214. - SOAPpy should no longer depend on pyXML.
  215. VERSION 0.10.2
  216. --------------
  217. - Fixed client support for basic authentication
  218. - Fixed import error in Client.py
  219. - Improved Client parsing of namespaces to support stateful SOAP servers.
  220. VERSION 0.10.1
  221. --------------
  222. - Modified setup.py, Server.py, and Client.py to obtain SOAPpy version
  223. number from a new file, version.py.
  224. - SOAP server/user-agent is now to 'SOAPpy' instead of 'SOAP.py'.
  225. - Added ident string containing CVS version to all files that were
  226. lacking this.
  227. VERSION 0.10.0
  228. --------------
  229. CHANGES SINCE VERSION 0.9.9-pre5
  230. - Major Change: The huge file SOAPpy/SOAP.py (4,122 lines, 131K) has
  231. been split into 10 separate files::
  232. Client.py NS.py SOAPBuilder.py Utilities.py
  233. Config.py Parser.py Server.py
  234. Errors.py SOAP.py Types.py
  235. This should ease navigation and maintenance.
  236. - A new CVS module 'wstools' was created to hold code which is used by
  237. both ZSI and SOAPpy. While this module is stored separately in CVS,
  238. it will be distributed as an integral part of both ZSI and SOAPpy,
  239. and will be included as an 'internal' module by both. In the SOAPpy
  240. source, it lives in the directory SOAPpy/wstools.
  241. - The files XMLname.py, ieee754.py, have been moved into SOAPpy/wstools.
  242. - Added TODO file
  243. - Fix bug in getNS that caused loss of namespace by using better
  244. pattern matching to find the namespace in the SOAP message. Fixes bug
  245. 678239
  246. - Added Mark Bucciarelli's <mark@hubcapconsulting.com> patch to
  247. provide wsdl code on properly structured .GET requests to the server.
  248. - Added client support for WSDL, ported from ZSI by Mark Bucciarelli
  249. <mark@hubcapconsulting.com>
  250. - Added ThreadingSOAPServer which inherits from ThreadingTCPServer
  251. server so that muliple clients will be automatically multiplexed.
  252. - Removed some files from /test for services that no longer exist.
  253. CHANGES SINCE VERSION 0.9.9-pre4
  254. --------------------------------
  255. - Added client support for WSDL, ported from ZSI by Mark Bucciarelli
  256. <mark@hubcapconsulting.com>.
  257. CHANGES SINCE VERSION 0.9.9-pre3
  258. --------------------------------
  259. - Code shared between SOAPpy and ZSI now lives in
  260. SOAPpy/SOAPpy/wstools and is stored in a separate CVS package. This
  261. will allow ZSI and SOAPpy to keep these files synchronized.
  262. CHANGES SINCE VERSION 0.9.9-pre2
  263. --------------------------------
  264. - Fixed trivial compilation bug on Win32: Only define
  265. SOAPUnixSocketServer if the Unix domain sockets are supported
  266. CHANGES SINCE VERSION 0.9.9-pre1
  267. --------------------------------
  268. - Added request for nested scopes, should now work properly in python
  269. 2.1 with named argument calls.
  270. - Fixed bug caused by omission of the ieee754 module from __init__.py.
  271. - SOAPpy now provides a SOAPUnixSocketServer class, which uses a unix
  272. domain socket instead of a network TCP/IP socket for communication. A
  273. corresponding client will be provided in the future. [This class
  274. has not yet been tested.]
  275. CHANGES SINCE VERSION 0.9.8
  276. ---------------------------
  277. - IEEE 754 floating point specials (Inf, -Inf, NaN) should now be
  278. properly and consistently handled on all platforms.
  279. Added code to explicitly check for and handle IEEE 754 floating
  280. point specials (Inf, -Inf, NaN). This replaces an ugly hack for
  281. systems whose python float() doesn't understand the strings "Inf",
  282. "NaN", etc. Floating point specials should now be properly handled
  283. on all operating systems.
  284. ***SOAPpy should now work properly on all versions of Microsoft Windows.***
  285. A new module, ieee754 contains the functions required to detect and
  286. create NaN, Inf, and -Inf values. This module should be usable in
  287. other contexts.
  288. - *** The new argument handling method (via SOAPpy.SOAP.Config.specialArgs=1)
  289. is now enabled by default.***
  290. - Changed all references to actzero.com in SOAP.py to pywebscvs.sf.net.
  291. - Fixed a bug where lists included as parameters to SOAP method calls
  292. were being incorrectly named 'Results' even when another name was
  293. given.
  294. CHANGES SINCE VERSION 0.9.7
  295. ---------------------------
  296. - Modified structure to allow installation using Python distutils
  297. (i.e. setup.py). Access to the SOAPpy library now requires:
  298. from SOAPpy import SOAP
  299. - I (Gregory R. Warnes) have implemented an experimental and
  300. non-standard method of handling named and unnamed arguments. This
  301. mechanism is enabled in SOAPpy by setting
  302. SOAPpy.SOAP.Config.specialArgs=1.
  303. When enabled, parameters with names of the form _#### (i.e.,
  304. matching the regexp "^_[0-9]+") are assumed to be unnamed parameters
  305. and are passed to the method in numeric order. All other parameters
  306. are assumed to be named and are passed using the xml tag id as the
  307. parameter name. Outgoing SOAP method calls now always generate
  308. names in this way--whether or not specialArgs is enabled--instead of
  309. using the pattern v#####.
  310. See the file README.MethodParameterNaming for more details.
  311. - Added noroot parameter to the SOAPBuilder and SOAPProxy objects
  312. in order to provide compatibility with an older version of
  313. EasySOAP (v0.2) that balked if the SOAP-ENC:root parameter was
  314. included.(Brad Knotwell)
  315. - Added support for namespace-rewriting (used by Apache v2.x SOAP server for
  316. error conditions as well as stateful communication) (Christopher Blunck)
  317. - Added string <-> str conversion for array types (Python 2.2+)
  318. (Christopher Blunck)
  319. - Added convenience method (invoke) to SOAPProxy that calls __call (not sure
  320. if it is necessary - feel free to remove if you want) (Christopher Blunck)
  321. - Python 'float' are equivalent to SOAP 'double'. Modified dump_float
  322. and dump_list to use SOAP type string 'double'
  323. appropriately. (Gregory R. Warnes)
  324. - Add basic authentication (Brad Knotwell)
  325. - Fixes to enable proper handling of SOAP faults by the client:
  326. - Fixed test of whether message content is text/xml when recieving a fault.
  327. - Added __call__ method to exception classes to match the current API.
  328. - The faultType.__repr__() method now print details if present
  329. (Gregory R. Warnes)
  330. - Added XMLnam.py which provides toXMLname() and fromXMLname() for
  331. properly encoding xml tag names per the SOAP 2.1 (draft)
  332. specification. (Gregory R. Warnes)
  333. - Added calls to toXMLname() and fromXMLname() so that tags names are
  334. properly encoded. This resolves bug [ 548785 ] 'Error passing dict
  335. keys containing space.' (Gregory R. Warnes)
  336. - Added code to cgi encode contents of tags when they are not a
  337. recognized type. Fixes bug [ 549551 ] 'Error when passing
  338. non-standard types'. (Gregory R. Warnes)
  339. - Added __init__.py, so that SOAPpy can be used like a standard python
  340. module. (Gregory R. Warnes)
  341. VERSION 0.9.7 (6/27/01)
  342. -----------------------
  343. - Fixed the unamed ordered parameters bug
  344. - Added the ability to specify a http_proxy
  345. - Added a patch provided by Tim MiddelKoop to allow printing of proxy objects
  346. - Added the contrib directory and included a medusa implementation of a
  347. SOAP.py server by Ng Pheng Siong
  348. VERSION 0.9.6 (6/08/01)
  349. -----------------------
  350. - The date and time types now check their initial values when the type
  351. is created, not when the data is marshalled.
  352. - The date and time types are now parsed and returned as tuples (for
  353. multi-element types) or scalars (for single element types) in UTC and thus
  354. can represent the entire range of SOAP dates.
  355. - If an element doesn't have a type but has a name with a namespace, the
  356. name is tried as the type.
  357. - Untyped compound types with more than one element and all the elements
  358. the same name are turned into an array when parsing.
  359. - When parsing a structType, elements with the same name are placed in a
  360. list instead of saving just the last one. _getItemsAsList can be used to
  361. get an element of a structure as a list, whether there was one or many
  362. occurances of the item.
  363. - Added schemaNamespace, schemaNamespaceURI, and namespaceStyle
  364. configuration options. namespaceStyle takes one of 1999, 2000, or 2001,
  365. and sets typesNamespace, typesNamespaceURI, schemaNamespace, and
  366. schemaNamespaceURI.
  367. - Normalized the type class names, replacing Compound with compoundType,
  368. Struct with structType, Header with headerType, Body with bodyType, Array
  369. with arrayType, TypedArray with typedArrayType, Fault with faultType, and
  370. urType with anyType.
  371. - Attributes now appear on an element itself instead of the element's
  372. parent. For elements parsed to builtin python types, the attributes are
  373. stored in a dictionary keyed by the element's python id. The dictionary
  374. is in the Context object, can be returned from parseSOAP*, and can be
  375. returned from method calls if the returnAllAttrs configuration option
  376. is set.
  377. - isinstance is used to check for a class, so classes can be subtyped.
  378. - An encoding of None can be specified to not include encoding information.
  379. - Problems with the SOAPProxy URL are now reported when the SOAPProxy
  380. instance is created instead of when the first method call is made.
  381. - The Binary, Boolean and DateTime types have been removed in favor of
  382. binaryType, booleanType, and dateTimeType.
  383. VERSION 0.9.5 (5/16/01)
  384. -----------------------
  385. - Should parse and build all 1999, 2000, 2001, and SOAP-ENC datatypes.
  386. - Initial handling of multi-dimensional, partial, and sparse arrays.
  387. - Supports SSL clients (if Python built with OpenSSL).
  388. - Supports SSL servers (if M2Crypto installed).
  389. - Applies defaults to SOAPproxy URLs (nice for command-line tools).
  390. - Added the _SOAPContext object, gives registered server functions more info
  391. about the current call.
  392. - Now assumes that any type that isn't in a schema could be a struct.
  393. - Added the Config object, now config options can be set globally or on an
  394. individual call level.
  395. - Deprecated the DateTime, Binary and Boolean types, should now
  396. use dateTimeType, binaryType and booleanType.
  397. - Includes N+I interop suite.
  398. - Various bug fixes and improvements.
  399. VERSION 0.9 (5/01/01)
  400. -----------------------
  401. - The Envelope now just contains definitions for namespaces actually used
  402. (Builder)
  403. - Namespace definitions are inherited by children but not siblings (Builder)
  404. - Further improved multi-reference parsing -- it handles circular references
  405. (Parser)
  406. - Added support for building recursive and circular types using references
  407. (Builder)
  408. - More types
  409. - Proper handling of overflow and underflow integral and floating point
  410. types (Parser)
  411. - More interop
  412. - Various bug fixes and improvements
  413. VERSION 0.8.5 (4/25/01)
  414. -----------------------
  415. - buildSOAP, SOAPProxy, SOAPServer now taking encoding argument
  416. - Much improved multi-referencing (Parser)
  417. - Added base64 and dateTime to interop suite
  418. - Various bug fixes
  419. VERSION 0.8 (4/23/01)
  420. -----------------------
  421. - Added more types
  422. - Early multi-referencing support (Parser)
  423. - Reorganized the parser, much cleaner now
  424. - Preserve whitepsace in strings (per the standard)
  425. - Full XML attribute support (Parser/Builder)
  426. - Object (de)serialization now maintains element order
  427. - Fixed the zero-length array problem
  428. - Made indentation uniform (spaces not tabs)
  429. - Made Header and Body work more like real structs
  430. - Changed the parseSOAP api, now returns the body structure,
  431. instead of a list of body elements
  432. - Changed the soapaction and namespaces for the interop server
  433. - New silabclient options
  434. - Initial encoding support
  435. VERSION 0.7 (4/19/01)
  436. -----------------------
  437. - Fixed a bug that caused nothing to work with Python 2.1
  438. - Float work arounds for WIN32 (others?)
  439. - DateTime parsing for WIN32
  440. - Beginnings of XML attribute support
  441. - Better interop
  442. VERSION 0.6 (4/18/01)
  443. -----------------------
  444. - Fixed numerous bugs (dateTime, float precision, Response Element, null
  445. strings)
  446. - Added more types
  447. - Homogeneous typed arrays
  448. - Added support for more schemas
  449. - Early Header support and mustUnderstand and actor
  450. - Added interop suite
  451. - Passes validator
  452. - Interop greatly improved, passes all client tests for Frontier,
  453. SOAP::LITE.
  454. VERSION 0.5 (4/17/01)
  455. -----------------------
  456. - Initial public release