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.
 
 
 
 

639 lines
22 KiB

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