Packages

mysql2

3.24.6 · 13 Oct 2026MIT25.7M / weekRepositoryHomepagenpmAtom feed

Upgrading mysql2 From 2.3.3 to 3.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 2.3.3Clears its 7 advisories3.23.1Latest3.24.6
The note of 3.0.0 lists no breaking change or deprecation, which is rare for a major.
  1. 2.3.3yours
  2. 3.0.0target
?
changes to make
0
advisories fixed
0
new
1
fix

Security

7 advisories still affect 3.0.0

Upgrading to 3.23.1 clears them.

Release by release

  1. 3.0.0

    12 Jan 20231 fix
    • Fixed

      Ensure pooled connections get released #1666

5 other lines we could not sort, mostly version bumps
  • named-placeholders library is updated to use newer lru-cache dependency, allowing it do dedupe and be shared between mysql2 and named-placeholders - #1711, #19

    3.0.0
  • chai and mocha moved to devDependencies #1774

    3.0.0
  • Amazon RDS ssl certificates updated including AWS China #1754

    3.0.0
  • TCP_NODELAY flag enabled, avoiding long connect timeout in some scenarios #1751

    3.0.0
  • Typing improvements

    3.0.0

1 internal line (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.