MariaDB Connector/Python 1.1.0 Alpha 2 Release Notes
Note: This page describes features in the source repository for the MariaDB Connector/Python. There are currently no official packages or binaries available for download which contain the version of the driver described here. If you want to try out any of the new features described here you will need to get and run the code yourself.
Release date: 22 Aug 2021
This is an alpha release of the MariaDB Connector/Python and not intended for production use.
Do not use alpha releases in production!
For a description of this library see the MariaDB Connector/Python documentation .
MariaDB Connector/Python enables python programs to access MariaDB and MySQL databases, using an API which is compliant with the Python DB API 2.0 (PEP-249). It is written in C and uses MariaDB Connector/C client library for client server communication.
Notable changes
- CONPY-162: Added attributes for obtaining version of MariaDB Connector/C library:
- mariadb.client_version returns an integer, describing the version in the following format: MAJOR_VERSION * 10000 + MINOR_VERSION * 1000 + PATCH_VERSION
- mariadb_client_version_info returns client version in tuple format
Bug fixes
- CONPY-159: Parse integer instead of short integer when retrieving server status
- CONPY-160: ConnectionPool.get_connection might return None due to low precision of time.monotonic()
- CONPY-161: ConnectionPool.connection_count returns list of connections instead of a numeric value
Installation
MariaDB Connector/Python 1.1.0-alpha2 can be obtained from central python repository:
$ pip3 install --pre mariadb
Changelog
For a list of changes made in this release, with links to detailed information on each push, see the changelog.
Links:
- Documentation
- Bug tracker
- Sources are hosted on Github
Do not use alpha releases in production!