Skip to content

Commit cea8d51

Browse files
chore(master): release 3.10.0
1 parent 35c3f7b commit cea8d51

File tree

3 files changed

+69
-3
lines changed

3 files changed

+69
-3
lines changed

Changelog.md

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

3+
## [3.10.0](https://github.com/codeo-za/node-mysql2/compare/v3.9.2...v3.10.0) (2024-03-13)
4+
5+
6+
### Features
7+
8+
* add conn-level `infileStreamFactory` option ([#2159](https://github.com/codeo-za/node-mysql2/issues/2159)) ([5bed0f8](https://github.com/codeo-za/node-mysql2/commit/5bed0f8f195f615844d5dbe322ebfe47b76ba2f5))
9+
* Added updated/new error codes gathered from MySQL 8.0 source code ([#1990](https://github.com/codeo-za/node-mysql2/issues/1990)) ([85dc6e5](https://github.com/codeo-za/node-mysql2/commit/85dc6e56310db1d78078588f48714f574873eec3))
10+
* **docs:** release documentation website ([#2339](https://github.com/codeo-za/node-mysql2/issues/2339)) ([c0d77c0](https://github.com/codeo-za/node-mysql2/commit/c0d77c02d2f4ad22b46a712d270fc2654d26de4e))
11+
* improved inspection of columns ([#2112](https://github.com/codeo-za/node-mysql2/issues/2112)) ([69277aa](https://github.com/codeo-za/node-mysql2/commit/69277aa0430d951d61c485d2cd228c3cd9d4a33c))
12+
* introduce typeCast for `execute` method ([#2398](https://github.com/codeo-za/node-mysql2/issues/2398)) ([baaa92a](https://github.com/codeo-za/node-mysql2/commit/baaa92a228d32012f7da07826674f7a736e3791d))
13+
* maxVersion ssl option to tls.createSecureContext ([0c40ef9](https://github.com/codeo-za/node-mysql2/commit/0c40ef9f596fa3bc4f046f523c3595fe7065fde3))
14+
* **perf:** cache iconv decoder ([#2391](https://github.com/codeo-za/node-mysql2/issues/2391)) ([b95b3db](https://github.com/codeo-za/node-mysql2/commit/b95b3dbe4bb34e36d0d1be6948e4d8a169d28eed))
15+
* support STATE_GTIDS session track information ([2b1520f](https://github.com/codeo-za/node-mysql2/commit/2b1520f4c5c11cda30d69e8b8b20ff03ec469099))
16+
17+
18+
### Bug Fixes
19+
20+
* `ConnectionOptions` conflict between `mysql` and `mysql/promise` ([#1955](https://github.com/codeo-za/node-mysql2/issues/1955)) ([eca8bda](https://github.com/codeo-za/node-mysql2/commit/eca8bda9305ab07cf0e46f16f3f13bf1fd82787d))
21+
* `createPool` `promise` as `PromisePool` ([#2060](https://github.com/codeo-za/node-mysql2/issues/2060)) ([ff3c36c](https://github.com/codeo-za/node-mysql2/commit/ff3c36ca8b092f8ab16fc81400f6c63524cd971d))
22+
* `createPool` uri overload ([98623dd](https://github.com/codeo-za/node-mysql2/commit/98623dd7fc82cfbe556fc4b92828d382b86625d8))
23+
* `PoolCluster` typings ([3902ca6](https://github.com/codeo-za/node-mysql2/commit/3902ca6534fd64a798c5b2dc29402fe396d4a67c))
24+
* `PromisePoolConnection` import name ([76db54a](https://github.com/codeo-za/node-mysql2/commit/76db54a91e2f9861605d5975158701233879d02c))
25+
* `releaseConnection` types and promise ([4aac9d6](https://github.com/codeo-za/node-mysql2/commit/4aac9d6a1b379253fa90195ffdc98886b3b87a1b))
26+
* add `ProcedureCallPacket` to `execute` overloads ([3566ef7](https://github.com/codeo-za/node-mysql2/commit/3566ef77a1a45d2cb18b1e32e0a5f4fc325a26cd))
27+
* add `ProcedureCallPacket` to `query` overloads ([352c3bc](https://github.com/codeo-za/node-mysql2/commit/352c3bc5504d6cb8d9837771a2fa8673db7eb001))
28+
* add `ProcedureCallPacket` to promise-based `execute` overloads ([8292416](https://github.com/codeo-za/node-mysql2/commit/829241604cfd4cd45b6f5bfd7c36082287da5ca0))
29+
* add `ProcedureCallPacket` to promise-based `query` overloads ([0f31a41](https://github.com/codeo-za/node-mysql2/commit/0f31a41dcfe65d2953447c7f1a8b5c892f2ceed9))
30+
* add condition which allows code in callback to be reachable ([#2376](https://github.com/codeo-za/node-mysql2/issues/2376)) ([8d5b903](https://github.com/codeo-za/node-mysql2/commit/8d5b903f5c24ef6378d4aa98d3fd4e13d39be4db))
31+
* add decodeuricomponent to parse uri encoded special characters in host, username, password and datbase keys ([#2277](https://github.com/codeo-za/node-mysql2/issues/2277)) ([fe573ad](https://github.com/codeo-za/node-mysql2/commit/fe573addffa64a842ae37994fcd8879cefa933f2))
32+
* add package.json to exports ([#2026](https://github.com/codeo-za/node-mysql2/issues/2026)) ([09fd305](https://github.com/codeo-za/node-mysql2/commit/09fd3059cd91c655e494e40dc4365e58ed069b13))
33+
* Add typings for Connection.promise(). ([#1949](https://github.com/codeo-za/node-mysql2/issues/1949)) ([e3ca310](https://github.com/codeo-za/node-mysql2/commit/e3ca3107cbae0050d307f02514598aff4e8ecd60))
34+
* changing type files to declaration type files ([98e6f3a](https://github.com/codeo-za/node-mysql2/commit/98e6f3a0b1f2d523dc8cb62c67e49d9589c469eb))
35+
* correctly pass values when used with sql-template-strings library ([#2266](https://github.com/codeo-za/node-mysql2/issues/2266)) ([6444f99](https://github.com/codeo-za/node-mysql2/commit/6444f9953ddb08b1b98cd0d7eb0d939d25d3971a))
36+
* create `ProcedureCallPacket` typings ([09ad1d2](https://github.com/codeo-za/node-mysql2/commit/09ad1d276fcad6c9e3963d54b56c39c26a57b690))
37+
* create promise-based `PoolCluster` typings ([7f38496](https://github.com/codeo-za/node-mysql2/commit/7f38496097fa6d9cfbced604fe0ddc392b1b1979))
38+
* EventEmitter on method signatures to use spread syntax ([#2200](https://github.com/codeo-za/node-mysql2/issues/2200)) ([5d21b81](https://github.com/codeo-za/node-mysql2/commit/5d21b8127b8b6aa4b0308b6482d707d150403990))
39+
* handle prepare response with actual number of parameter definition less than reported in the prepare header. Fixes [#2052](https://github.com/codeo-za/node-mysql2/issues/2052) ([b658be0](https://github.com/codeo-za/node-mysql2/commit/b658be0cfbfdec378d71a9d9e70de4a52180cd2d))
40+
* improvements to allow to use Bun and tls ([#2119](https://github.com/codeo-za/node-mysql2/issues/2119)) ([fd44a2a](https://github.com/codeo-za/node-mysql2/commit/fd44a2ab9c08961a898edcfef5ba0035467a28ce))
41+
* keepAliveInitialDelay not taking effect ([#2043](https://github.com/codeo-za/node-mysql2/issues/2043)) ([585911c](https://github.com/codeo-za/node-mysql2/commit/585911c5d5d4b933e32e5a646574af222b63f530))
42+
* LRU constructor ([#2004](https://github.com/codeo-za/node-mysql2/issues/2004)) ([fd3d117](https://github.com/codeo-za/node-mysql2/commit/fd3d117da82cc5c5fa5a3701d7b33ca77691bc61))
43+
* malformed FieldPacket ([#2280](https://github.com/codeo-za/node-mysql2/issues/2280)) ([8831e09](https://github.com/codeo-za/node-mysql2/commit/8831e092024f8d26fe9272adec8e1a5f115735aa))
44+
* missing `parserCache` in `promise.js` ([7f35cf5](https://github.com/codeo-za/node-mysql2/commit/7f35cf5f6e69cc8aa3d2008bf5b0434c4d7ee5ac))
45+
* missing `ResultSetHeader[]` to `query` and `execute` ([f649486](https://github.com/codeo-za/node-mysql2/commit/f649486fdd0e95ad9f46c002e385986b52224f68))
46+
* missing constants in `promise.js` ([4ce2c70](https://github.com/codeo-za/node-mysql2/commit/4ce2c70313ecbe2c4c5fd73f34b4ce7d32a9c83c))
47+
* missing keys for `Types` constant ([86655ec](https://github.com/codeo-za/node-mysql2/commit/86655ec6ad8ab8deae11a3c4919ae2ee553f4120))
48+
* Missing types in "mysql" import ([#1995](https://github.com/codeo-za/node-mysql2/issues/1995)) ([b8c79d0](https://github.com/codeo-za/node-mysql2/commit/b8c79d055762e927da147d08fb375cd11d303868))
49+
* missing typings for `Charsets` constants ([01f77a0](https://github.com/codeo-za/node-mysql2/commit/01f77a0db471682e7c4f523bde1189fc5d11d43d))
50+
* missing typings for `CharsetToEncoding` constants ([609229a](https://github.com/codeo-za/node-mysql2/commit/609229a973031615cb93b5678b5932cf3714480f))
51+
* missing typings for `parserCache` ([891a523](https://github.com/codeo-za/node-mysql2/commit/891a523939120666e8d85db634262889657aff45))
52+
* missing typings for `Types` constant ([04601dd](https://github.com/codeo-za/node-mysql2/commit/04601ddbd1430b37a7a7ab8d8d63ad27bd00bb54))
53+
* move missing options to `ConnectionOptions ` ([#2288](https://github.com/codeo-za/node-mysql2/issues/2288)) ([5cd7639](https://github.com/codeo-za/node-mysql2/commit/5cd76396d962da070452800597a6f86829b35bd4))
54+
* PoolConnection redundancy when extending Connection interface in TypeScript ([7c62d11](https://github.com/codeo-za/node-mysql2/commit/7c62d1177e79b5063a11fa15a2ac4e3dc3e2a2ed))
55+
* remove acquireTimeout invalid option ([#2095](https://github.com/codeo-za/node-mysql2/issues/2095)) ([eb311db](https://github.com/codeo-za/node-mysql2/commit/eb311dbb988a4d3adada9774d43a79806a453745))
56+
* rename file of typings `Charsets` constants ([51c4196](https://github.com/codeo-za/node-mysql2/commit/51c4196d50472eb18e440ea0291f2b571a3e7585))
57+
* respect enableKeepAlive option ([#2016](https://github.com/codeo-za/node-mysql2/issues/2016)) ([f465c3e](https://github.com/codeo-za/node-mysql2/commit/f465c3edc707d34a11d9b1796b9472824fdb35df))
58+
* **server:** Added missing encoding argument to server-handshake ([#1976](https://github.com/codeo-za/node-mysql2/issues/1976)) ([a4b6b22](https://github.com/codeo-za/node-mysql2/commit/a4b6b223434d1cbdb5af9141cf3bd085459bb6b8))
59+
* sql-template-strings/tag compatibility ([#2238](https://github.com/codeo-za/node-mysql2/issues/2238)) ([f2efe5a](https://github.com/codeo-za/node-mysql2/commit/f2efe5a2ddf9e10a83bf24da2af744061b2ae597))
60+
* **stream:** premature close when it is paused ([#2416](https://github.com/codeo-za/node-mysql2/issues/2416)) ([7c6bc64](https://github.com/codeo-za/node-mysql2/commit/7c6bc642addb3e6fee1b1fdc84f83a72ff11ca4a))
61+
* **stream:** premature close when using `for await` ([#2389](https://github.com/codeo-za/node-mysql2/issues/2389)) ([af47148](https://github.com/codeo-za/node-mysql2/commit/af4714845603f70e3c1ef635f6c0750ff1987a9e))
62+
* The removeIdleTimeoutConnectionsTimer did not clean up when the … ([#2384](https://github.com/codeo-za/node-mysql2/issues/2384)) ([18a44f6](https://github.com/codeo-za/node-mysql2/commit/18a44f6a0a0b7ef41cc874d7a7bb2d3db83ea533))
63+
* **types:** add decimalNumbers to createConnection/createPool typings. fixes [#1803](https://github.com/codeo-za/node-mysql2/issues/1803) ([#1817](https://github.com/codeo-za/node-mysql2/issues/1817)) ([bb48462](https://github.com/codeo-za/node-mysql2/commit/bb48462db7b83bd4825a3d53e192e5363139ec3c))
64+
* **types:** add missing types to TypeCast ([#2390](https://github.com/codeo-za/node-mysql2/issues/2390)) ([78ce495](https://github.com/codeo-za/node-mysql2/commit/78ce4953e9c66d6cf40ffc2d252fa3701a2d4fe2))
65+
* **types:** expose TypeCast types ([#2425](https://github.com/codeo-za/node-mysql2/issues/2425)) ([336a7f1](https://github.com/codeo-za/node-mysql2/commit/336a7f1259c63d2dfe070fe400b141e89255844e))
66+
* **types:** support encoding for string type cast ([#2407](https://github.com/codeo-za/node-mysql2/issues/2407)) ([1dc2011](https://github.com/codeo-za/node-mysql2/commit/1dc201144daceab0b12193ada0f13dbb25e917f6))
67+
* Update events that are propagated from pool cluster to include remove ([#2114](https://github.com/codeo-za/node-mysql2/issues/2114)) ([927d209](https://github.com/codeo-za/node-mysql2/commit/927d20945d664c55209fd95b05b2c68904f51acc))
68+
369
## [3.9.2](https://github.com/sidorares/node-mysql2/compare/v3.9.1...v3.9.2) (2024-02-26)
470

571

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.9.2",
3+
"version": "3.10.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)