MySQL Forums
Forum List  »  Announcements

MySQL Connector/Python 2.2.1 m2 Development Release has been released
Posted by: Piotr Obrzut
Date: September 13, 2016 09:58AM

Dear MySQL users,

MySQL Connector/Python 2.2.1 M2 is the second development release of the
MySQL Connector Python 2.2 series. This series adds support for the new
X DevAPI. 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
http://dev.mysql.com/doc/x-devapi-userguide/en/. For more information
about how the X DevAPI is implemented in MySQL Connector/Python, and its
usage, see http://dev.mysql.com/doc/dev/connector-python.

Please note that the X DevAPI requires at least MySQL Server version
5.7.12 or higher with the X Plugin enabled. For general documentation
about how to get started using MySQL as a document store, see
http://dev.mysql.com/doc/refman/5.7/en/document-store.html.

To download MySQL Connector/Python 2.2.1 M2, see the "Development
Releases" tab at http://dev.mysql.com/downloads/connector/python/

Changes in MySQL Connector/Python 2.2.1 (2016-09-13)

MySQL Connector/Python 2.2.1 has a prerequisite of Protobuf
3, and is available in a more limited number of distribution
formats than usual (RPM and tar.gz packages only).

* X DevAPI Notes

* Functionality Added or Changed

* Bugs Fixed

X DevAPI Notes

* Views can now be accessed like tables:

+ Schema.get_tables() now also returns a Table object
for each existing View.

+ Schema.get_table(name) now also returns a Table
object if the given name is a View.

+ All the operations available through a Table object
are also available if the underlying object is a
View. (The client will not do any validation in this
regard.)

+ A new Table.is_view() method determines whether the
underlying object is a View.

* The Collection.add([]).execute() construct now is treated
as a no-operation and does not return an error. This is
true even if there is no connection to the server or the
collection does not exist on the server. The reasoning is
that a request to add nothing to something that does not
exist is trivially fulfilled.

* Connector/Python now implements support for these X
DevAPI features:

+ Client failover

+ URI connection format

Functionality Added or Changed

* Protobuf support was upgraded from Protobuf 2 to Protobuf
3 (which means that Protobuf3 is now a prerequsite for
Connector/Python).

Bugs Fixed

* Attempts to fetch a value having the BIT data type
produced an error. (Bug #23729357)

* The fetchone() result set method and close() session
method were missing. They are now included. (Bug
#23568257, Bug #23550743)

* Session creating using a URL-format connection string
failed. (Bug #23550057)


Documentation
--------------------

Online:http://dev.mysql.com/doc/connector-python/en/index.html
The source distribution includes the manual in various formats under
the docs/ folder.

Reporting Bugs
--------------------

We welcome and appreciate your feedback and bug reports:
http://bugs.mysql.com/

Enjoy and thanks for the support!

On Behalf of the MySQL/ORACLE RE Team,
Piotr Obrzut

Options: ReplyQuote


Subject
Views
Written By
Posted
MySQL Connector/Python 2.2.1 m2 Development Release has been released
1771
September 13, 2016 09:58AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.