Skip to content

Comments

Make apache5-client the default sync HTTP client#6732

Open
dagnir wants to merge 1 commit intomasterfrom
dongie/apache5-as-default
Open

Make apache5-client the default sync HTTP client#6732
dagnir wants to merge 1 commit intomasterfrom
dongie/apache5-as-default

Conversation

@dagnir
Copy link
Contributor

@dagnir dagnir commented Feb 12, 2026

Motivation and Context

This commit swaps the default apache-client dependency of service modules with apache5-client. Applications just relying on the default HTTP client will now use Apache5HttpClient as a result.

Modifications

  • Replace apache-client with apache5-client
  • Update tests that use ApacheHttpClient directly
  • Bump minor version to 2.42.0-SNAPSHOT

Testing

Screenshots (if appropriate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Checklist

  • I have read the CONTRIBUTING document
  • Local run of mvn install succeeds
  • My code follows the code style of this project
  • My change requires a change to the Javadoc documentation
  • I have updated the Javadoc documentation accordingly
  • I have added tests to cover my changes
  • All new and existing tests passed
  • I have added a changelog entry. Adding a new entry must be accomplished by running the scripts/new-change script and following the instructions. Commit the new file created by the script in .changes/next-release with your changes.
  • My change is to implement 1.11 parity feature and I have updated LaunchChangelog

License

  • I confirm that this pull request can be released under the Apache 2 license

@dagnir dagnir changed the title Dongie/apache5 as default Make apache5-client the default HTTP client Feb 12, 2026
@dagnir dagnir changed the title Make apache5-client the default HTTP client Make apache5-client the default sync HTTP client Feb 12, 2026
@dagnir dagnir force-pushed the dongie/apache5-as-default branch from 3ac9407 to 7d111aa Compare February 12, 2026 00:31
This commit swaps the default apache-client dependency of service
modules with apache5-client. Applications just relying on the default
HTTP client will now use `Apache5HttpClient` as a result.
@dagnir dagnir force-pushed the dongie/apache5-as-default branch from 7d111aa to 501ee26 Compare February 24, 2026 00:01
"type": "feature",
"category": "AWS SDK for Java v2",
"contributor": "",
"description": "This update replaces the default `apache-client` runtime dependency of service clients with the new `apache5-client`. This means that service clients will now use the `Apache5HttClient` by default if no HTTP client is explicitly configured on the service client builder. The SDK version is also updates to `2.42.0` to reflect this change in default client."
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: version will be bumped before merging since releases done before then will cause merge conflicts.

@dagnir dagnir marked this pull request as ready for review February 24, 2026 00:09
@dagnir dagnir requested a review from a team as a code owner February 24, 2026 00:09
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
50.7% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants