> For the complete documentation index, see [llms.txt](https://mariadb.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mariadb.com/docs/release-notes/connectors/node.js/2.x/2.0.5.md).

# Connector/Node.js 2.0.5 Release Notes

Release notes for MariaDB Connector/Node.js 2.0.5, a Stable (GA) release published 13 May 2019.

{% hint style="info" %}

<p align="center">The most recent release of <a href="/docs/connectors/mariadb-connector-nodejs.md">MariaDB Connector/Node.js</a> is: <a href="/docs/release-notes/connectors/node.js/3.x/3.5.4.md"><strong>3.5.4</strong></a></p>

<p align="center"><a href="https://mariadb.com/downloads/connectors/connectors-data-access/nodejs-connector" class="button primary">Download Connector/Node.js 3.5.4</a></p>
{% endhint %}

[Download](https://mariadb.com/downloads/#connectors) | [Release Notes](/docs/release-notes/connectors/node.js/2.x/2.0.5.md) | [Changelog](/docs/release-notes/connectors/node.js/changelogs/2.x/2.0.5.md) | [Connector/Node.js Overview](/docs/connectors/mariadb-connector-nodejs/mariadb-connector-node-js-guide.md)

**Release date:** 13 May 2019

MariaDB Connector/Node.js 2.0.5 is a [***Stable***](/docs/release-notes/community-server/about/release-criteria.md) ***(GA)*** release.

{% hint style="success" %}
**For an overview of MariaDB Connector/Node.js see the** [**About MariaDB Connector/Node.js**](/docs/connectors/mariadb-connector-nodejs/mariadb-connector-node-js-guide.md) **page**
{% endhint %}

## Notable Changes

* \[[CONJS-69](https://jira.mariadb.org/browse/CONJS-69)] permit set numeric parameter bigger than javascript 2^53-1 limitation
* \[[CONJS-68](https://jira.mariadb.org/browse/CONJS-68)] error when reading datetime data and timezone option is set
* \[[CONJS-58](https://jira.mariadb.org/browse/CONJS-58)] parse Query when receiving LOAD LOCAL INFILE, to prevent man in the middle attack
* \[[CONJS-62](https://jira.mariadb.org/browse/CONJS-62)] support named timezones and daylight savings time
* \[[CONJS-63](https://jira.mariadb.org/browse/CONJS-63)] add type definitions for typescript
* \[[CONJS-64](https://jira.mariadb.org/browse/CONJS-64)] handle Error packet during resultset to permit query timeout with SET STATEMENT max\_statement\_time= FOR
* \[[CONJS-66](https://jira.mariadb.org/browse/CONJS-66)] SET datatype handling (returning array)
* \[[CONJS-67](https://jira.mariadb.org/browse/CONJS-67)] Changing user does not takes in account connector internal state (transaction status)

### Pool improvement

New Options

| Option        | Description                                                                                                                                                                                                                 | Type      | Default                        |
| ------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- | ------------------------------ |
| `idleTimeout` | Indicate idle time after which a pool connection is released. Value must be lower than [@@wait\_timeout](/docs/server/server-management/variables-and-modes/server-system-variables.md). 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* |

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 [@@wait\_timeout](/docs/server/server-management/variables-and-modes/server-system-variables.md).

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 [changelog](/docs/release-notes/connectors/node.js/changelogs/2.x/2.0.5.md).

<sub>*This page is: Copyright © 2026 MariaDB. All rights reserved.*</sub>

{% @marketo/form formid="4316" formId="4316" %}
