Deprecate Apache 4.x HTTP Client - #7340
Merged
Merged
Conversation
Contributor
Author
|
Just realized I missed adding a changelog entry. Will add! |
ApacheHttpClient, which is based on Apache HttpClient 4.x is being deprecated in favor of the Apache 5.x HTTP client. The Apache 5.x client has already replaced the 4.x client as the default sync HTTP client since 2.46.0. Apache 5.x is actively maintained and receives new feature updates whereas Apache 4.x is in maintenance mode, only receiving critical fixes.
dagnir
force-pushed
the
dongie/deprecate-apache4
branch
from
September 2, 2026 21:54
39a52d6 to
210abdb
Compare
RanVaknin
approved these changes
Sep 2, 2026
dagnir
enabled auto-merge
September 8, 2026 20:56
|
This pull request has been closed and the conversation has been locked. Comments on closed PRs are hard for our team to see. If you need more assistance, please open a new issue that references this one. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation and Context
ApacheHttpClient, which is based on Apache HttpClient 4.x is being deprecated in favor of the Apache 5.x HTTP client.
The Apache 5.x client has already replaced the 4.x client as the default sync HTTP client since 2.46.0.
Apache 5.x is actively maintained and receives new feature updates whereas Apache 4.x is in maintenance mode, only receiving critical fixes.
Modifications
apache-client:ApacheHttpClient,ApacheHttpClient.Builder,ProxyConfiguration,ApacheSdkHttpServiceTesting
Screenshots (if appropriate)
Types of changes
Checklist
mvn installsucceedsscripts/new-changescript and following the instructions. Commit the new file created by the script in.changes/next-releasewith your changes.License