All pages
Powered by GitBook
1 of 1

Loading...

Connector/Node.js 2.0.5 Release Notes

Download | Release Notes | Changelog |

Release date: 13 May 2019

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

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

Notable Changes

  • [] permit set numeric parameter bigger than javascript 2^53-1 limitation

  • [] error when reading datetime data and timezone option is set

  • [] parse Query when receiving LOAD LOCAL INFILE, to prevent man in the middle attack

  • [] support named timezones and daylight savings time

Pool improvement

New Options

Option
Description
Type
Default

This permits to set a minimum pool size, meaning that after a period of inactivity, the pool will decrease the inner number of connection to a minimum number of connections (defined with minimumIdle). By default, connections not used after idleTimeout (default to 30 minutes) will be discarded, avoiding reaching server .

Pool handle connection creation automatically, with now some delayed after failing to establish a connection, to avoid using CPU unnecessary. Authentication error in pool have now a better handling.

Changelog

For a complete list of changes made in this release, with links to detailed information on each push, see the .

[CONJS-63] add type definitions for typescript

  • [CONJS-64] handle Error packet during resultset to permit query timeout with SET STATEMENT max_statement_time= FOR

  • [CONJS-66] SET datatype handling (returning array)

  • [CONJS-67] Changing user does not takes in account connector internal state (transaction status)

  • idleTimeout

    Indicate idle time after which a pool connection is released. Value must be lower than . In seconds (0 means never release)

    integer

    1800

    minimumIdle

    Permit to set a minimum number of connection in pool. Recommendation is to use fixed pool, so not setting this value.

    integer

    set to connectionLimit value

    CONJS-69
    CONJS-68
    CONJS-58
    CONJS-62
    changelog

    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
    @@wait_timeout
    @@wait_timeout

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