MariaDB Connector/Node.js 2.0.5 Release Notes

Download Release Notes Changelog Connector/Node.js Overview

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 About MariaDB Connector/Node.js page

Notable Changes

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

Pool improvement

New Options

OptionDescriptionTypeDefault
`idleTimeout`Indicate idle time after which a pool connection is released. Value must be lower than @@wait_timeout. 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.

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.


Be notified of new MariaDB Server releases automatically by subscribing to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.

MariaDB may already be included in your favorite OS distribution. More information can be found on the Distributions which Include MariaDB page.

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.