Skip to content

Releases: mariadb-corporation/mariadb-connector-nodejs

MariaDB Connector/Node.js 3.3.2

18 Sep 13:41
Compare
Choose a tag to compare

3.3.2 (Sept 2024)

Full Changelog

Issues Fixed

  • CONJS-301 temporary disabling TLS identity validation until certificate automatic resolution
  • CONJS-302 TypeScript type definition file for SqlError constructor does not match actual constructor
  • CONJS-297 Typescript connection option timeout in place of queryTimeout
  • CONJS-298 Typescript wrong named longlong in place of bigint

MariaDB Connector/Node.js 3.3.1

05 Jun 15:19
Compare
Choose a tag to compare

3.3.1 (May 2024)

Full Changelog

Issues Fixed

  • CONJS-288 ensure pool timeout error give details #268
  • CONJS-289 connection possibly staying in hanging state after batch execution #281
  • CONJS-290 possible ECONRESET when executing batch #281
  • CONJS-292 ensure String object parameter
  • CONJS-286 exchanges stop when closing prepare and prepareCacheLength is set to 0
  • CONJS-287 typescript missing queryoption for prepare command

MariaDB Connector/Node.js 3.3.0

21 Mar 13:43
Compare
Choose a tag to compare

3.3.0 (Mar 2024)

Full Changelog

Notable changes

  • CONJS-284 pipeline PREPARE and EXECUTE
  • CONJS-264 TLS ephemeral certificate automatic implementation
  • CONJS-279 Improve text encoding decoding

Issues Fixed

  • CONJS-281 cannot connect to 11.3+ server with character-set-collations = utf8mb4=uca1400_ai_ci
  • CONJS-277 using connection.importFile when connection is not connected to database result in error
  • CONJS-278 Possible buffer overwrite when sending query bigger than 16M
  • CONJS-282 error when using mysql_clear_test password authentication plugin
  • CONJS-283 wrong decoding of binary unsigned MEDIUMINT
  • CONJS-285 DECIMAL field wrong decoding with deprecated option 'supportBigNumbers' set

MariaDB Connector/Node.js 3.2.3

19 Dec 17:42
Compare
Choose a tag to compare

3.2.3 (Dec 2023)

Full Changelog

  • CONJS-207 Add support for connection redirection
  • CONJS-271 wrong binary decoding of 00:00:00 TIME values
  • CONJS-272 Error doesn't always have parameters according to option
  • CONJS-273 Bulk insert error when last bunch of parameters is reaching max_allowed_packet
  • CONJS-274 permit disabling BULK insert for one batch
  • CONJS-207 Add support for connection redirection

MariaDB Connector/Node.js 3.2.2

16 Oct 19:32
Compare
Choose a tag to compare

3.2.2 (Oct 2023)

Full Changelog

Issues Fixed

  • CONJS-270 Always send connection attributes, even when connectAttributes is not set
  • CONJS-269 avoid useless "set names utf8mb4" on connection creation if not needed
  • CONJS-268 importFile method doesn't always throw error when imported commands fails #253
  • CONJS-267 Ensure that option collation with id > 255 are respected

MariaDB Connector/Node.js 3.2.1

14 Sep 16:01
Compare
Choose a tag to compare

3.2.1 (Sep 2023)

Full Changelog

Notable changes

  • CONJS-262 Binary result-set parsing performance improvement, avoiding to chromium slow issue https://bugs.chromium.org/p/v8/issues/detail?id=7161
  • CONJS-265 permit configuration of console warning message to be exported
  • CONJS-266 Option infileStreamFactory addition for compatibility

Issues Fixed

  • CONJS-261 TypeScript missing logParam connection option
  • CONJS-263 ensure respecting server collation

MariaDB Connector/Node.js 3.2.0

19 Jun 15:32
Compare
Choose a tag to compare

3.2.0 (Jun 2023)

Full Changelog

Notable changes

  • CONJS-250 'undefined' parameters are now permitted, for compatibility with mysql/mysql2 behavior
  • CONJS-257 permit to import sql file directly

new APIs:

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

example:

    await conn.importFile({
        file: '/tmp/someFile.sql', 
        database: 'myDb'
    });

Issues Fixed

  • CONSJ-252 missing deprecated option supportBigNumbers and bigNumberStrings in Typescript
  • CONJS-254 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
  • CONJS-255 In some case, pipelining was use even option explicitly disable it
  • CONJS-256 method changeUser can lead to error when using multi-authentication and pipelining
  • CONJS-258 All eventEmitters methods are not available on connections

MariaDB Connector/Node.js 3.1.2

03 May 15:17
Compare
Choose a tag to compare

3.1.2 (May 2023)

Full Changelog

Notable changes

  • CONJS-249 add connection.listeners function to permit TypeORM compatibility

Issues Fixed

  • CONJS-247 Improve error message when having set named parameter option and executing standard question mark command
  • CONJS-248 Ensuring not using importing file after pool.end()

MariaDB Connector/Node.js 3.1.1

17 Mar 20:24
Compare
Choose a tag to compare

3.1.1 (Mar 2023)

Full Changelog

Issues Fixed

  • CONJS-246 pool not listening to 'error' event might exit application on error
  • CONJS-240 Repeating calling the same procedure gets a release prepare error.
  • CONJS-244 correction for node.js 12 compatibility
  • CONJS-245 batch failing when using bulk and metaAsArray

MariaDB Connector/Node.js 3.1.0

08 Feb 16:03
Compare
Choose a tag to compare

3.1.0 (Feb 2023)

Full Changelog

Notable changes

Timezone handling (CONJS-237)

Connector now set session timezone, solving issue with time function,
removing needs of client side conversion.

This requires that when using timezone options, to having server TZ data filled in case client timezone differ from server.

Performance

  • CONJS-230 better metadata parsing performance
  • CONJS-229 performance improvement when parsing lots of parameter
  • CONJS-238 faster execution for known length packet

Other changes

  • CONJS-225 Make result set's meta property non-enumerable
  • CONJS-235 Allow to pass TypeScript generic types without need of "as"

Issues Fixed

  • CONJS-231 executing batch and when parameter can be too long to fit in one mysql packet, parameter can have 4 byte missing
  • CONJS-236 datatype TIME wrong binary decoding when not having microseconds
  • CONJS-239 When using connection with callback, pre-commands (like initSql) might not always be executed first
  • CONJS-232 in case of a long query running, connection.destroy() will close connection, but leaving server still running query for some time
  • CONJS-240 adding a Prepare result wrapper to avoid multiple close issue with cache
  • CONJS-241 metaAsArray missing option in typescript description