Skip to content

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

Merged
adinauer merged 4 commits into
9.x.xfrom
feat/remove-apache-transport-v9
Oct 9, 2026
Merged

adinauer merged 4 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 a77d6fc

@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.59.0 (1) release

⚙️ sentry-android Build Distribution Settings

@lbloder lbloder left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM 👍
Just a minor question about where to put this in the changelog

Comment thread CHANGELOG.md
adinauer and others added 2 commits October 9, 2026 12:34
Preserve the dependency ordering from the updated v9 base and remove duplicate declarations introduced while resolving merge conflicts.

Co-Authored-By: Claude <noreply@anthropic.com>
@adinauer
adinauer marked this pull request as ready for review October 9, 2026 10:45
@adinauer
adinauer merged commit ff64ada into 9.x.x Oct 9, 2026
66 of 67 checks passed
@adinauer
adinauer deleted the feat/remove-apache-transport-v9 branch October 9, 2026 11:39
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