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.
 
 
 
 

647 lines
22 KiB

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