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.
 
 
 
 

656 lines
22 KiB

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