Changelog.md
PoolConnection as subclass of Connection (#4183) (97855a6)null-terminated string read to packet end (fixes a potential OOB read reported by Doruk Tan Ozturk (peaktwilight)) (#4161) (91c5229)URL-defined connection options (fixes a potential config injection vulnerability reported by Doruk Tan Ozturk (peaktwilight)) (#4162) (3123b4e)supportBigNumbers, bigNumberStrings, dateStrings, and timezone options to QueryOptions (#4127) (b274e72)QueryValues to callback-based methods (#4129) (2ad5f0b)ExecuteValues "nested" params (#4133) (3f94950)Raw and Uint8Array params (#4132) (bde9aec)Symbol.dispose and Symbol.asyncDispose support for Connections, Pools, and Pool Clusters (#4112) (1e612dc)@types/node as a peer dependency (#4108) (5f8ac97)PromisePoolCluster.of returns PromisePoolCluster instead of PoolNamespace (#3261) (be22202)VECTOR packets in static parser (#3379) (603c246)v2 requires commonjs type explicitly (#3209) (cdc9415)getConnection (#3017) (ab7c49f), closes #1381config.maxIdle (#3022) (b091cf4)jonServerPublicKey to onServerPublicKey (#2699) (8b5f691)for await (#2389) (af47148)ResultSetHeader[] to query and execute (f649486)ProcedureCallPacket to execute overloads (3566ef7)ProcedureCallPacket to query overloads (352c3bc)ProcedureCallPacket to promise-based execute overloads (8292416)ProcedureCallPacket to promise-based query overloads (0f31a41)ProcedureCallPacket typings (09ad1d2)createPool uri overload (98623dd)PoolCluster typings (3902ca6)PoolCluster typings (7f38496)parserCache in promise.js (7f35cf5)promise.js (4ce2c70)Types constant (86655ec)Charsets constants (01f77a0)CharsetToEncoding constants (609229a)parserCache (891a523)Types constant (04601dd)Charsets constants (51c4196)createPool promise as PromisePool (#2060) (ff3c36c)lru-cache reset method to clear (114f266)lru-cache dependency, allowing it do dedupe and be shared between mysql2 and named-placeholders - https://github.com/sidorares/node-mysql2/issues/1711, https://github.com/mysqljs/named-placeholders/pull/19chai and mocha moved to devDependencies #1774TCP_NODELAY flag enabled, avoiding long connect timeout in some scenarios #17513.0.0-rc.1 ( 6/11/2021 )
SUM() and AVG()
return types difference with mysqljs/myql #16492.3.3 ( 14/11/2021 )
2.3.3-rc.0 ( 5/11/2021 )
2.3.2 ( 16/10/2021 )
2.3.1 ( 15/10/2021 )
2.3.0 ( 5/08/2021 )
2.2.5 ( 21/09/2020 )
2.2.4 ( 21/09/2020 )
2.2.3 ( 21/09/2020 )
2.2.2 ( 19/09/2020 )
2.2.1 ( 18/09/2020 )
2.2.0 ( 18/09/2020 )
dateStrings with specific types #12002.1.0
enableKeepAlive connection option #1081, #6832.0.2
2.0.1
2.0.0
2.0.0-alpha1
authPlugins api replacing
authSwitchHandler, added caching_sha2_password
and mysql_native_password as default plugins.
Added tests for mysql 8 and ssl. Mysql 8 server
now supported with default settings. #1021, #906, #991infileStreamFactory to be specified in query options.1.7.0
1.6.5 (08/02/2019)
1.6.4 (08/11/2018)
1.6.3 (06/10/2018)
1.6.2 (05/10/2018)
1.6.1 (02/08/2018)
1.6.0 (01/08/2018)
PromiseConnection.ping() ignoring errors #813.promise() method shortcut on Pool,
Connection and PoolConnection #810createQuery, raw, escape, escapeId,
format #799acquire and release and release events
on Connection #783ujis #772ECONNRESET #7681.5.3 (19/03/2018)
1.5.2 (06/02/2018)
1.5.1 (19/11/2017)
1.5.0 (13/11/2017)
1.4.2 ( 27/08/2017 )
fix null value incorrectly returned as empty string from int values in text protocol #637
build: bump to node 8.4
promise wrapper: use promise implementation passed to PromisePool #631, #632
1.4.1 ( 16/08/2017 )
1.4.0 ( 30/07/2017 )
1.3.6 ( 12/07/2017 )
1.3.5 ( 15/06/2017 )
1.3.4 ( 13/06/2017 )
1.3.3 ( 8/06/2017 )
1.3.2 ( 31/05/2017 )
1.3.1 ( 31/05/2017 )
1.3.0 ( 29/05/2017 )
1.2.0 ( 17/02/2017 )
1.1.2 ( 15/11/2016 )
1.1.1 ( 06/10/2016 )
1.1.0 ( 20/09/2016 )
1.0.0 ( 16/09/2016 )
1.0.0-rc.13 ( 14/09/2016 )
1.0.0-rc-12 ( 06/09/2016 )
1.0.0-rc-11 ( 14/08/2016 )
pool.query
and pool.execute helpers #3691.0.0-rc-10 ( 09/08/2016 )
ssl: do not use deprecated tls.createSecurePair if TLSSocket is available #367, 363
use supportBigNumbers and bigNumberStrings flags in parser
pass supportBigNumbers and bigNumberStrings from
query({sql, ...opts}) and execute({sql, ...opts})
type of calls
use supportBigNumbers and bigNumberStrings as part of parser key
binary protocol: use long.js to calculate resulting number from two 32 byte valuse
text protocol: fix in detecting potentially big number. Split parseLong* into functions with and without big number checks, use no check version if type is < long #366
documentation:
Split documentation into /documentation folder with sub
docs inside this folder
Use badge for license
Added .npmignore #365
handle correctly negative insert IDs #364, #341, #336
build: add v6.3 to matrix
docs: add CONTRIBUTING.md #138, #359
1.0.0-rc-9 ( 01/08/2016 )
1.0.0-rc-8 ( 22/07/2016 )
1.0.0-rc-7 ( 03/07/2016 )
1.0.0-rc-6 ( 29/06/2016 )
1.0.0-rc-5 ( 16/06/2016 )
1.0.0-rc.4 ( 14/06/2016 )
1.0.0-rc.3 ( 08/06/2016 )
1.0.0-rc.2 (02/06/2016)
1.0.0-rc.1 (17/02/2016)
0.15.8 - 22/06/2015
0.15.7 - ?
0.15.6 - 04/06/2015
0.15.5 - 08/04/2015
0.15.4 - 11/03/2015
0.15.3 - 24/02/2015
0.15.2 - 24/02/2015
0.15.1 - 18/02/2015
0.15.0 - 1/10/2015
0.14.1 - 9/12/2014
0.14.0 - 26/11/2014
0.13.0
0.12.5 - 30/07/2014
0.12.4 - 17/07/2014
0.12.3 - 11/07/2014
0.12.2 - 11/07/2014
0.12.1 - 30/04/2014
0.12.0 - 29/04/2014
route connection time errors from handshake command to connection #96
support for nestTables and rowsAsArray options in query() and execute() #95, #94
bugfix: date as parameter in prepared statement, day of week was used incorrectly instead of day of month #89 ab28dfca839728dfe40d941091902185d7c19b57
GEOMETRY type support ported from node-mysql #93 ebd30fd12b3b7f53d97b9d09f947b12f61e0c2c5
0.11.8
0.11.7
0.11.6
0.11.5
0.11.4
0.11.3
0.11.2
0.11.1
0.11.0
0.10.7
0.10.6
0.10.5
0.10.4
0.10.3
0.10.2
0.10.1
0.9.2
0.9.1
0.8.21
0.8.20
0.8.19