[release-announce] tooz 3.0.0

no-reply at openstack.org no-reply at openstack.org
Thu Aug 4 10:22:26 UTC 2022


We are satisfied to announce the release of:

tooz 3.0.0: Coordination library for distributed systems.

The source is available from:

    https://opendev.org/openstack/tooz

Download the package from:

    https://pypi.org/project/tooz

For more details, please see below.

3.0.0
^^^^^


New Features
************

* Added TLS support for MySQL driver.

  The following TLS-related options now can be specifed in the MySQL
  connection URL as query parameters

  "ssl_ca"
     path to the CA bundle to use for verifying server certificate

  "ssl_capath"
     path to folder with CA bundle files

  "ssl_cert"
     path to client public key certificate file

  "ssl_key"
     path to client private key file

  "ssl_check_hostname"
     verify server hostname against its certificate, accepted values
     are "true", "1", "yes" or "false", "0", "no" (default is "true")

  "ssl_verify_mode"
     whether to verify TLS connection accepted values are "true", "1",
     "yes", "required" or "false", "0", "no", "none", or "optional"

  "ssl_cipher"
     list of permissible ciphers for connection encryption


Bug Fixes
*********

* [etcd3gw] Membership lease can be already expired to the moment of
  lease refreshing. In this case heartbeat will try to refresh expired
  lease forever without success. The patch checks if lease is expired
  and creates new one.

* Fixs inappropriate logic in memcachedlock.release()

Changes in tooz 2.11.1..3.0.0
-----------------------------

e3de0e6 Cap protobuf < 4.x
6b2216e Fix inappropriate logic in memcachedlock.release()
ae5adcf [etcd3gw] create new lease if expired.
b21c20f Drop python3.6/3.7 support in testing runtime
81c6296 Add TLS support for MySQL driver


Diffstat (except docs and test files)
-------------------------------------

.zuul.yaml                                         | 108 ++++++++++-----------
...if_expired_during_refresh-1d631d36c21ea28c.yaml |   7 ++
...emcached-fix-lock-release-I6fc33b8e0a88510.yaml |   4 +
.../notes/mysql-tls-support-88941e2ebaf938b4.yaml  |  33 +++++++
setup.cfg                                          |   6 +-
tooz/drivers/etcd3gw.py                            |  12 ++-
tooz/drivers/memcached.py                          |   9 +-
tooz/drivers/mysql.py                              |  38 +++++++-
10 files changed, 208 insertions(+), 67 deletions(-)







More information about the Release-announce mailing list