MariaDB Connector/Node.js 3.2.0 Release Notes

Download Release Notes Changelog Connector/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 the About 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

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.