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.
 
 
 
 

666 lines
22 KiB

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