Skip to content

feat(transport): Remove Apache HttpClient transport - #6214

Draft
adinauer wants to merge 2 commits into
9.x.xfrom
feat/remove-apache-transport-v9
Draft

adinauer wants to merge 2 commits into
9.x.xfrom
feat/remove-apache-transport-v9

Conversation

@adinauer

@adinauer adinauer commented Oct 2, 2026 •

Copy link
Copy Markdown
Member

📜 Description

Remove the sentry-apache-http-client-5 module and stop publishing its artifact. Remove the corresponding Apache transport auto-configuration from the Spring Boot 2, 3, and 4 integrations, along with repository metadata and documentation references.

Spring RestClient tests still use Apache HttpClient as an HTTP backend, so the relevant Spring Boot modules now declare it directly as a test dependency.

💡 Motivation and Context

The Apache HttpClient transport is being removed as part of the Java SDK 9 breaking-change cleanup. Applications that previously depended on this optional transport will use the SDK's default transport unless they configure another custom ITransportFactory.

💚 How did you test it?

  • ./gradlew spotlessApply apiDump
  • ./gradlew :sentry-spring-boot:check :sentry-spring-boot-jakarta:check :sentry-spring-boot-4:check :sentry-bom:check

📝 Checklist

  • I added GH Issue ID & Linear ID
  • I added tests to verify the changes.
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • Review from the native team if needed.
  • No breaking change or entry added to the changelog.
  • No breaking change for hybrid SDKs or communicated to hybrid SDKs.
  • Public API changes reviewed by another Mobile SDK team member or implemented according to the develop docs spec.

🔮 Next steps

None.

adinauer and others added 2 commits October 2, 2026 14:36
Remove the Apache HttpClient transport module and its Spring Boot auto-configuration as part of the version 9 cleanup.

BREAKING CHANGE: sentry-apache-http-client-5 is no longer published.

Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions

github-actions Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor
Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against 10ad1ce

@sentry

sentry Bot commented Oct 2, 2026

Copy link
Copy Markdown

📲 Install Builds

Android

🔗 App Name App ID Version Configuration
SDK Size io.sentry.tests.size 8.58.0 (1) release

⚙️ sentry-android Build Distribution Settings

This branch has not been deployed

No deployments
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.

1 participant