Release Notes for MariaDB Connector/Python 1.1.0-alpha1

Overview

MariaDB Connector/Python is the interface between Python applications and MariaDB Server. MariaDB Connector/Python enables development of Python applications. It is compliant with Python DB API 2.0 (PEP-249). It depends on functions in MariaDB Connector/C.

MariaDB Connector/Python 1.1.0-alpha1 was released on 2021-08-24. It is a Alpha release of MariaDB Connector/Python.

Notable Changes

  • MariaDB Connector/C dependency changed to MariaDB Connector/C 3.2.4

  • All classes, including cursor and connection use native Python implementations. (CONPY-97)

  • Cursor result-sets are buffered. Adds the buffered attribute to the cursor class to indicate whether cursor should buffer result-sets, which defaults to True.

  • Parser checks whether to use binary or text protocol.

  • CLIENT constant added for checking capability.

  • FIELD_FLAGS constant added for use with the cursor descriptor.

  • STATUS constant added for checking server status.

  • executemany() method optimized to reduce GIL lock releases.

  • Adds the begin() method to the connection class to start new transactions.

  • Adds the select_db() method to the connection class to change the default database.

  • Adds the show_warnings() method to the connection class to show errors, warnings, and note messages from the last executed statement.

  • Adds the client_capabilities attribute to the connection class to show the capabilities of the client library.

  • Adds the server_capabilities attribute to the connection class to show the capabilities of the connected database server.

  • Adds the server_status attribute to the connection class to show the current server status.

  • Adds the open attribute to the connection class to show whether the connection is alive.

  • Adds the paramcount attribute to the cursor class to indicate the number of parameters in a statements.