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. This release is of General Availability (GA) maturity.

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

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

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

  • 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)