mysql2
3.24.6 · 13 Oct 2026MIT25.7M / weekRepositoryHomepagenpmAtom feed
Upgrading mysql2 From 3.21.1 to 3.23.1
9 releases in betweenevery note read
Reading releases, release notes and advisories…
- 0
- changes to make
- 2
- advisories fixed
- 6
- new
- 9
- fixes
Security
Fixes 2 advisories affecting 3.21.1
- MySQL2: Auth Plugin Downgrade to mysql_clear_password Leaks Plaintext Credentialshigh · GHSA-3f6p-5ww8-9rcr
- MySQL2: Unbounded zlib inflate in compressed MySQL protocol handler allows decompression-bomb DoSmoderate · GHSA-rgwj-5xj2-c3m3
Release by release
- Fixed
security: fix unbounded decompression of server-supplied compressed packets, reported by alanturing881
- Fixed
parser: call typeCast for NULL values in the binary protocol
- Fixed
- New
Return unsafe integers inside JSON columns as exact strings with supportBigNumbers
- New
sql-escaper: add Temporal support when escaping values
- New
Support MariaDB data types (UUID, INET4, INET6, VECTOR, JSON) via extended type metadata; run CI against MariaDB
- New
- Fixed
sql-escaper: resolve multi statement and expand object regressions
- Fixed
- Fixed
Keep 00:00:00 time for TIMESTAMP in binary protocol with dateStrings
- Fixed
- Fixed
pool: reject queued requests on end
- Fixed
- Fixed
Allow resetOnRelease in connection config validation
- Fixed
- Fixed
promise: point rejection stacks at caller for promise API
- Fixed
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.