Skip to content

Commit e82592e

Browse files
authoredMar 26, 2024··
docs: fix change logs from v3.9.3 (#2532)
1 parent f813a65 commit e82592e

File tree

1 file changed

+44
-42
lines changed

1 file changed

+44
-42
lines changed
 

‎Changelog.md

+44-42
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55

66
### Bug Fixes
77

8-
* **cache:** improve cache key serialization ([#2424](https://github.com/sidorares/node-mysql2/issues/2424)) ([0d54b0c](https://github.com/sidorares/node-mysql2/commit/0d54b0ca6498c823098426038162ef10df02c818))
8+
* **security:** improve cache key formation ([#2424](https://github.com/sidorares/node-mysql2/issues/2424)) ([0d54b0c](https://github.com/sidorares/node-mysql2/commit/0d54b0ca6498c823098426038162ef10df02c818))
9+
* Fixes a potential parser cache poisoning attack vulnerability reported by Vsevolod Kokorin (Slonser) of Solidlab
10+
* update Amazon RDS SSL CA cert ([#2131](https://github.com/sidorares/node-mysql2/pull/2131)) ([d9dccfd](https://github.com/sidorares/node-mysql2/commit/d9dccfd837d701f377574b85a05586be89015460))
911

1012
## [3.9.2](https://github.com/sidorares/node-mysql2/compare/v3.9.1...v3.9.2) (2024-02-26)
1113

@@ -320,50 +322,50 @@
320322

321323
3.0.0-rc.1 ( 6/11/2021 )
322324
- fix .ping() return value signature #1650
323-
- documentation: clarify `SUM()` and `AVG()`
325+
- documentation: clarify `SUM()` and `AVG()`
324326
return types difference with mysqljs/myql #1649
325327
- misc: add release-please action #1631, #1647
326-
- fix: .end() callback is not called
328+
- fix: .end() callback is not called
327329
when connection is in closed state #1642, #1638
328330
- typescript: getConnection typings fix #1620
329331
- fix uncatchable exception #1359
330332
- add mysql_clear_password built in support #1552
331-
- typescript: typings unit test, variouts type
333+
- typescript: typings unit test, variouts type
332334
improvements, server protocol additions #1610, #1610
333-
- typescript: more complete way of adding
335+
- typescript: more complete way of adding
334336
typings for the Server module #1606
335-
- typescript, documentation: improve prepared
337+
- typescript, documentation: improve prepared
336338
typings statements #1493
337-
- typescript: add type declarations for Prepare
339+
- typescript: add type declarations for Prepare
338340
& PrepareStatementInfo #1565
339-
- fix: webpack projects no longer show warning
341+
- fix: webpack projects no longer show warning
340342
for cardinal dependency #1589
341-
- typescript: accept Buffer and Buffer[] in
343+
- typescript: accept Buffer and Buffer[] in
342344
typings for key, cert, and ca #1599
343-
- fix: use rotatingXor instead of xor in
345+
- fix: use rotatingXor instead of xor in
344346
sha256_password plugin #1592, #1044
345347
- documentation: add Simplified Chinese #1572
346348
- fix: add type as an alias to columnType #1546, #1549
347349
- Update collation list up to MySQL 8.0.26 #1410
348350
- typescript: Add minVersion for ssl option. #1517
349351
- Add support for multi-factor authentication #1436
350-
- typescript: add namedPlaceholders option to
352+
- typescript: add namedPlaceholders option to
351353
QueryOptions interface #1475
352-
- fix: update how the ECONNRESET error is
354+
- fix: update how the ECONNRESET error is
353355
caught when connection already closing #1438
354356

355357

356358
2.3.3 ( 14/11/2021 )
357359
- no changes compared to 2.3.3-rc.0
358360

359361
2.3.3-rc.0 ( 5/11/2021 )
360-
- fix ColumnDefinition.db is broken when
361-
encoding is not utf-8 #1423
362+
- fix ColumnDefinition.db is broken when
363+
encoding is not utf-8 #1423
362364
- typeCast: Fix field.length to be number #1427, #1426
363365
- initiall support for coverage reporting in CI #1425
364366
- fix performance regression for results with #1445, #1432
365-
large (300+) number of columns
366-
367+
large (300+) number of columns
368+
367369

368370
2.3.2 ( 16/10/2021 )
369371
- fix regression causing typeCast + JSON field
@@ -372,34 +374,34 @@
372374
2.3.1 ( 15/10/2021 )
373375
- Update error codes up to mysql 8.0.26 #1411
374376
- perf: optimize Query.row call #1408
375-
- build: update to node 12/14/16, migrate from
377+
- build: update to node 12/14/16, migrate from
376378
travis-ci and appveyor to GH actions, add perf
377379
benchmarking workflow #1406, #1399
378380
- perf: avoid leaking TextRow/BinaryRow object #1402
379-
- perf: optimize string decoding by removing
381+
- perf: optimize string decoding by removing
380382
the use of slice() #1401
381383
- perf: cache lazy-evaluated fields #1400
382384
- fix: clear timeout after error #1390
383-
- TS: adds the optional column changedRows to
385+
- TS: adds the optional column changedRows to
384386
ResultSetHeader #1377
385387

386388
2.3.0 ( 5/08/2021 )
387389
- Add PoolCluster promise wrappers #1369, #1363
388390
- support for connect and query timeouts #1364
389391
- add missing query() method on PoolCluster #1362
390-
- fix incorrect parsing of passwords
392+
- fix incorrect parsing of passwords
391393
containing ":" #1357
392-
- handle errors generated by asynchronous
394+
- handle errors generated by asynchronous
393395
authentication plugins #1354
394396
- add proper handshake fatal error handling #1352
395-
- fix tests to work with the latest MySQL
397+
- fix tests to work with the latest MySQL
396398
server versions (up to 8.0.25) #1338
397399
- expose SQL query in errors #1295
398400
- typing and readme docs for rowAsArray #1288
399-
- allow unnamed placeholders even if the
401+
- allow unnamed placeholders even if the
400402
namedPlaceholders flag is enabled #1251
401403
- better ESM support #1217
402-
404+
403405
2.2.5 ( 21/09/2020 )
404406
- typings: add ResultSetHeader #1213
405407

@@ -413,18 +415,18 @@
413415
- Add the authPlugins types to ConnectionOptions #1206
414416

415417
2.2.1 ( 18/09/2020 )
416-
- update package.json files entry to include
418+
- update package.json files entry to include
417419
type definition files #1205
418420

419421
2.2.0 ( 18/09/2020 )
420422
- added TS type definitions #1204, #1028
421-
- better error handling for invalid JSON row
423+
- better error handling for invalid JSON row
422424
responses #915
423425
- fix for iconv-lite and some bundlers issues #1187
424426
- error early when callbacks incorrectly passed #1025
425427
to a promise wrapper
426428
- add support for sha256_password authentication #1153, #1152
427-
plugin
429+
plugin
428430
- handle backpressure when loading data from #1167
429431
file
430432
- Pass in the callback when ending the pool #1170
@@ -445,26 +447,26 @@
445447
- added `enableKeepAlive` connection option #1081, #683
446448

447449
2.0.2
448-
- Fix for clearing connection timeout state when
450+
- Fix for clearing connection timeout state when
449451
connection is re-attempted (failure or success) #1075
450452
- Avoid setting numeric config options to NaN #1074, #721
451453
- PoolCluster#end now accepts a callback function #1065, #1063
452454

453455
2.0.1
454-
- Add missing authPlugins assignment in
456+
- Add missing authPlugins assignment in
455457
ConnectionConfig #1052
456-
- Fix 4.1 auth on old servers not
458+
- Fix 4.1 auth on old servers not
457459
supporting PLUGIN_AUTH #1062, #1054, #1053
458460

459461
2.0.0
460-
- Mysql8 caching_sha2_password - fix bug in
461-
authenticating when password is longer
462+
- Mysql8 caching_sha2_password - fix bug in
463+
authenticating when password is longer
462464
than 19 chars #1044 #1045
463465
- Support ConnectionConfig.flags as an array #1003
464466

465467
2.0.0-alpha1
466-
- MAJOR: new `authPlugins` api replacing
467-
`authSwitchHandler`, added caching_sha2_password
468+
- MAJOR: new `authPlugins` api replacing
469+
`authSwitchHandler`, added caching_sha2_password
468470
and mysql_native_password as default plugins.
469471
Added tests for mysql 8 and ssl. Mysql 8 server
470472
now supported with default settings. #1021, #906, #991
@@ -476,16 +478,16 @@
476478
- fix pool ignoring namedPlaceholders config #1022
477479

478480
1.7.0
479-
- Fix crashing when session info packet does not
481+
- Fix crashing when session info packet does not
480482
start with length-coded string #1004, #989
481483
- build: drop node 4 and 6 and add node v12 #997
482-
- Add support for timezone connection option #996, #15, #262,
484+
- Add support for timezone connection option #996, #15, #262,
483485
#642, #877, #888
484-
- Make mysql2 compatible with minification #992, #890, #899,
486+
- Make mysql2 compatible with minification #992, #890, #899,
485487
#890
486488
- fix serialisation of '00:00:00' time #968, #967
487489
- Allow to set minVersion ssl option #961, #960
488-
- Fix a MaxListenersExceededWarning with stream
490+
- Fix a MaxListenersExceededWarning with stream
489491
local infile #965
490492

491493
1.6.5 (08/02/2019)
@@ -496,7 +498,7 @@
496498
- fix(debug): remove usage of callee #882
497499

498500
1.6.4 (08/11/2018)
499-
- revert changes breaking node v4 and add v4 to
501+
- revert changes breaking node v4 and add v4 to
500502
build matrix #872, #873
501503

502504
1.6.3 (06/10/2018)
@@ -516,7 +518,7 @@
516518
- Fixed `PromiseConnection.ping()` ignoring errors #813
517519
- Added a uri parameter to the connection config #815
518520
- Added a `.promise()` method shortcut on Pool,
519-
Connection and PoolConnection #810
521+
Connection and PoolConnection #810
520522
- Added more functions from node-mysql:
521523
`createQuery`, `raw`, `escape`, `escapeId`,
522524
`format` #799
@@ -532,7 +534,7 @@
532534
- use strich lru-cache version #751
533535
- bump sqlstring to 2.3.1
534536
- remove noAssert flag from Buffer functions #748
535-
537+
536538
1.5.2 (06/02/2018)
537539
- perf: Store Compiled Packet Parsers in a global
538540
cache #722, #723
@@ -552,7 +554,7 @@
552554
1.5.0 (13/11/2017)
553555
- Added sqlMessage to Error callback object #665
554556
- Normalized sqlState to a string of 5 chars #667
555-
as Mysql specifies it
557+
as Mysql specifies it
556558
- Remove destroyed promise pool connections from
557559
pool #674, #672
558560
- Expose escape & format methods on connection pool #669, #663

0 commit comments

Comments
 (0)
Please sign in to comment.