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.
 
 
 
 

651 lines
22 KiB

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