|
5 | 5 |
|
6 | 6 | ### Bug Fixes
|
7 | 7 |
|
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)) |
9 | 11 |
|
10 | 12 | ## [3.9.2](https://github.com/sidorares/node-mysql2/compare/v3.9.1...v3.9.2) (2024-02-26)
|
11 | 13 |
|
|
320 | 322 |
|
321 | 323 | 3.0.0-rc.1 ( 6/11/2021 )
|
322 | 324 | - fix .ping() return value signature #1650
|
323 |
| - - documentation: clarify `SUM()` and `AVG()` |
| 325 | + - documentation: clarify `SUM()` and `AVG()` |
324 | 326 | return types difference with mysqljs/myql #1649
|
325 | 327 | - misc: add release-please action #1631, #1647
|
326 |
| - - fix: .end() callback is not called |
| 328 | + - fix: .end() callback is not called |
327 | 329 | when connection is in closed state #1642, #1638
|
328 | 330 | - typescript: getConnection typings fix #1620
|
329 | 331 | - fix uncatchable exception #1359
|
330 | 332 | - add mysql_clear_password built in support #1552
|
331 |
| - - typescript: typings unit test, variouts type |
| 333 | + - typescript: typings unit test, variouts type |
332 | 334 | improvements, server protocol additions #1610, #1610
|
333 |
| - - typescript: more complete way of adding |
| 335 | + - typescript: more complete way of adding |
334 | 336 | typings for the Server module #1606
|
335 |
| - - typescript, documentation: improve prepared |
| 337 | + - typescript, documentation: improve prepared |
336 | 338 | typings statements #1493
|
337 |
| - - typescript: add type declarations for Prepare |
| 339 | + - typescript: add type declarations for Prepare |
338 | 340 | & PrepareStatementInfo #1565
|
339 |
| - - fix: webpack projects no longer show warning |
| 341 | + - fix: webpack projects no longer show warning |
340 | 342 | for cardinal dependency #1589
|
341 |
| - - typescript: accept Buffer and Buffer[] in |
| 343 | + - typescript: accept Buffer and Buffer[] in |
342 | 344 | typings for key, cert, and ca #1599
|
343 |
| - - fix: use rotatingXor instead of xor in |
| 345 | + - fix: use rotatingXor instead of xor in |
344 | 346 | sha256_password plugin #1592, #1044
|
345 | 347 | - documentation: add Simplified Chinese #1572
|
346 | 348 | - fix: add type as an alias to columnType #1546, #1549
|
347 | 349 | - Update collation list up to MySQL 8.0.26 #1410
|
348 | 350 | - typescript: Add minVersion for ssl option. #1517
|
349 | 351 | - Add support for multi-factor authentication #1436
|
350 |
| - - typescript: add namedPlaceholders option to |
| 352 | + - typescript: add namedPlaceholders option to |
351 | 353 | QueryOptions interface #1475
|
352 |
| - - fix: update how the ECONNRESET error is |
| 354 | + - fix: update how the ECONNRESET error is |
353 | 355 | caught when connection already closing #1438
|
354 | 356 |
|
355 | 357 |
|
356 | 358 | 2.3.3 ( 14/11/2021 )
|
357 | 359 | - no changes compared to 2.3.3-rc.0
|
358 | 360 |
|
359 | 361 | 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 |
362 | 364 | - typeCast: Fix field.length to be number #1427, #1426
|
363 | 365 | - initiall support for coverage reporting in CI #1425
|
364 | 366 | - fix performance regression for results with #1445, #1432
|
365 |
| - large (300+) number of columns |
366 |
| - |
| 367 | + large (300+) number of columns |
| 368 | + |
367 | 369 |
|
368 | 370 | 2.3.2 ( 16/10/2021 )
|
369 | 371 | - fix regression causing typeCast + JSON field
|
|
372 | 374 | 2.3.1 ( 15/10/2021 )
|
373 | 375 | - Update error codes up to mysql 8.0.26 #1411
|
374 | 376 | - 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 |
376 | 378 | travis-ci and appveyor to GH actions, add perf
|
377 | 379 | benchmarking workflow #1406, #1399
|
378 | 380 | - perf: avoid leaking TextRow/BinaryRow object #1402
|
379 |
| - - perf: optimize string decoding by removing |
| 381 | + - perf: optimize string decoding by removing |
380 | 382 | the use of slice() #1401
|
381 | 383 | - perf: cache lazy-evaluated fields #1400
|
382 | 384 | - fix: clear timeout after error #1390
|
383 |
| - - TS: adds the optional column changedRows to |
| 385 | + - TS: adds the optional column changedRows to |
384 | 386 | ResultSetHeader #1377
|
385 | 387 |
|
386 | 388 | 2.3.0 ( 5/08/2021 )
|
387 | 389 | - Add PoolCluster promise wrappers #1369, #1363
|
388 | 390 | - support for connect and query timeouts #1364
|
389 | 391 | - add missing query() method on PoolCluster #1362
|
390 |
| - - fix incorrect parsing of passwords |
| 392 | + - fix incorrect parsing of passwords |
391 | 393 | containing ":" #1357
|
392 |
| - - handle errors generated by asynchronous |
| 394 | + - handle errors generated by asynchronous |
393 | 395 | authentication plugins #1354
|
394 | 396 | - 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 |
396 | 398 | server versions (up to 8.0.25) #1338
|
397 | 399 | - expose SQL query in errors #1295
|
398 | 400 | - typing and readme docs for rowAsArray #1288
|
399 |
| - - allow unnamed placeholders even if the |
| 401 | + - allow unnamed placeholders even if the |
400 | 402 | namedPlaceholders flag is enabled #1251
|
401 | 403 | - better ESM support #1217
|
402 |
| - |
| 404 | + |
403 | 405 | 2.2.5 ( 21/09/2020 )
|
404 | 406 | - typings: add ResultSetHeader #1213
|
405 | 407 |
|
|
413 | 415 | - Add the authPlugins types to ConnectionOptions #1206
|
414 | 416 |
|
415 | 417 | 2.2.1 ( 18/09/2020 )
|
416 |
| - - update package.json files entry to include |
| 418 | + - update package.json files entry to include |
417 | 419 | type definition files #1205
|
418 | 420 |
|
419 | 421 | 2.2.0 ( 18/09/2020 )
|
420 | 422 | - added TS type definitions #1204, #1028
|
421 |
| - - better error handling for invalid JSON row |
| 423 | + - better error handling for invalid JSON row |
422 | 424 | responses #915
|
423 | 425 | - fix for iconv-lite and some bundlers issues #1187
|
424 | 426 | - error early when callbacks incorrectly passed #1025
|
425 | 427 | to a promise wrapper
|
426 | 428 | - add support for sha256_password authentication #1153, #1152
|
427 |
| - plugin |
| 429 | + plugin |
428 | 430 | - handle backpressure when loading data from #1167
|
429 | 431 | file
|
430 | 432 | - Pass in the callback when ending the pool #1170
|
|
445 | 447 | - added `enableKeepAlive` connection option #1081, #683
|
446 | 448 |
|
447 | 449 | 2.0.2
|
448 |
| - - Fix for clearing connection timeout state when |
| 450 | + - Fix for clearing connection timeout state when |
449 | 451 | connection is re-attempted (failure or success) #1075
|
450 | 452 | - Avoid setting numeric config options to NaN #1074, #721
|
451 | 453 | - PoolCluster#end now accepts a callback function #1065, #1063
|
452 | 454 |
|
453 | 455 | 2.0.1
|
454 |
| - - Add missing authPlugins assignment in |
| 456 | + - Add missing authPlugins assignment in |
455 | 457 | ConnectionConfig #1052
|
456 |
| - - Fix 4.1 auth on old servers not |
| 458 | + - Fix 4.1 auth on old servers not |
457 | 459 | supporting PLUGIN_AUTH #1062, #1054, #1053
|
458 | 460 |
|
459 | 461 | 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 |
462 | 464 | than 19 chars #1044 #1045
|
463 | 465 | - Support ConnectionConfig.flags as an array #1003
|
464 | 466 |
|
465 | 467 | 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 |
468 | 470 | and mysql_native_password as default plugins.
|
469 | 471 | Added tests for mysql 8 and ssl. Mysql 8 server
|
470 | 472 | now supported with default settings. #1021, #906, #991
|
|
476 | 478 | - fix pool ignoring namedPlaceholders config #1022
|
477 | 479 |
|
478 | 480 | 1.7.0
|
479 |
| - - Fix crashing when session info packet does not |
| 481 | + - Fix crashing when session info packet does not |
480 | 482 | start with length-coded string #1004, #989
|
481 | 483 | - 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, |
483 | 485 | #642, #877, #888
|
484 |
| - - Make mysql2 compatible with minification #992, #890, #899, |
| 486 | + - Make mysql2 compatible with minification #992, #890, #899, |
485 | 487 | #890
|
486 | 488 | - fix serialisation of '00:00:00' time #968, #967
|
487 | 489 | - Allow to set minVersion ssl option #961, #960
|
488 |
| - - Fix a MaxListenersExceededWarning with stream |
| 490 | + - Fix a MaxListenersExceededWarning with stream |
489 | 491 | local infile #965
|
490 | 492 |
|
491 | 493 | 1.6.5 (08/02/2019)
|
|
496 | 498 | - fix(debug): remove usage of callee #882
|
497 | 499 |
|
498 | 500 | 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 |
500 | 502 | build matrix #872, #873
|
501 | 503 |
|
502 | 504 | 1.6.3 (06/10/2018)
|
|
516 | 518 | - Fixed `PromiseConnection.ping()` ignoring errors #813
|
517 | 519 | - Added a uri parameter to the connection config #815
|
518 | 520 | - Added a `.promise()` method shortcut on Pool,
|
519 |
| - Connection and PoolConnection #810 |
| 521 | + Connection and PoolConnection #810 |
520 | 522 | - Added more functions from node-mysql:
|
521 | 523 | `createQuery`, `raw`, `escape`, `escapeId`,
|
522 | 524 | `format` #799
|
|
532 | 534 | - use strich lru-cache version #751
|
533 | 535 | - bump sqlstring to 2.3.1
|
534 | 536 | - remove noAssert flag from Buffer functions #748
|
535 |
| - |
| 537 | + |
536 | 538 | 1.5.2 (06/02/2018)
|
537 | 539 | - perf: Store Compiled Packet Parsers in a global
|
538 | 540 | cache #722, #723
|
|
552 | 554 | 1.5.0 (13/11/2017)
|
553 | 555 | - Added sqlMessage to Error callback object #665
|
554 | 556 | - Normalized sqlState to a string of 5 chars #667
|
555 |
| - as Mysql specifies it |
| 557 | + as Mysql specifies it |
556 | 558 | - Remove destroyed promise pool connections from
|
557 | 559 | pool #674, #672
|
558 | 560 | - Expose escape & format methods on connection pool #669, #663
|
|
0 commit comments