Release Notes for MariaDB Connector/Python 1.0.3

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 is written in C and uses MariaDB Connector/C.

MariaDB Connector/Python 1.0.3 was released on 2020-10-06. It is a General Availability (GA) release of MariaDB Connector/Python.

Notable Changes

  • Adds support for data type conversion. New converter option added to connect() method. Takes a dict containing one or more conversions. Each conversion must be specified in the form of a {FIELD_TYPE: conversion_function} (CONPY-117)

Issues Fixed

  • Memory leak occurring when cursor type is a dictionary. (CONPY-119)

  • execute() and executemany() parameter checking for valid sub-types.

  • Removes statement allocation from cursor() for text protocol. (CONPY-118)

  • Integers no longer set with unsigned flag when number fits within size of an unsigned integer. (MDEV-23481)

  • Wrong type reporting for MYSQL_TYPE_JSON (CONPY-116)