All pages
Powered by GitBook
1 of 1

Loading...

Connector/Node.js 3.2.0 Release Notes

Download | Release Notes | Changelog |

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 page

Notable changes

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

  • permit to import sql file directly

  • Node.js 20 is now tested and supported

API addition

  • importFile(options) → Promise

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

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

example:

Issues Fixed

  • missing deprecated option supportBigNumbers and bigNumberStrings in Typescript

  • 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

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

  • 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

  • CONJS-250
    CONJS-257
    CONJS-253
    CONJS-252
    CONJS-254
    CONJS-255
    CONJS-256
    await conn.importFile({
            file: '/tmp/someFile.sql', 
            database: 'myDb'
        });

    The most recent release of is:

    Connector/Node.js 3.4.5 Download Now

    Connector/Node.js Overview
    About MariaDB Connector/Node.js
    MariaDB Connector/Node.js

    This page is: Copyright © 2025 MariaDB. All rights reserved.