Release Notes for MariaDB Connector/Node.js 3.3.1

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 3.3.1 was released on 2024-06-05. This release is of General Availability (GA) maturity.

Connector/Node.js 3.3 is the successor to Connector/Node.js 3.2 and is fully compatible with Connector/Node.js 3.2. Users of Connector/Node.js 3.2 should shift to Connector/Node.js 3.3.

Notable Changes

  • A pool timeout error now returns connection timeout details (CONJS-288)

Issues Fixed

  • Connection can possibly stay in hang state after batch execution (CONJS-289)

    • When using batch with big values, a connection might be in a wrong state, which can result in Server error '(Got an error reading communication packets)' (CONJS-290)

    • Client TCP error ECONRESET

  • Connector does not permit passing a String object (≠ native string) parameter (CONJS-292)

    • const objVal = new String('myValue');

  • When using a prepared statement and explicitly disabling prepare cache using prepareCacheLength=0, the connector might not retrieve results anymore (CONJS-286)

  • Typescript is missing QueryOption for the prepare command (CONJS-287)

  • When using batch, JavaScript Date values that are not in the range 1970-01-01 00:00:01 - 2038-01-19 03:14:07 are saved as null (CONJS-293)