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…
The note of 3.0.0 lists no breaking change or deprecation, which is rare for a major.
- ?
- changes to make
- 0
- advisories fixed
- 0
- new
- 1
- fix
Security
7 advisories still affect 3.0.0
- MySQL2: Auth Plugin Downgrade to mysql_clear_password Leaks Plaintext Credentialshigh · GHSA-3f6p-5ww8-9rcr
- mysql2 vulnerable to Prototype Poisoningmoderate · GHSA-49j4-86m8-q2jw
- MySQL2 for Node Arbitrary Code Injectioncritical · GHSA-4rch-2fh8-94vw
Upgrading to 3.23.1 clears them.
Release by release
- Fixed
Ensure pooled connections get released #1666
- Fixed
5 other lines we could not sort, mostly version bumps
- 3.0.0
- 3.0.0
chaiandmochamoved to devDependencies #1774 - 3.0.0
Amazon RDS ssl certificates updated including AWS China #1754
- 3.0.0
TCP_NODELAYflag enabled, avoiding long connect timeout in some scenarios #1751 - 3.0.0
Typing improvements
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.