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.
 
 
 
 

662 lines
22 KiB

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