MariaDB Connector/Python 0.9.56 beta Release Notes

You are viewing an old version of this article. View the current version here.

Download Release Notes Changelog Connector/Python Overview

Release date: 07 Apr 2020

This is a beta release of the MariaDB Connector/Python and not intended for production use.

Do not use beta releases in production!

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 Updates

  • CONPY-46: Implemented enter() and exit() methods for with statement (PEP-343). These methods are available now for connection and cursor class.
  • CONPY-47: When sending parameters PyBool_Type wasn't supported. In case a boolean type (True/False) will be provided as a parameter, it will be converted to a tinyint (MYSQL_TYPE_TINY).
  • CONPY-48: Accept List of parameters for execute() method
  • CONPY-49: Added support for Decimal type
    • When retrieving data with column type MYSQL_TYPE_NEWDECIMAL Connector/Python now loads the decimal module and converts data from string into Pythons decimal.Decimal type.
    • Wnen sending a decimal.Decimal parameter, value will be converted to string and send with type MYSQL_TYPE_NEWDECIMAL to server.
  • CONPY-51: Store field_count internelly for buffered cursors to prevent overriding/clearing the value by connection methods which directly send commands to database server.
  • CONPY-52: Fixed double free of resultset.

Changelog

For a list of changes made in this release, with links to detailed information on each push, see the changelog.

Do not use beta releases in production!

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.