Connector/Node.js 2.1.3 Release Notes

Download | Release Notes | Changelog | Connector/Node.js Overview

Release date: 19 Nov 2019

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

Notable Changes

  • CONJS-109 Missing mysql only collation definition

  • CONJS-108 typescript escape/escapeId definition

  • CONJS-107 Change user callback function not called when no option is set and changing collation only if collation option is correct

  • CONJS-106 properly escape boolean parameter false

  • CONJS-105 Typecast provided date function erroneous parsing

  • CONJS-104 Pam authentication must permit to provide multiple passwords

PAM authentication with multiple steps can be achieved using password as array:

const mariadb = require('mariadb');

  mariadb.createConnection({host: 'mydb.com', user: 'myUser', password: ['myPwd', 'myAuthToken']})
    .then(conn => {
       ...
    })
    .catch(err => {
      ...
    });

Misc

  • better cluster error when pool is full

  • adding test coverage

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

Last updated

Was this helpful?