Skip to content

feat(spring): add Spring Boot 4 / Spring Framework 7 support to spring-webmvc-6.0#11585

Closed
wconti27 wants to merge 1 commit into
masterfrom
apm-ai-toolkit/execute/spring-webmvc/20260606-134400
Closed

feat(spring): add Spring Boot 4 / Spring Framework 7 support to spring-webmvc-6.0#11585
wconti27 wants to merge 1 commit into
masterfrom
apm-ai-toolkit/execute/spring-webmvc/20260606-134400

Conversation

@wconti27
Copy link
Copy Markdown
Contributor

@wconti27 wconti27 commented Jun 6, 2026

🤖 Generated with APM Instrumentation Toolkit

Summary

  • Bumps latestDepTestImplementation spring-boot-starter-* from 3.+ to 4.+ for Spring Boot 4 / Spring Framework 7 test coverage
  • Bumps muzzle extraDependency jakarta.servlet-api from 5.0.0 to 6.1.0 (SF7 requires Servlet 6.1 / Jakarta EE 11)
  • Adds http.api_version span tag: reads HandlerMapping.API_VERSION_ATTRIBUTE ("org.springframework.web.servlet.HandlerMapping.apiVersion") set by SF7's API versioning strategies (path, header, query-param, media-type). Read as a String literal since compile baseline is spring-webmvc:6.0.0; constant was verified from the SF7 jar.

Test plan

  • compileJava — BUILD SUCCESSFUL
  • test — all tests pass (new SpringWebHttpServerDecoratorTest.java covers 3 cases)
  • spotlessApply/Check — clean
  • latestDepTest against spring-boot-starter-*:4.+ (CI)

Related

Part of Spring Boot 4 instrumentation: https://github.com/DataDog/apm-instrumentation-toolkit/issues/437
Depends on: #11584 (jakarta-servlet-6.0)

🤖 Generated with APM Instrumentation Toolkit

…g-webmvc-6.0

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant