Release Notes for MariaDB Connector/Python 1.1.7
MariaDB Connector/Python is a native MariaDB connector for building Python applications on MariaDB. It is compliant with Python DB API 2.0 (PEP-249). It is written in Python and C and uses MariaDB Connector/C.
MariaDB Connector/Python 1.1.7 was released on 2023-07-10. This release is of General Availability (GA) maturity.
When creating a connection, the
tls_versionconnection attribute can be specified to select a version of the TLS protocol. (CONPY-253)
For example, to specify the connection attribute to the
conn = mariadb.connect( host="192.0.2.1", port=3306, user="db_user", password="USER_PASSWORD", ssl_ca="/path/to/ca_chain.pem", tls_version="TLSv1.3" )
When a numeric column has the
ZEROFILLoption set, a
ValueErrorexception is raised for values that have 2 or more leading zeros. (CONPY-258)
pool.get_connection()method is called and all connections are in use,
Noneis returned. (CONPY-255)
Starting with this release, a
PoolErrorexception is raised in this scenario to better match the behavior of other Python database drivers.
pool.get_connection()method is called, the same connection can be returned twice. (CONPY-256)