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.
 
 
 
 

645 lines
22 KiB

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