Documentation Home
MySQL Connector/Node.js Release Notes
Download these Release Notes
PDF (US Ltr) - 134.5Kb
PDF (A4) - 134.6Kb


MySQL Connector/Node.js Release Notes  /  Changes in MySQL Connector/Node.js 8.0  /  Changes in MySQL Connector/Node.js 8.0.33 (2023-04-18, General Availability)

Changes in MySQL Connector/Node.js 8.0.33 (2023-04-18, General Availability)

Bugs Fixed

  • Updated the underlying TypeScript type declarations for method parameters to allow BigInt values. (Bug #35047820)

  • Removed the getAutoIncrementValue() declaration from the RowResult TypeScript API definition. (Bug #34970587)

  • Moved the getAffectedItems() method from the RowResult API, where it always returned 0, to the SqlResult API. (Bug #34970001)

  • Made the "DocumentOrJSON" definition in the "CollectionDocuments" namespace less strict to allow any kind of JavaScript object (not just Plain Old JavaScript Objects) as: export type DocumentOrJSON = object | string. This improves TypeScript compatibility with --strict enabled. (Bug #34959626)

  • The getAutoIncrementValue() method's return value would lose precision when a BIGINT AUTO_INCREMENT column contained a number greater than Number.MAX_SAFE_INTEGER in JavaScript. (Bug #34896695)

  • The Table.select() method's TypeScript definition did not specify possible argument types; and this resulted in an error when the TypeScript compiler (tsc) compiled the application code to JavaScript. (Bug #109189, Bug #34947621)