MariaDB Connector/Node.js 3.2.0 Release Notes

The most recent Stable (GA) release of MariaDB Connector/Node.js is:MariaDB Connector/Node.js 3.4.2

DownloadRelease NotesChangelogConnector/Node.js Overview

Release date: 19 Jun 2023

MariaDB Connector/Node.js 3.2.0 is a Stable (GA) release.

For an overview of MariaDB Connector/Node.js see theAbout MariaDB Connector/Node.js page

Notable changes

  • CONJS-250 'undefined' parameters are now permitted, for compatibility with mysql/mysql2 behavior

  • CONJS-257 permit to import sql file directly

  • CONJS-253 Node.js 20 is now tested and supported

API addition

  • importFile(options) → Promise

  • connection.importFile({file:'...', 'database': '...'}) → Promise

  • pool.importFile({file:'...', 'database': '...'}) → Promisepromise)

example:

await conn.importFile({
        file: '/tmp/someFile.sql', 
        database: 'myDb'
    });

Issues Fixed

  • CONJS-252 missing deprecated option supportBigNumbers and bigNumberStrings in Typescript

  • CONJS-254 ensuring option connectTimeout is respected : timeout is removed when socket is successfully established, in place of returning connection object. Wasn't set when using pipe/unix socket

  • CONJS-255 In some case, pipelining was use even option explicitly disable it

  • CONJS-256 method changeUser can lead to error when using multi-authentication and pipelining

  • CONJS-258 All eventEmitters methods are not available on connections

  • CONJS-259 SqlError sqlMessage property alias for text addition

Last updated

Was this helpful?