ProxySQL 4.0.7 Release Notes
Release date: 2026-04-07
ProxySQL 4.0.7 is a maintenance release for the AI/MCP Tier, incorporating all improvements from ProxySQL 3.1.7 and 3.0.7 while adding MCP stack refinements and expanded AI-driven testing infrastructure. This version is built using PROXYSQLGENAI=1 (which implies PROXYSQL31=1) and requires the Rust toolchain.
Release commit: d7a26b79e936557e2d198148ce6d09111210d651
Highlights (AI/MCP Tier)
- MCP Bearer Token Fix: Fixed MCP Bearer token authentication test to align with case-insensitive token comparison as specified in the MCP specification.
- AI Testing Infrastructure: Migrated AI-specific TAP tests to the unified CI infrastructure pattern, enabling automated testing of AI/MCP features alongside core proxy functionality.
- FFTO Enabled by Default: FFTO remains enabled by default in 4.0.x, providing full traffic observability out of the box including the new error recording capabilities.
New Features (4.0.x)
MCP Stack Refinements
MCP Bearer Token Authentication (6d6015a)
Fixed the MCP Bearer token test to properly validate case-insensitive token comparison as defined in the MCP specification. The authentication middleware now correctly accepts tokens regardless of case, improving compatibility with various MCP client implementations.
AI Testing Infrastructure
Unified CI Migration (0b9806c, 2f8e63c)
Migrated the AI-specific TAP test group to the unified CI infrastructure pattern. This consolidates AI/MCP test execution with the core ProxySQL test pipeline, enabling parallel execution, better resource utilization, and consistent test reporting across all product tiers.
Features Inherited from v3.1.7 (Innovative Tier)
ProxySQL 4.0.7 includes all features from the v3.1.7 (Innovative) release, including:
- FFTO Error Recording: MySQL and PostgreSQL errors from fast-forwarded traffic are now captured in
stats_mysql_errorsandstats_pgsql_errors(#5539). - FFTO Default Behavior: FFTO remains enabled by default in 4.0.x, providing full traffic observability without additional configuration (#5539).
- Comprehensive FFTO E2E Tests: Full E2E test coverage for FFTO across MySQL and PostgreSQL protocols (#5516, #5517).
- TSDB Improvements: Fixed TSDB test infrastructure for Docker-based CI environments.
Features Inherited from v3.0.7 (Stable Tier)
ProxySQL 4.0.7 includes all features from the v3.0.7 (Stable) release, including:
- Protocol Safety: Hardened MySQL protocol handling for
COM_CHANGE_USER,HandshakeResponse, andPROXY protocol v1(#5556). - zstd Compression: Native zstd compression support for the MySQL protocol.
- TLS Observability:
stats_tls_certificatestable andstats_proxysql_globaltable for TLS certificate tracking and global metrics. - SHOW WARNINGS Fix: Correct
warning_counthandling for statements with inline comments (#5306). - REST API: Configuration-based route loading and hardened config handling.
- Security: Admin credential redaction in logs and Dependabot alert remediation.
For a detailed list of these core improvements, please refer to the ProxySQL 3.0.7 Release Notes.
Contributors
ProxySQL is a community-driven project, and we are grateful to all the contributors who helped make this release possible. A special thank you to:
- @rahim-kanji for PostgreSQL protocol hardening and FFTO error recording.
- @YujiHatakeyama for the SHOW WARNINGS fix with inline comments (#5306).
We also thank everyone who reported bugs, tested experimental features, and provided feedback during this release cycle.
Hashes
The release commit is: d7a26b79e936557e2d198148ce6d09111210d651
SHA256s:
4264b5337e8458e515e07449311264b8fa882fca7bb1c1aadcb581b9efdc6da7 proxysql-4.0.7-1-almalinux10-clang.x86_64.rpm
fcdc9a6e5a0e981e9d5d688df581a3f39955fffb8bb3c1bdc25e80ae77f25f0c proxysql-4.0.7-1-almalinux10.aarch64.rpm
af910bf2e8b3fdc227ff92bfd8ba266cd7e1449c8d53ea2d2cc2763b1221b9a1 proxysql-4.0.7-1-almalinux10.x86_64.rpm
51bf20cf86115876c4236f61a2f4ee94fff54815f4f2e5f2c389059e92d59066 proxysql-4.0.7-1-almalinux8-clang.x86_64.rpm
64e47c962f2a9a1567221e7ecc79cb1c1ea471fd21d2ed83b121a615256323c7 proxysql-4.0.7-1-almalinux9-clang.x86_64.rpm
7a4fc60303c23de4779bda32e0988d389a77738590149b8f9768df073dca3bf6 proxysql-4.0.7-1-almalinux9.aarch64.rpm
f3b9d39951d697915f8cbd08d8c39425225f8a597e0db082442602ba9d0c2126 proxysql-4.0.7-1-almalinux9.x86_64.rpm
d4614dbef3dec54a858e7471dfcd8a8fef55b5897a6c33e2e7b3529f3287fec3 proxysql-4.0.7-1-centos10-clang.x86_64.rpm
82b57d545811ebe586ab9240cf8d5a10a426ee9fd23e4e47008d351484a350a7 proxysql-4.0.7-1-centos10.aarch64.rpm
6311cefd66a2eb9066f2ad605a60add28bca09abb94ded4cb69c32b18c1e27f5 proxysql-4.0.7-1-centos10.x86_64.rpm
20621cae5bd763fa5a238a5eb11d1ebc9a2d4bdd6401030057ea86ad4edcd51b proxysql-4.0.7-1-centos9-clang.x86_64.rpm
b6c8d29185411ccf0d46a3309083518fe0117ddab788c3b10d46929da48b72f8 proxysql-4.0.7-1-centos9.aarch64.rpm
6ff1cb6cb2cae0b06da8f3b9f83e63d337823efaaf7b267fdbc852e8bfd5cead proxysql-4.0.7-1-centos9.x86_64.rpm
51600c5735d7bb52b84abc5152958914d63c8351809247d0d1bd1e93671dd533 proxysql-4.0.7-1-dbg-almalinux10.x86_64.rpm
62895d89740a30579dfdcee635832e69417876461236824c6b301fff5c2ad129 proxysql-4.0.7-1-dbg-almalinux9.x86_64.rpm
8063bbb3490e0c80c8d266354e35cabdaf86992deec073c6a6749e4a73ce98e6 proxysql-4.0.7-1-dbg-centos10.x86_64.rpm
38b1bb362d1e9bc1bee025b1fa2889c6c524621b02d4a8981511628174fdcca0 proxysql-4.0.7-1-dbg-centos9.x86_64.rpm
e800e72884cc423e68f6aa860417ba8047fd5a642ac137645f18788e62309745 proxysql-4.0.7-1-dbg-fedora42.x86_64.rpm
990df208a52c97db48cfc8d6a39273f61904595ef36abaae9bb7278d5408c513 proxysql-4.0.7-1-dbg-fedora43.x86_64.rpm
1dfc93bb4d52d188d28edd6c789e4482194e543e249b82c853ace0ffa9d72af2 proxysql-4.0.7-1-dbg-opensuse16.x86_64.rpm
d04132d549c9cfa8bb8f3f4e9c2f7145c8bd33d36fb2298ce272aec64c0a466a proxysql-4.0.7-1-fedora42-clang.x86_64.rpm
890e84c29a07b14f11387985dcc8d91187766f903dd7547deec117efa6e44309 proxysql-4.0.7-1-fedora42.aarch64.rpm
64ce653887b6b4fa4159c11cbc3a05497acdce25c044e73c6bbf0ef044158efd proxysql-4.0.7-1-fedora42.x86_64.rpm
bff173f87d594f112a158e8ee01c9df90723abd75534cdb9ccdca16b995810ef proxysql-4.0.7-1-fedora43-clang.x86_64.rpm
caec5a4e6f516f033027ed7c62028a74aa2daa40e50bf9f46906e444cceb0a72 proxysql-4.0.7-1-fedora43.aarch64.rpm
09f1b0e98ab76709305bf90704eafbed73bc2f5f33e9f3f1dea2155142224919 proxysql-4.0.7-1-fedora43.x86_64.rpm
1a010b0285ad96040758ff1f2d0bd15373234def76c6bc612055529ed6adb9bf proxysql-4.0.7-1-opensuse16-clang.x86_64.rpm
eb4164cd6241ee02bc799d6a845c020397e457b47c9ae68356ed98c96401e2c7 proxysql-4.0.7-1-opensuse16.aarch64.rpm
7e5edc8d0538bd58e19cd012bcb16d29033ea412e00736908afa6bd8ac035eb7 proxysql-4.0.7-1-opensuse16.x86_64.rpm
7e33ddbb15a9b4a4832170792eacce0e6697dcef5e37d72ab781085074942f76 proxysql_4.0.7-dbg-debian12_amd64.deb
a9d3b12d20da7e7d6005679eec63bc250ee0f51cf657fe373cdb042499810511 proxysql_4.0.7-dbg-debian13_amd64.deb
25a8631f52311be9139aed0e2139e69fc3a627946eb065c43e0126e3a16e43bf proxysql_4.0.7-dbg-ubuntu22_amd64.deb
0eb92be467238cb7d6ec25d129a84db630caddbcd5a77443ee8109e82501de43 proxysql_4.0.7-dbg-ubuntu24_amd64.deb
b1696fdfe0c2738a2d6c68585c468112d64de4cfe76ad28d8b2426fb66cbbf22 proxysql_4.0.7-debian12-clang_amd64.deb
f3691e585668a23e8e779437259673f28566a0af2738e3d32834a3a659b8ab98 proxysql_4.0.7-debian12_amd64.deb
3cbcfc9f9a0180adfb98a9af57057306bef379aa2a2d58773eda661888d67af1 proxysql_4.0.7-debian12_arm64.deb
51784a2edad6bc43b65a385750da1d7389141a46de2036bd02eac3c084d295fe proxysql_4.0.7-debian13-clang_amd64.deb
27c2dd1ad4b1870d7364da1efe8d5b5cc55e5a92f180e06ffd3b161f37629966 proxysql_4.0.7-debian13_amd64.deb
75a8e7016dca8630104dbd034a0bf5ff7ca25f661a7b6ab1ac4a1ad4b917ce9e proxysql_4.0.7-debian13_arm64.deb
700b508c99b0c0300fa42810ad4acccc55f36bb7b4e265675be7d488e18b823a proxysql_4.0.7-ubuntu22-clang_amd64.deb
4f26f5c54e4584acc2bb4b543771c2176508b045a0dafcc2633485bd037a6c42 proxysql_4.0.7-ubuntu22_amd64.deb
8b358e4d3eca7f5386819f1d8c28daa87a82b70ab30dbc6e93d7b91116940876 proxysql_4.0.7-ubuntu22_arm64.deb
f475238914909dd14348906a2e3e9e7e5cdf2db1e1c61c9890b112a434e1b57f proxysql_4.0.7-ubuntu24-clang_amd64.deb
db2349db86c479ac0909951ebcacbc6f8c6af22c224db2af262620175d2f685e proxysql_4.0.7-ubuntu24_amd64.deb
a4713ef9600e9c15dc7078a79b8ca4ccdd2455cdd564bec909047cb8224ea5c6 proxysql_4.0.7-ubuntu24_arm64.deb