Release Notes for MariaDB Connector/Node.js 2.5.6
This page is part of MariaDB's Documentation.
The parent of this page is: Release Notes for MariaDB Connector/Node.js 2.5
Topics on this page:
Overview
MariaDB Connector/Node.js is the interface between Node.js applications and MariaDB Server. MariaDB Connector/Node.js enables development of Node.js applications.
MariaDB Connector/Node.js 2.5.6 was released on 2022-02-17. This release is of General Availability (GA) maturity.
Notable Changes
The default connectTimeout value has changed from
10000
(10 seconds) to1000
(1 second). (CONJS-183)
Issues Fixed
On Windows, when
LOAD DATA LOCAL INFILE
is executed, the file name validation does not handle escaped characters. (CONJS-181)In previous releases, loading data from a file named with escaped characters results in the following error:
SqlError: (conn=60, no: 45034, SQLState: 45034) LOCAL INFILE wrong filename. 'UNESCAPED_FILENAME' doesn't correspond to query LOAD DATA LOCAL INFILE 'ESCAPED_FILENAME'
The default connectTimeout value may not be optimal for production environments and causes misleading error messages when used with connection pools. (CONJS-183)
In previous releases, the default
connectTimeout
value was10000
(in milliseconds), which is 10 seconds.Starting with this release, the default
connectTimeout
value is1000
(in milliseconds), which is 1 second.The previous default
connectTimeout
value was equal to the default acquireTimeout value. When connection pools are used with the new defaultconnectTimeout
value, connection errors are not masked by misleadingER_GET_CONNECTION_TIMEOUT
error messages.
When the connection character set is set to an unsupported value, the connector does not raise an exception. (CONJS-186)