2.6.25

Latest release in branch 2.6
Released 1 month ago (March 20, 2026)

Software HAProxy
Branch 2.6
Status LTS
Supported
End of life April 01, 2027
First official release version 2.6.0
First official release date 3 years ago (May 31, 2022)
Release notes https://www.haproxy.org/download/2.6/src/CHANGELOG
Source code http://git.haproxy.org/?p=haproxy-2.6.git;a=tree;h=refs/tags/v2.6.25
Download https://www.haproxy.org/download/2.6/
HAProxy 2.6 Releases View full list

What Is New in HAProxy 2.6

HAProxy 2.6 delivers a significant update focused on enhanced observability, security, and performance tuning. The release introduces native OpenTelemetry support, a new DNS resolution library, and powerful new stick table features for more dynamic traffic control.

Category Key Changes
New Features OpenTelemetry support, Dynamic DNS resolution, Stick table data types (ipv6, string, binary)
Improvements HTTP compression (br, deflate), Logging variables, Prometheus Exporter, FastCGI app scaling
Bug Fixes Over 75 bugs resolved across various components

How does OpenTelemetry integration improve monitoring?

HAProxy 2.6 now natively exports metrics to OpenTelemetry collectors, moving beyond its traditional Prometheus support. This provides a standardized way to push metrics into observability platforms like Jaeger without needing an external exporter sidecar.

You configure it by adding an opentelemetry section in your configuration. This lets you stream metrics directly, which simplifies the architecture for getting data into your tracing and monitoring systems.

What's new with DNS resolution?

The built-in DNS resolver has been completely replaced with a new asynchronous library. This change makes server discovery much more resilient to slow or failing DNS servers, preventing them from blocking the main HAProxy process.

In practice, this means your load balancer won't get stuck if a DNS query times out. The new resolver handles lookups in the background, which is crucial for dynamic environments like Kubernetes where backend IPs change frequently.

What can you do with new stick table types?

Stick tables now support IPv6 addresses, string, and binary data types, not just IPv4 and integers. This opens up new possibilities for tracking and routing decisions based on a wider range of criteria.

For example, you could use a string to track API keys or session tokens and apply rate limiting based on that value. The binary type allows you to store opaque data for advanced, custom tracking logic directly within HAProxy.

How is HTTP compression better?

Support for Brotli (br) and Deflate compression algorithms has been added. You can now specify different compression types for requests and responses, giving you finer control over performance and bandwidth usage.

This is configured using new options like compression algo and compression offload. The offload feature is particularly useful as it allows HAProxy to serve compressed static content from cache without reprocessing it each time.

What else was improved under the hood?

The Prometheus exporter gained new metrics, providing even deeper insight into HAProxy's internal state. Logging is now more flexible with additional fetch methods and converters, allowing for more detailed and customized log formats.

For FastCGI applications, the connection scaling has been improved. The release also includes a long list of bug fixes addressing issues in areas like HTTP, CLI, and the underlying memory management.

FAQ

Do I need to change my configuration to use the new DNS resolver?
No, the new asynchronous DNS resolver is a drop-in replacement. Your existing resolvers section will automatically benefit from the improved resilience without any config changes.

Can I use both OpenTelemetry and the built-in Prometheus exporter?
Yes, both can operate simultaneously. You can configure an opentelemetry section for OTLP output while still using the traditional stats endpoint for Prometheus scraping.

What's a practical use for string data in stick tables?
You can track and rate limit based on a user ID, API key, or any other string-based identifier from a request header or cookie, enabling more granular security policies than just IP address.

Is Brotli compression supported for both requests and responses?
Brotli support in HAProxy 2.6 is focused on response compression. The implementation handles accepting Brotli-encoded requests, but the primary compression features are for responses sent to clients.

Were any new sample fetches added for logging?
Yes, new sample fetches like fc_pp_authority and so_id were added, giving you more data points to extract from connections and requests for use in custom log formats.

Releases In Branch 2.6

Version Release date
2.6.25 1 month ago
(March 20, 2026)
2.6.24 1 month ago
(March 09, 2026)
2.6.23 6 months ago
(October 03, 2025)
2.6.22 1 year ago
(April 22, 2025)
2.6.21 1 year ago
(January 29, 2025)
2.6.20 1 year ago
(November 08, 2024)
2.6.19 1 year ago
(September 19, 2024)
2.6.18 1 year ago
(June 18, 2024)
2.6.17 2 years ago
(April 05, 2024)
2.6.16 2 years ago
(December 13, 2023)
2.6.15 2 years ago
(August 09, 2023)
2.6.14 2 years ago
(June 09, 2023)
2.6.13 2 years ago
(May 02, 2023)
2.6.12 3 years ago
(March 28, 2023)
2.6.11 3 years ago
(March 17, 2023)
2.6.10 3 years ago
(March 10, 2023)
2.6.9 3 years ago
(February 14, 2023)
2.6.8 3 years ago
(January 24, 2023)
2.6.7 3 years ago
(December 02, 2022)
2.6.6 3 years ago
(September 22, 2022)
2.6.5 3 years ago
(September 03, 2022)
2.6.4 3 years ago
(August 22, 2022)
2.6.3 3 years ago
(August 19, 2022)
2.6.2 3 years ago
(July 22, 2022)
2.6.1 3 years ago
(June 21, 2022)
2.6.0 3 years ago
(May 31, 2022)
2.6-dev12 3 years ago
(May 27, 2022)
2.6-dev11 3 years ago
(May 20, 2022)
2.6-dev10 3 years ago
(May 14, 2022)
2.6-dev9 3 years ago
(May 08, 2022)
2.6-dev8 3 years ago
(April 30, 2022)
2.6-dev7 3 years ago
(April 23, 2022)
2.6-dev6 4 years ago
(April 16, 2022)
2.6-dev5 4 years ago
(April 09, 2022)
2.6-dev4 4 years ago
(March 26, 2022)
2.6-dev3 4 years ago
(March 11, 2022)
2.6-dev2 4 years ago
(February 25, 2022)
2.6-dev1 4 years ago
(February 01, 2022)
2.6-dev0 4 years ago
(November 23, 2021)