Web lists-archives.com

MySQL Connector/Node.js 8.0.14 has been released




Dear MySQL users,

MySQL Connector/Node.js is a new Node.js driver for use with the X
DevAPI. This release, v8.0.14, is a maintenance release of the
MySQL Connector/Node.js 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.

MySQL Connector/Node.js can be downloaded through npm (see
https://www.npmjs.com/package/@mysql/xdevapi for details) or from
https://dev.mysql.com/downloads/connector/nodejs/.

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/Node.js, and
its usage, see http://dev.mysql.com/doc/dev/connector-nodejs/.

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
http://dev.mysql.com/doc/refman/8.0/en/document-store.html.

Changes in MySQL Connector/Node.js 8.0.14 (2019-01-21, General Availability)

Functionality Added or Changed


     * Removed deprecation notices from the count() methods.

     * Setting the default schema via the connection now sets
       the default schema on the server; meaning, subsequent
       queries executed using session.sql() do not need to
       specify the schema.

Bugs Fixed


     * Setting the default schema with the connection URI using
       a schema name that contained special characters (that
       would need to be percent-encoded) would result in the
       percent-encoded name being used instead of the original
       one (e.g. "%25%26%5E*%5E_" instead of "%&^*^_"). (Bug
       #28990682)

     * An error is once again thrown if sslOption's 'ca' is
       different than the certificate authority used to sign the
       server certificate, or if the server certificate has been
       revoked. (Bug #28977649)

     * Attempting to use false-like values such as 0, false,
       null, and undefined would emit errors when updating or
       inserting documents in a collection or rows in a table.
       Additionally, now boolean values become numeric values
       (true=1, false=0) while null and undefined are converted
       to MySQL's NULL type. (Bug #28970727, Bug #93315)

     * Collection.existsInDatabase() always returned true if any
       other collection existed in the database. (Bug #28745240)

     * Configuring a default schema from the connection string
       would create the schema if it did not exist. Now, an
       "Unknown database" error is thrown instead.

     * An unexpected notice could result in an unexpected halt
       of the client.

On Behalf of Oracle/MySQL Release Engineering Team,
Hery Ramilison

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/mysql