MySQL Lists are EOL. Please join:

List:Announcements« Previous MessageNext Message »
From:Balasubramanian Kandasamy Date:April 25 2019 11:40am
Subject:MySQL Connector/Python 8.0.16 has been released
View as plain text  
Dear MySQL users,

MySQL Connector/Python 8.0.16 is the latest GA release version of the
MySQL Connector Python 8.0 series. The X DevAPI enables application
developers to write code that combines the strengths of the relational
and document models using a modern, NoSQL-like syntax that does not
assume previous experience writing traditional SQL.

To learn more about how to write applications using the X DevAPI, see For more information
about how the X DevAPI is implemented in MySQL Connector/Python, and its
usage, see

Please note that the X DevAPI requires at least MySQL Server version 8.0
or higher with the X Plugin enabled. For general documentation about how
to get started using MySQL as a document store, see

To download MySQL Connector/Python 8.0.16, see the "General Available
(GA) releases" tab at


Changes in MySQL Connector/Python 8.0.16 (2019-04-25, General

      * Functionality Added or Changed

      * Bugs Fixed

Functionality Added or Changed

      * Two informative text files were added: INFO_BIN contains
        information about the build environment used to
        the distribution, and INFO_SRC provides information
        the product version and the source repository from
        the distribution was produced. (Bug #29454706)

      * Django 1.11 is now the minimum supported Django version.

      * For X DevAPI applications, Connector/Python now supports
        the ability to send connection attributes (key-value
        pairs that application programs can pass to the
server at
        connect time). Connector/Python defines a default
set of
        attributes, which can be disabled or enabled. In
        addition, applications can specify attributes to be
        passed in addition to the default attributes. The
        behavior is to send the default attribute set.
        For X DevAPI applications, specify connection
        as a connection-attributes parameter in a connection
        string, or setting connection-attributes as a
        inside the connection settings parameter under the
        connection-attributes key. Both the
        and mysqlx.get_client() methods can receive this
        The connection-attributes parameter value must be
        (the same as specifying true), a Boolean value (true
        false to enable or disable the default attribute
set), or
        a list or zero or more key=value specifiers
separated by
        commas (to be sent in addition to the default
        set). Within a list, a missing key value evaluates
as an
        empty string. An example connection string:

        Application-defined attribute names cannot begin
with _
        because such names are reserved for internal
        If connection attributes are not specified in a
        way, an error occurs and the connection attempt
        For general information about connection attributes,
        Performance Schema Connection Attribute Tables

      * Connector/Python now has improved support for resetting
        sessions in connection pools. Returning a session to
        pool drops session-related objects such as temporary
        tables, session variables, and transactions, but the
        connection remains open and authenticated so that
        reauthentication is not required when the session is

      * Protobuf was updated to Protobuf 3.6.1.

      * For X DevAPI, performance for statements that are
        executed repeatedly (two or more times) is improved
        using server-side prepared statements for the second
        subsequent executions. This happens internally;
        applications need take no action and API behavior
        be the same as previously. For statements that
        repreparation occurs as needed. Providing different
        values or different offset() or limit() values does
        count as a change. Instead, the new values are
passed to
        a new invocation of the previously prepared

Bugs Fixed

      * Added a "username" alias for the "user" connection
        argument. Thanks to Matthew Woods for the patch.
        #29324966, Bug #94248)

      * Solaris 11 package files had the expected owner/group set
        as pb2user/common instead of root/bin. (Bug

      * CRUD operations would not allow referencing a renamed
        column (AS SomeLabel) from the fetched result. (Bug

      * Fixed a memory corruption issue that caused an unexpected
        halt when fetching fields. (Bug #28479054)

      * Querying an empty LONG BLOB raised an IndexError
        exception. (Bug #27897881, Bug #90519)

Enjoy and thanks for the support!

On Behalf of Oracle/MySQL Release Engineering Team,
Balasubramanian Kandasamy

MySQL Connector/Python 8.0.16 has been releasedBalasubramanian Kandasamy25 Apr