Deprecated the
dbPasswordanddbUserproperty names, which were aliases for, respectively, thepasswordanduserproperties. Using the old names now raises deprecation errors. (Bug #31599660)
Test execution configuration has been aligned with that of other MySQL Connectors. This includes unifying environment variable names; for example,
NODE_TEST_MYSQL_HOSThas been changed toMYSQLX_HOST. See the Connector/Node.js documentation for more information. (WL #13854)
Values of types other than
BIGINTwhich were stored inBIGINTcolumns were not decoded properly in result sets. (Bug #31686805, Bug #100324)Fetched results from a
SETcolumn contained only one value from the set. (Bug #31654667, Bug #100255)Added a
SERVER_GONEerror handler to avoid potential circular dependency warnings with Node.js 14.0.0 and later. (Bug #31586107, Bug #99869)The
offset()method is now available only withCollectionFindandTableSelect, as described in the X DevAPI specification. Usingoffset()with other interfaces yielded the error Error: The server has gone away. The intended behavior is available by using a combination of eithersort()ororderBy(), together withlimit(). (Bug #31418813)The
nextResult()method returned false when used with an empty result set; in such cases, it now returns true. To check whether a result set contains data, use thehasData()method. (Bug #31037211)The
column.getType()method returned the numeric value for a type identifier; now it returns the type identifier's name. For example, the method now returnsDATETIME, rather than12as before. (Bug #30922711)Improved memory management for work performed by third-party APIs. (Bug #30845472)
Added support for “lazy” decoding of binary column metadata. (Bug #30845366)