Repository navigation
build(deps): Prepare for Spring Boot 4.2 - #6532
Merged
Merged
Conversation
Align OpenTelemetry with the version managed by Spring Boot 4.2. Keep RestTemplate support compiling despite upstream removal warnings and update tests for OpenTelemetry's no-processor optimization. Co-Authored-By: Claude <noreply@anthropic.com>
📲 Install BuildsAndroid
|
adinauer
force-pushed
the
build/bump-spring-boot-4-2
branch
from
November 10, 2026 09:28
fea5757 to
9e6cbc3
Compare
Keep the Spring 7 sample compiling with warnings treated as errors after the Spring Boot 4.2 dependency bump. Co-Authored-By: Claude <noreply@anthropic.com>
adinauer
force-pushed
the
build/bump-spring-boot-4-2
branch
from
November 10, 2026 10:04
9e6cbc3 to
b458c42
Compare
Resolve Spring Boot 4.2 release candidate plugin and framework artifacts in clean CI environments. Co-Authored-By: Claude <noreply@anthropic.com>
Include a selection set so GraphQL Java 25 can print the test operations used by Spring subscription error reporting tests. Co-Authored-By: Claude <noreply@anthropic.com>
Align the OpenTelemetry instrumentation and Java agent with SDK 1.67.0. Update tests for the SDK optimization that returns non-recording spans when no span processor is configured. Co-Authored-By: Claude <noreply@anthropic.com>
# Conflicts: # CHANGELOG.md
adinauer
changed the base branch from
main
to
build/bump-opentelemetry-2-33-1
November 13, 2026 04:56
4 of 9 tasks
Limit the preparation PR to forward-compatible source and test changes. Remove the Spring Boot 4.2 release candidate bump, milestone repositories, and dependency changelog entry. Co-Authored-By: Claude <noreply@anthropic.com>
adinauer
marked this pull request as ready for review
November 13, 2026 05:12
adinauer
requested review from
markushi and
runningcode
and removed request for
a team
November 13, 2026 05:12
romtsn
approved these changes
Nov 13, 2026
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR is currently based on #6602 to keep its diff isolated. Its changes do not require the OpenTelemetry bump.
📜 Description
Prepare the Spring Boot 4 integration for Spring Boot 4.2 without changing the declared Spring Boot version or adding pre-release repositories.
Suppress Spring Framework 7.1's
RestTemplateremoval warnings in the existing integration and sample usage. Build valid GraphQL operation documents in subscription tests so they remain compatible with GraphQL Java 25.💡 Motivation and Context
Testing against Spring Boot 4.2.0-RC2 exposed source and test compatibility work that can land independently before the dependency upgrade.
Keeping this PR limited to forward-compatible changes avoids publishing against a release candidate or adding Spring's milestone repository to normal builds.
💚 How did you test it?
make format api./gradlew :sentry-spring-7:test :sentry-spring-boot-4:check --console=plain./gradlew -p sentry-samples --continue check --console=plain📝 Checklist
sendDefaultPIIis enabled.🔮 Next steps
RestTemplateinstrumentation before Spring Framework 8 removes those APIs.#skip-changelog