Documentation Home
MySQL Connector/Node.js Release Notes
Download these Release Notes
PDF (US Ltr) - 92.8Kb
PDF (A4) - 93.6Kb
HTML Download (TGZ) - 27.8Kb
HTML Download (Zip) - 55.3Kb


MySQL Connector/Node.js Release Notes  /  Changes in MySQL Connector/Node.js 8.0  /  Changes in MySQL Connector/Node.js 8.0.22 (2020-10-19, General Availability)

Changes in MySQL Connector/Node.js 8.0.22 (2020-10-19, General Availability)

Functionality Added or Changed

  • Improved test execution configuration to better align with other connectors. For example, unified environment variable names (such as changing NODE_TEST_MYSQL_HOST to MYSQLX_HOST). See the Connector/Node.js documentation for usage information.

Bugs Fixed

  • Non-BIGINT values stored in BIGINT columns were not decoded properly in result sets. (Bug #31686805, Bug #100324)

  • Fetched results from a SET column would only contain one value from the set. (Bug #31654667, Bug #100255)

  • Deprecated the dbPassword and dbUser property names; which were aliases to the password and user properties. Their usage now emits deprecation level errors. (Bug #31599660)

  • Added a SERVER_GONE error handler to avoid potential circular dependency warnings with Node.js >= 14.0.0. (Bug #31586107, Bug #99869)

  • Restricted the offset() method to the CollectionFind and TableSelect APIs, as described in the X DevAPI specification. Using offset() on other APIs yielded this error: "Error: The server has gone away". Instead, this intended behavior is available by using a combination of "sort()" or "orderBy()" and "limit()". (Bug #31418813)

  • The nextResult() method returned false against an empty result set, and now returns true. Alternatively, use hasData() to check if a result set has data. (Bug #31037211)

  • The column.getType() method now returns the stringified type identifier when before it returned its numeric value. For example, DATETIME is now returned instead of 12. (Bug #30922711)

  • Improved memory management for work performed by 3rd party APIs. (Bug #30845472)

  • Added support for lazy decoding of binary column metadata content. (Bug #30845366)