Skip to content

MariaDB Connector/Node.js 3.1.0

Compare
Choose a tag to compare
@dbart dbart released this 08 Feb 16:03

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