Release notes
HAProxy Data Plane API 3.1 release notes
Key changes in the HAProxy Data Plane API 3.1 release include:
New features Jump to heading
-
Added support for the
log-profilesection, enabling more control over logging configurations. -
Introduced support for the
tracessection, improving observability and debugging. -
Added support for the
quic-initialresource in configurations. -
Added new global keywords for HAProxy 3.1.
-
Added new metrics (glitch metrics) to stick table fields and improved runtime socket stability.
-
Added support for server comments via the
Metadatafield. -
Support for new options:
do-logactionlog-stepsdirectiveset-retriesfor TCP/HTTP requestsaccept-unsafe-violations-in-http-requestandaccept-unsafe-violations-in-http-responsehostparameter foroption httpchkstats-fileoption in the global section
-
Enterprise: Improvements to the log forwarding features:
- Added log sampling functionality.
- Improved log processing performance:
- Added configurable message buffer sizing.
- Implemented parallel log parsing on input.
-
Enterprise: Added support for new
captchasection (Captcha module). -
Enterprise: UDP module updates:
- Added
default-serveroption to theudp-lbsection. - Added hash options to the
udp-lbsection. - Added log target to the
udp-lbsection.
- Added
-
Enterprise: Added
deviceatlas-cache-sizesupport in theglobalsection. -
Enterprise: Use the default HAProxy ALOHA stats socket if not configured.
Major bug fixes Jump to heading
-
Resolved an issue to prevent leaking information about whether a username or password is correct.
-
Added nil checks when deprecating users to enhance stability.
-
Fixed a bug to ensure that files aren’t cleared during general file
PUToperations. -
Fixed a race condition when calling the runtime socket.
-
Updated MIME types for
rawandgeneral_storageendpoints to improve compatibility. -
Enterprise: Fixes in log forwarding features:
- Improved parsing of response codes.
- Enhanced URI parsing for HTTP/2 requests.
- Fixed WAF related parsing.
- Improved handling of logs with long requests:
- Improved connection handling with automatic reconnection attempts.
- Fixed database connection handling to prevent issues.
-
Enterprise: Fixed
lb-updateto support all server parameters. -
Enterprise: Fixed raw handler when persistent transactions are disabled.
-
Enterprise: Fixed missing fields when parsing
nameserver. -
Enterprise: Changed to use
stringfor challenge fields in the Javascript Challenge module.
Medium bug fixes Jump to heading
- For
defaultssections, deprecated thePUTmethod; users should now usePOSTto create a section. - Fixed issues when the client runtime was nil.
- Fixed version retrieval when multiple runtime clients are used.
- On the
rawendpoint, the sanitizer incorrectly wrote config as a pointer address—this is now fixed.
Minor bug fixes Jump to heading
-
For service discovery, fixed incorrect index handling in pointers comparison.
-
Added missing
h1-accept-payload-with-any-methodandh1-do-not-close-on-insecure-transfer-encodingto the global section. -
Various parsing fixes:
- Fixed regex for
capturesample parsing. - Corrected serialization of tunables.
- Fixed parsing of option
51degrees-cache-size.
- Fixed regex for
-
Unsupported
balanceandbindoptions are now treated as errors instead of being skipped. -
Fixed a typo in the QUIC version prefix.
Performance optimizations Jump to heading
- Improved performance by rewriting dashcase functions.
- Improved parser performance for
serverandbindoptions.
Build and dependency updates Jump to heading
- Upgraded to Go 1.23.
- Updated various Go packages, including
golang.org/xmodules and AWS SDK. - Integrated
govulncheckinto the CI pipeline for better security validation. - Enterprise: Improved specification generation.
- Enterprise: Integrated
client-networkfunctionality on/services/network.
Testing and validation Jump to heading
-
Added end-to-end tests for parallel reads on the runtime socket.
-
Spec validation:
- Fixed specification for the
rawhandler to return text instead of objects. - Removed unused
track-scactions in enums. - Upgraded specification version to 3.1 for HAProxy compatibility.
- Fixed specification for the
Deprecated features and breaking changes Jump to heading
force_xxxandno_xxxoptions inserverandbindwere deprecated in favor of a unifiedxxxboolean format.- Deprecated the
PUTmethod for the/services/haproxy/configuration/defaultsendpoint; users should now usePOSTto create a section.
Do you have any suggestions on how we can improve the content of this page?