Skip to content

Commit 7dee6aa

Browse files
chore(master): release 3.12.0
1 parent 3f0886f commit 7dee6aa

3 files changed

Lines changed: 34 additions & 3 deletions

File tree

‎Changelog.md‎

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,36 @@
11
# Changelog
22

3+
## [3.12.0](https://github.com/salwador/node-mysql2/compare/v3.11.3...v3.12.0) (2024-10-30)
4+
5+
6+
### Features
7+
8+
* add jsonStrings option ([#2642](https://github.com/salwador/node-mysql2/issues/2642)) ([9820fe5](https://github.com/salwador/node-mysql2/commit/9820fe51b48cadd48024956e62d9fceac2e5a880))
9+
* fully support VECTOR type results ([9576742](https://github.com/salwador/node-mysql2/commit/9576742f56f234ac50bfd099bc84c8f593971e74))
10+
11+
12+
### Bug Fixes
13+
14+
* binary parser sometimes reads out of packet bounds when results contain null and typecast is false ([#2601](https://github.com/salwador/node-mysql2/issues/2601)) ([705835d](https://github.com/salwador/node-mysql2/commit/705835d06ff437cf0bf3169dac0a5f68002c4f87))
15+
* **cache:** improve cache key serialization ([#2424](https://github.com/salwador/node-mysql2/issues/2424)) ([0d54b0c](https://github.com/salwador/node-mysql2/commit/0d54b0ca6498c823098426038162ef10df02c818))
16+
* **connection config:** remove keepAliveInitialDelay default value ([#2712](https://github.com/salwador/node-mysql2/issues/2712)) ([688ebab](https://github.com/salwador/node-mysql2/commit/688ebab84961ae82863f811fa772cfd26fbadc0e))
17+
* **createPoolCluster:** add pattern and selector to promise-based `getConnection` ([#3017](https://github.com/salwador/node-mysql2/issues/3017)) ([ab7c49f](https://github.com/salwador/node-mysql2/commit/ab7c49f24fad7b241cdc0046ead9917bbddccced)), closes [#1381](https://github.com/salwador/node-mysql2/issues/1381)
18+
* **docs:** improve the contribution guidelines ([#2552](https://github.com/salwador/node-mysql2/issues/2552)) ([8a818ce](https://github.com/salwador/node-mysql2/commit/8a818ce0f30654eba854759e6409c0ac856fc448))
19+
* handshake SSL error with AWS RDS ([#2857](https://github.com/salwador/node-mysql2/issues/2857)) ([de071bb](https://github.com/salwador/node-mysql2/commit/de071bb1d7738693793ff3ea24d5f933f6fa4792))
20+
* resolve LRU conflicts, cache loss and premature engine breaking change ([#2988](https://github.com/salwador/node-mysql2/issues/2988)) ([2c3c858](https://github.com/salwador/node-mysql2/commit/2c3c858fd0425b29f488a7cd24df749539c93aa2))
21+
* revert breaking change in results creation ([#2591](https://github.com/salwador/node-mysql2/issues/2591)) ([f7c60d0](https://github.com/salwador/node-mysql2/commit/f7c60d01a49666130f51d3847ccfdd3d6e3d33e9))
22+
* **security:** improve results object creation ([#2574](https://github.com/salwador/node-mysql2/issues/2574)) ([4a964a3](https://github.com/salwador/node-mysql2/commit/4a964a3910a4b8de008696c554ab1b492e9b4691))
23+
* **security:** improve supportBigNumbers and bigNumberStrings sanitization ([#2572](https://github.com/salwador/node-mysql2/issues/2572)) ([74abf9e](https://github.com/salwador/node-mysql2/commit/74abf9ef94d76114d9a09415e28b496522a94805))
24+
* **security:** sanitize fields and tables when using nestTables ([#2702](https://github.com/salwador/node-mysql2/issues/2702)) ([efe3db5](https://github.com/salwador/node-mysql2/commit/efe3db527a2c94a63c2d14045baba8dfefe922bc))
25+
* **security:** sanitize timezone parameter value to prevent code injection ([#2608](https://github.com/salwador/node-mysql2/issues/2608)) ([7d4b098](https://github.com/salwador/node-mysql2/commit/7d4b098c7e29d5a6cb9eac2633bfcc2f0f1db713))
26+
* setMaxParserCache throws TypeError ([#2757](https://github.com/salwador/node-mysql2/issues/2757)) ([aa8604a](https://github.com/salwador/node-mysql2/commit/aa8604a32b28c2024da006edce30d88ad22d8a06))
27+
* **stream:** reads should emit the dataset number for each dataset ([#2628](https://github.com/salwador/node-mysql2/issues/2628)) ([4dab4ca](https://github.com/salwador/node-mysql2/commit/4dab4cad2c3b9b165d6118636a179b5443e50442))
28+
* support deno + caching_sha2_password FULL_AUTHENTICATION_PACKET flow ([#2704](https://github.com/salwador/node-mysql2/issues/2704)) ([2e03694](https://github.com/salwador/node-mysql2/commit/2e0369445ba1581b427f78689a935ac3debfbf07))
29+
* **typeCast:** ensure the same behavior for `field.string()` with `query` and `execute` ([#2820](https://github.com/salwador/node-mysql2/issues/2820)) ([27e38ea](https://github.com/salwador/node-mysql2/commit/27e38ea3f084f445a8e5a4909341b5e740bdf474))
30+
* **typings:** synchronize types of sqlstring ([#3047](https://github.com/salwador/node-mysql2/issues/3047)) ([81be01b](https://github.com/salwador/node-mysql2/commit/81be01b1bce30cac3f6fcc130aaf859349c5d3d2))
31+
* **typings:** typo from `jonServerPublicKey` to `onServerPublicKey` ([#2699](https://github.com/salwador/node-mysql2/issues/2699)) ([8b5f691](https://github.com/salwador/node-mysql2/commit/8b5f6911b69b766a3732fa160049d263460da74b))
32+
* update connection cleanup process to handle expired connections and exceeding `config.maxIdle` ([#3022](https://github.com/salwador/node-mysql2/issues/3022)) ([b091cf4](https://github.com/salwador/node-mysql2/commit/b091cf49d4165e991cb7c51dd6074be1c996a98e))
33+
334
## [3.11.3](https://github.com/sidorares/node-mysql2/compare/v3.11.2...v3.11.3) (2024-09-14)
435

536

‎package-lock.json‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mysql2",
3-
"version": "3.11.3",
3+
"version": "3.12.0",
44
"description": "fast mysql driver. Implements core protocol, prepared statements, ssl and compression in native JS",
55
"main": "index.js",
66
"typings": "typings/mysql/index",

0 commit comments

Comments
 (0)