^^^^^^^^^^^^^^
This version contains all fixes up to version 0.30.2.
Released: 2021-06-10
**Incompatible changes:**
* Method 'NotificationReceiver.notifications()' now raises JMS errors returned
by the HMC as a new exception 'NotificationJMSError'. JSON parse errors
are now raised as a new exception 'NotificationParseError'. Both new
exceptions are based on a new base exception 'NotificationError'. (issue 770)
* By default, the zhmcclient now verifies the HMC certificate using the
CA certificates in the Python 'certifi' package. This can be controlled with
a new 'verify_cert' init parameter to the 'zhmcclient.Session' class. (issue 779)
* The 'properties' attribute of the resource classes (e.g. 'Partition') now
is an immutable 'DictView' object in order to enforce the stated rule that
that callers must not modify the properties dictionary. If your code used to
make such modifications nevertheless, it will now get a 'TypeError' or
'AttributeError' exception, dependent on the nature of the modification.
**Bug fixes:**
* Fixed a missing argument in 'NotificationListener.on_message()' by pinning
stomp.py such that 6.1.0 and 6.1.1 are excluded. (issue 763)
* Fixed a package dependency issue when setting up the development environment
with the "pywinpty" package on Python 2.7 and Windows. (issue 772)
* JMS errors returned by the HMC are now handled by raising a new exception
'NotificationJMSError' in the 'NotificationReceiver.notifications()' method.
Previously, an exception was raised in the thread running the notification
receiver, rendering it unusable after that had happened. (issue 770)
* Fixed a TypeError for concatenating str and bytes. (issue 782)
**Enhancements:**
* Added a 'verify_cert' init parameter to the 'zhmcclient.Session' class to
enable verification of the server certificate presented by the HMC during
SSL/TLS handshake. By default, the certificate is validated against
the CA certificates provided in the Python 'certifi' package. (issue 779)
* Added catching of OSError/IOError exceptions raised by the 'requests' package
for certain certificate validation failures, re-raising such exceptions as a
pywbem.ConnectionError.
* Docs: Added a section "Security" to the documentation that describes security
related aspects in the communication between the zhmcclient and the HMC.
(related to issue 779)
* Docs: Added a section "Troubleshooting" to appendix of the documentation that
currently lists two cases of communication related issues.
(related to issue 779)
* The 'properties' attribute of the resource classes (e.g. 'Partition') now
is an immutable 'DictView' object provided by the 'immutable-views' package,
in order to enforce the stated rule that that callers must not modify the
properties dictionary of resource objects.