-
Notifications
You must be signed in to change notification settings - Fork 26
/
NEWS
303 lines (198 loc) · 10.5 KB
/
NEWS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
pywbem-0.7 2008-12-12
BUG FIXES:
* Fixed enumInstances and references in cim_provider to do a deep
copy of the model before filtering instances so provider writers
are less surprised. (Bart Whiteley)
* Added CIMDateTime.__cmp__() so that CIMDateTime instances can be
compared. (Bart Whiteley)
* Fixed data types of method return values for python providers.
(Bart Whiteley)
* Fixed REF array out parameters in tupleparse.py.
(Bart Whiteley)
* Fixed Array parameters with no elements. (Bart Whiteley)
* Fixed precision for real32 and real64 types. (Bart Whiteley)
* Fixed Array properties where is_array isn't set in __init__.
(Bart Whiteley)
* Added NocaseDict.__cmp__(self, other). (Bart Whiteley)
* Fixed WBEMConnection.__repr__ for anonymous connections. (Tim Potter)
* Fixed XML encoding of CIMQualifierDeclarations. (Bart Whiteley)
* Fixed EnumerateQualifiers if there are no qualifiers. (Bart Whiteley)
* Fixed InvokeMethod to only send a LOCALCLASSPATH or LOCALINSTANCEPATH,
not a CLASSPATH or INSTANCEPATH. (Bart Whiteley)
* Fix unexpected line break in basic auth header for long
credentials. (Daniel Hiltgen)
* Fix Host: HTTP header when connecting to a unix domain socket.
(Bart Whiteley)
* Fix deprecation warnings with Python 2.6. (Bart Whiteley)
ENHANCEMENTS:
* Added support for generating Pegasus provider registration MOF in
cim_provider.codegen(). (Bart Whiteley)
* Implemented methods to parse indication export requests.
(Bart Whiteley)
* Python provider code generation enhancements. (Bart Whiteley)
* Support for Pegasus Local authentication. (Bart Whiteley)
* Support for Pegasus and OpenWBEM Unix Domain Socket. (Tim and Bart)
* Added support for Pegasus non-compliant EMBEDDEDOBJECT XML attribute.
(Bart Whiteley)
* Added CIMQualifierDeclaration.tomof(). (Bart Whiteley)
* Added a powerful MOF compiler. (Bart Whiteley)
* Added property filtering to CIMInstance. (Bart Whiteley)
* Added value attribute to CIMParameter. (Bart Whiteley)
* Rigged CIMInstance to automagically update CIMInstance.path.keybindings
as key properties are set. (Bart Whiteley)
* Added cim_provider2.py: A new provider interface. Python providers
using this interface can use the cmpi-bindings project within OMC
(http://omc-project.org/) to run under any CIMOM supporting the
CMPI interface. This is prefered to the old cim_provider.py interface
that was used with the Python Provider Managers for OpenWBEM and Pegasus.
* Changed __init__.py to not import anything from cim_provider.py (or
cim_provider2.py) into the pywbem namespace. Existing providers based
on cim_provider.py can still work with a minor adjustment involving
importing CIMProvider from pywbem.cim_provider. The codegen funtion
can now be obtained with 'from pywbem.cim_provider import codegen', or
'from pywbem.cim_provider2 import codegen' or similar.
* Added wbemcli.py command line utility. (Tim Potter)
* Pass keyword args in unix domain socket connection functions down to
WBEMConnection(). (Tim Potter)
pywbem-0.6 2007-10-26
LICENSING:
* Relicensed from the GNU GPLv2 to the GNU LGPLv2.
API CHANGES:
* Add a type keyword arg and attribute to CIMQualifier, similar to
the CIMProperty object, to allow the creation of null qualifiers.
(Tim Potter)
* Remove the toxml() method from CIM object classes. Use
tocimxml().toxml() instead which specifies the CIM-XML
representation of the object. (Tim Potter)
* CIMDateTime class should now be used instead of datetime.datetime
and datetime.timedelta.
* Added a new method, CIMInstance.update_existing(). This behaves
like update() on a dict, but only assigns new values to existing
properties. It skips values for properties not already present
in the instance. This is useful for honoring PropertyList within
python providers.
BUG FIXES:
* Explicitly specify charset="utf-8" in HTTP Content-type header
as this is required now by the Pegasus cimserver. (Tim Potter)
* Parse VALUETYPE elements that contain a TYPE attribute. This
feature was introduced in version 2.2 of the CIM-XML DTD and
produced by some CIMOMs such as the Java WBEM Server. (Tim Potter)
* Don't require CreateInstance to have the path attribute set but
if it is, use the namespace from it. (Tim Potter)
* Allow extrinsic methods to return object references. (Tim Potter)
* Fix CIMInstanceName to support more numeric types of keybindings.
(Bart Whiteley)
* Fix datetime values to support utc offset. (Bart Whiteley)
* Fix http client to monitor the connection more closely (RFC 2616
section 8.2.2). Previously, a large request could cause a socket
exception with no ability to read the response and respond to
an authentication challenge.
* Fix NULL qualifiers to have a (required) type. (Martin Mrazik)
* Fix initialising CIMInstanceName keys from a NocaseDict. (Bart
Whiteley)
* Return correct namespace in path for return value from
GetInstance. (Tim Potter)
* Numerous bugfixes to Twisted Python client. (Tim Potter)
* Fix for x.509 SSL certificate handling. (Bas ten Berge)
* EnumerateClassNames() now returns an empty list instead of None
if there are no classes. (Bart Whiteley)
ENHANCEMENTS:
* Support for OpenWBEM password-less local authentication.
(Bart Whiteley)
* Support for embedded objects is described in DSP0201-2.2.0
(Bart Whiteley)
* New CIMDateTime class to deal with CIM-isms of datetimes.
Most notably, datetime deals with timezone info poorly.
(Bart Whiteley)
* Add InvokeMethod() support in Twisted Python client. (Tim
Potter)
pywbem-0.5 2006-11-21
API CHANGES:
* Many API changes were made to simplify the function and object
interface of PyWBEM. Aspects of just about every CIM operation
call and CIM object have changed. The major changes are:
- The "LocalNamespacePath" keyword argument has been renamed to
simply "namespace" for all CIM operations.
- Replaced all object location classes with CIMInstanceName, and
all instance classes with CIMInstance. CIMInstanceName now
has "host" and "namespace" attributes to fully name a
reference to an instance. The CIMInstance class now has a
"path" attribute which is of type CIMInstanceName.
- EnumerateInstances() now returns a list of CIMInstance objects
(with path attribute set) instead of a list of
CIMNamedInstance or tuples of (CIMInstanceName, CIMInstance).
- All representations of properties can now be represented with
the CIMProperty class.
* All classes now have a copy() method which return a deep copy of
the object. PyWBEM makes extensive use of dictionary objects
which are passed by reference in Python. Use the copy() method
to create and manipulate objects without modifying them by
accident.
BUG FIXES:
* Fix parse bug when a CIMInstanceName is passed as the
localobject parameter to WBEMConnection.InvokeMethod().
* Fix parsing of INSTANCE elements containing PROPERTY.REFERENCE
elements bug found by Bart Whiteley. This turns up when
processing associations. (Tim Potter)
* Handle extrinsic method calls that don't return a value or any
output parameters. (Tim Potter)
* Fixed parsing of PARAMETER.ARRAY and PARAMETER.REFARRAY to
not require optional attrs. (Bart Whiteley)
* Atomic_to_cim_xml string generation for a datetime - was missing
a >> '.' in the string. (Norm Paxton)
* InvokeMethod did not provide for 'None' in output parameters.
(Norm Paxton)
ENHANCEMENTS:
* More parts of the class provider interface have been
implemented. (Tim Potter, Bart Whiteley)
* Many case-sensitivity bugs, mostly in __cmp__ methods, were
found and fixed. (Tim Potter)
* Implemented a test suite for maintaining backward compatibility
and testing new features. (Tim Potter)
* Implemented ExecQuery. (Bart Whiteley)
* Allow a string classname to be passed as the localobject
parameter to WBEMConnection.InvokeMethod(). (Tim Potter)
* Add missing qualifiers on array properties. (Bart Whiteley)
* Added code for performing asynchronous WBEM client operations
using the Twisted Python framework. (Tim Potter)
* Allow extrinsic method calls that take parameters. (Tim Potter)
* Added cim_http.AuthError exception class. This is raised if the
CIMOM returns a 401 (Unauthorized). Now the client can
distinguish this condition, and (re)prompt for credentials.
(Bart Whiteley)
* Created cim_obj.CIMParameter class. Added return type,
class origin, propagated to CIMMethod. CIMParameter object
now allows parameter types and qualifiers to be obtained.
(Bart Whiteley)
* Implemented case-insensitive keys for property and qualifier
dictionaries, as per the CIM specification. (Tim Potter, Bart
Whitely)
pywbem-0.4 2005-11-15
BUG FIXES:
* Correctly calculate value of Content-Length HTTP header to include
opening XML stanza. (Szalai Ferenc)
* Fix syntax error when re-raising socket errors. (Pat Knight)
ENHANCEMENTS:
* Support for marshaling and unmarshaling CIM dates object into
Python datetime objects. (Szalai Ferenc)
* Experimental module for making asynchronous WBEM calls with
PyWBEM in Twisted Python. (Tim Potter)
* Add parameter type checking for object location classes. (Tim
Potter)
* Allow caller to pass in a dictionary containing the location of
the SSL certificate and key files as per the httplib.HTTPSConnection()
class constructor. (Pat Knight)
API CHANGES:
* Change association provider API functions to take a fixed
parameter for the named object instead of a keyword argument.
This breaks backward compatibility. (Tim Potter)
* Remove the CIMLocalNamespacePath class and replaced by a Python
string. (Tim Potter)
PORTABILITY:
* Don't use UserDict.DictMixin base class as it only exists in
Python 2.3 and higher. (Tim Potter)
TESTS:
* Add tests for parameter type checking for object location
classes. (Tim Potter)
* Add tests for string representation of object location classes.
(Tim Potter)