NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Maven Central
Maven Central, #1438 by repository stars
Apache HttpComponents Client is a library of components for building client side HTTP services
Latest stable
5.6.5
Last release 1 months ago
19 Oct 2026
Release timing varies
gaps range from 9 days to 4 months
Some releases are documented
notes for 16 of 30 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
51 releases · first in 2016
Drag across the ruler to compare, or tap a release to open it.
HttpClient 5.7-beta1 release tag
HttpClient 5.7-beta1 release tag
HttpClient 5.7-alpha1 release tag
HttpClient 5.7-alpha1 release tag
HttpClient 5.6.5 release tag
HttpClient 5.6.5 release tag
Your coding agent can read these notes before it upgrades. Set up the MCP server →
HttpClient 5.6.4 release tag
HttpClient 5.6.4 release tag
HttpClient 5.6.3 release tag
HttpClient 5.6.3 release tag
HttpClient 5.6.2 release tag
HttpClient 5.6.2 release tag
Nothing published for this version
This is the first ALPHA release in the 5.6 release series. It adds several features such as transport content decompression and content compression fo
This is the first ALPHA release in the 5.6 release series. It adds several features such as transport content decompression and content compression for the async transport, support for Unix sockets, experimental support for SCRAM-SHA-256 authentication scheme, and Micrometer/OTel observations & metrics.
Commons Compress, Brotli codec, and ZStd codec are optional dependencies and get wired into the execution pipeline only if present on the classpath.
Notable changes and features included in the 5.6 series:
Unix domain socket support.
Support for pluggable content codecs via Commons-Compress in the classic transport. (optional).
Support for transparent content decompression and content compression with deflate,
gzip, zstd (optional), and brotli (optional) codecs in the async transport.
Micrometer/OTel observations & metrics (optinal).
Off-lock connection disposal by the classic pooling connection manager. Experimental.
SCRAM-SHA-256 authentication scheme (RFC 7804). Experimental.
Request Priority support (RFC 9218). Experimental.
Compatibility notes:
As of this version, HttpClient uses BUILTIN HostnameVerificationPolicy by default, delegating host verification to JSSE security manager. One must explicitly configure the TLS strategy to continue using the hostname verifier shipped with HttpClient.
Five-second TCP keep-alive is now enabled by default.
Nothing published for this version
Nothing published for this version
Nothing published for this version
This is the first GA release in the 5.5 release series. This release finalizes the 5.5 APIs and adds several experimental features and improvements, s
This is the first GA release in the 5.5 release series. This release finalizes the 5.5 APIs and adds several experimental features and improvements, such as request multiplexing over a shared HTTP/2 connection and the Classic API facade acting as a compatibility bridge between classic I/O client services and the asynchronous message transport used internally.
Notable changes and features included in the 5.5 series:
Improved conformance to RFC 7616 (HTTP Digest Access Authentication).
The connection pool implementation acts as a caching facade in front of a standard managed connection pool and shares already leased connections to multiplex message exchanges over active HTTP/2 connections. Experimental.
Extended Auth API and improved authentication protocol logic to support mutual authentication.
The Classic API facade now acts as a compatibility bridge between the classic I/O client services (based on the standard InputStream / OutputStream model) and the asynchronous message transport used internally. This is experimental.
HTTP/2 support for the Fluent Facade (via Classic API facade). This is experimental.
Compatibility notes:
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
…cache backend MUST be configured to use the old, deprecated cache entry serializer.
This is the first GA release in the 5.4 release series. This release finalizes the 5.4 APIs, upgrades HttpCore to version 5.3 and improves the Public Suffix matching algorithm implementation.
IMPORTANT! The new cache entry serialization format is incompatible with earlier versions of HttpClient Cache. Persistent caches (file system based, Memcached, EhCAche with object serialization) created with any earlier version MUST be flushed and re-populated or the cache backend MUST be configured to use the old, deprecated cache entry serializer.
Notable changes and features included in the 5.4 series:
Improved conformance to RFC 9110 (HTTP Semantics), RFC 7616 (HTTP Digest Access Authentication), RFC 2617 (’Basic’ HTTP Authentication Scheme).
UTF-8 encoding is used by default for text where appropriate.
Compatibility with Java Virtual Threads and Java 21 Runtime.
Redesign and rewrite of the HTTP caching protocol layer for better efficiency and improved conformance to RFC 9111 (HTTP Caching).
Cache control and context APIs.
ETag APIs.
TLS SNI and endpoint identification improvements.
Support for RFC 2817 (Upgrading to TLS Within HTTP/1.1).
Auth cache no longer makes use of Java serialization.
Deprecation of ConnectionSocketFactory and LayeredConnectionSocketFactory.
HttpContext optimization and performance improvement.
Async cache is no longer considered experimental.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
The 5.3 release series introduces support for the Bearer authentication scheme (RFC 6750) and deprecates NTLM and GSS-based experimental authenticatio…
This is the first GA release in the 5.3 release series. This release finalizes the 5.3 APIs and also includes all bug fixes from the 5.2 release branch.
The 5.3 release series introduces support for the Bearer authentication scheme (RFC 6750) and deprecates NTLM and GSS-based experimental authentication schemes in favor of Basic / Bearer authentication with TLS.
Notable changes and features included in the 5.3 series:
Introduction of the Bearer authentication scheme.
Deprecation of the NTLM authentication scheme.
Deprecation of the GSS-based experimental authentication schemes.
Support for load distribution across multiple proxies.
Nothing published for this version
Nothing published for this version
Nothing published for this version
This is a maintenance release that fixes several regressions found in release 5.2.
This is a maintenance release that fixes several regressions found in release 5.2.
As of version 5.3 GSS-API-based authentication schemes (Kerberos, SPNEGO) and NTLM authentication schemes are going to be deprecated and disabled by d…
This is the first GA release in the 5.2 release series. This release finalizes the 5.2 APIs and corrects several defects discovered since the previous release.
Please note that 5.2 upgrades the minimal JRE level to version 8 (8u251 is required).
Please note this is likely to be the last release series with support for SPNEGO and NTLM authentication. As of version 5.3 GSS-API-based authentication schemes (Kerberos, SPNEGO) and NTLM authentication schemes are going to be deprecated and disabled by default.
Notable changes and features included in the 5.2 series:
Upgrade to Java 8.
Improved support for TLS upgrade and HTTP protocol upgrade (async).
Support for H2 tunneling via HTTP/1.1 proxy.
Conformance to RFC 7617 (The 'Basic' HTTP Authentication Scheme).
Migration to Java 8 Time primitives in State Management and Cache APIs.
Connection and TLS configuration on a per-route basis.
Base64 codec based on Commons Codec replaced with JRE Base64 codec. Dependency on Commons Codec dropped.
Optional support for BR (Brotli) decompression.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
This release upgrades HttpCore to the latest 5.1 version and fixes a number of issues found since release 5.1.
This release upgrades HttpCore to the latest 5.1 version and fixes a number of issues found since release 5.1.
This is the first GA release in the 5.1 release series.
This is the first GA release in the 5.1 release series.
Notable changes and features included in the 5.1 series:
Conditional conformance with RFC 3986 (Uniform Resource Identifier (URI): Generic Syntax).
Improved support for out of sequence response message handing by the the classic (blocking) HTTP transport.
Improved message builders.
Please note that 5.1 is going to be the last release series compatible with Java 1.7. HttpClient will require Java 1.8 as of 5.2.
Nothing published for this version
Nothing published for this version
This release upgrades HttpCore to the latest version, improves conformance to RFC 7235 (Hypertext Transfer Protocol (HTTP/1.1): Authentication) and ad
This release upgrades HttpCore to the latest version, improves conformance to RFC 7235 (Hypertext Transfer Protocol (HTTP/1.1): Authentication) and addresses a number of issues found since 5.0.2 release.
This release upgrades HttpCore to the latest version, improves conformance to RFC 7235 (Hypertext Transfer Protocol (HTTP/1.1): Authentication) and ad
This release upgrades HttpCore to the latest version, improves conformance to RFC 7235 (Hypertext Transfer Protocol (HTTP/1.1): Authentication) and addresses a number of issues found since 5.0.1 release.
This release upgrades HttpCore to the latest version and addresses a number of issues found since 5.0 release.
This release upgrades HttpCore to the latest version and addresses a number of issues found since 5.0 release.
This is the first stable (GA) release of HttpClient 5.0.
This is the first stable (GA) release of HttpClient 5.0.
Notable changes and features included in the 5.0 series are:
Support for the HTTP/2 protocol and conformance to requirements and recommendations of the latest HTTP/2 protocol specification documents (RFC 7540, RFC 7541.)
Supported features:
** HPACK header compression ** Stream multiplexing (client and server) ** Flow control ** Response push ** Message trailers ** Expect-continue handshake ** Connection validation (ping) ** Application-layer protocol negotiation (ALPN) ** TLS 1.2 security features
Improved conformance to requirements and recommendations of the latest HTTP/1.1 protocol specification documents (RFC 7230, RFC 7231.)
New connection pool implementation with lax connection limit guarantees and better performance under higher concurrency due to absence of a global pool lock.
Support for Reactive Streams API [http://www.reactive-streams.org/]
Package name space changed to 'org.apache.hc.client5'.
Maven group id changed to 'org.apache.httpcomponents.client5'.
HttpClient 5.0 releases can be co-located with earlier major versions on the same classpath due to the change in package names and Maven module coordinates.
This BETA release upgrades HttpCore to the latest version and addresses a number of issues found since the previous BETA release.
This BETA release upgrades HttpCore to the latest version and addresses a number of issues found since the previous BETA release.
IMPORTANT: This release is expected to be the last BETA version. If no major design flaws are found the actual 5.0 API will be frozen and the next version will be promoted to GA.
This BETA release picks up the latest fixes and performance improvements from HttpCore and addresses a number of issues found since the previous BETA
This BETA release picks up the latest fixes and performance improvements from HttpCore and addresses a number of issues found since the previous BETA release.
This BETA release picks up the latest fixes and performance improvements from HttpCore and addresses a number of issues found since the previous BETA
This BETA release picks up the latest fixes and performance improvements from HttpCore and addresses a number of issues found since the previous BETA release.
IMPORTANT: This release is expected to be the last BETA version. If no major design flaws are found the actual 5.0 API will be frozen and the next version will be promoted to GA.
This BETA release picks up the latest fixes and performance improvements from HttpCore and addresses a number of issues found since the previous BETA
This BETA release picks up the latest fixes and performance improvements from HttpCore and addresses a number of issues found since the previous BETA release.
Notable features in this release:
Security improvements.
URI handling improvements.
This BETA release adds support for advanced TLS functions (such as ALPN protocol negotiation) on Java 1.7 and Java 1.8 through Conscrypt TLS library a
This BETA release adds support for advanced TLS functions (such as ALPN protocol negotiation) on Java 1.7 and Java 1.8 through Conscrypt TLS library and picks up the latest fixes and performance improvements from HttpCore.
Notable features in this release:
This BETA release resolves compatibility issues with Java 11 new TLS engine as well as a number of defects found since the previous release.
This BETA release resolves compatibility issues with Java 11 new TLS engine as well as a number of defects found since the previous release.
Notable new features in this release:
JDK 11 compatibility
Support for request specific push consumers
Support for Reactive Streams API [http://www.reactive-streams.org/]
This is the first BETA release of HttpClient 5.0. The 5.0 release serices introduces support for the HTTP/2 protocol and event driven messaging APIs c
This is the first BETA release of HttpClient 5.0. The 5.0 release serices introduces support for the HTTP/2 protocol and event driven messaging APIs consistent for all supported HTTP protocol versions.
This is a major release that introduces support for the HTTP/2 protocol and event driven messaging APIs consistent for all supported HTTP protocol ver
This is a major release that introduces support for the HTTP/2 protocol and event driven messaging APIs consistent for all supported HTTP protocol versions.
HttpClient ships with two client implementations:
HttpClient Classic is based on the classic (blocking) I/O model; largely compatible with the 4.x APIs; supports HTTP/1.1 only.
HttpClient Async is based on NIO model; new event driven APIs consistent for all supported HTTP protocol versions; supports both HTTP/1.1 and HTTP/2.
Notable new features in this release:
Asynchronous HttpClient implementations optimized for HTTP/2 multiplexed request execution.
Full support for HTTP caching by asynchronous HttpClient implementations including streaming message exchanages.
Notable changes and features included in the 5.0 series are:
Support for the HTTP/2 protocol and conformance to requirements and recommendations of the latest HTTP/2 protocol specification documents (RFC 7540, RFC 7541.)
Supported features:
** HPACK header compression ** Stream multiplexing (client and server) ** Flow control ** Response push ** Message trailers ** Expect-continue handshake ** Connection validation (ping) ** Application-layer protocol negotiation (ALPN) on Java 9.0.1+ ** TLS 1.2 security features
Improved conformance to requirements and recommendations of the latest HTTP/1.1 protocol specification documents (RFC 7230, RFC 7231.)
Redesigned connection pool implementation with reduced pool lock contention.
Package name space changed to 'org.apache.hc.client5'.
Maven group id changed to 'org.apache.httpcomponents.client5'.
Apache Log4j2 logging APIs used for internal logging instead of Commons Logging APIs.
HttpClient 5.0 releases can be co-located with earlier major versions on the same classpath due to the change in package names and Maven module coordinates.
Please note that as of 5.0, HttpClient requires Java 1.7 or newer.
This is a major release that introduces support for the HTTP/2 protocol and event driven messaging APIs consistent for all supported HTTP protocol ver
This is a major release that introduces support for the HTTP/2 protocol and event driven messaging APIs consistent for all supported HTTP protocol versions.
HttpClient ships with two client implementations:
HttpClient Classic is based on the classic (blocking) I/O model; largely compatible with the 4.x APIs; supports HTTP/1.1 only.
HttpClient Async is based on NIO model; new event driven APIs consistent for all supported HTTP protocol versions; supports both HTTP/1.1 and HTTP/2.
Notable changes and features included in the 5.0 series are:
Partial support for the HTTP/2 protocol and conformance to requirements and recommendations of the latest HTTP/2 protocol specification documents (RFC 7540, RFC 7541.)
Supported features:
** HPACK header compression ** Stream multiplexing (client and server) ** Flow control ** Response push ** Message trailers ** Expect-continue handshake ** Connection validation (ping) ** Application-layer protocol negotiation (ALPN) on Java 1.9+ ** TLS 1.2 security features
Improved conformance to requirements and recommendations of the latest HTTP/1.1 protocol specification documents (RFC 7230, RFC 7231.)
Redesigned connection pool implementation with reduced pool lock contention.
Package name space changed to 'org.apache.hc.client5'.
Maven group id changed to 'org.apache.httpcomponents.client5'.
Apache Log4j2 logging APIs used for internal logging instead of Commons Logging APIs.
Features that are presently NOT supported:
HTTP/2 transport (classic)
HTTP tunneling (async)
Automatic response content decompression (async)
Caching (async)
HttpClient 5.0 releases can be co-located with earlier major versions on the same classpath due to the change in package names and Maven module coordinates.
Please note that as of 5.0, HttpClient requires Java 1.7 or newer.
Please note that at this point 5.0 APIs are considered experimental and unstable and are expected to change in the coming releases without providing a migration path.
This major release renders HttpClient API incompatible with the stable 4.x branch and upgrades HTTP/1.1 protocol conformance to the requirements and r
This major release renders HttpClient API incompatible with the stable 4.x branch and upgrades HTTP/1.1 protocol conformance to the requirements and recommendations of the latest protocol specification. This release lays the foundation for transition to HTTP/2 as the primary transport protocol in the future releases.
Notable changes and features included in the 5.0 series are:
Improved conformance to requirements and recommendations of the latest HTTP/1.1 protocol specification (RFC 7230, RFC 7231, RFC 7235)
Package name space changed to 'org.apache.hc.client5'
Maven group id changed to 'org.apache.httpcomponents.client5'
By default the maximum connections per route limit is set to 5
By default connection request timeout and connect timeout are set to 3 minutes.
HttpClient 5.0 releases can be co-located with earlier versions, meaning you can have both 5.x and 4.x on the classpath without experiencing jar hell.
Please note that as of 5.0 HttpClient requires Java 1.7 or newer.
Please note that at this point we consider 5.0 APIs experimental and unstable and expect them to change in the coming releases without providing a migration path.
One column per quarter.