Skip to content

Rename Spring javaagent packages to follow module-naming convention#18425

Merged
laurit merged 1 commit into
open-telemetry:mainfrom
trask:spring-renames
Apr 30, 2026
Merged

Rename Spring javaagent packages to follow module-naming convention#18425
laurit merged 1 commit into
open-telemetry:mainfrom
trask:spring-renames

Conversation

@trask

@trask trask commented Apr 30, 2026

Copy link
Copy Markdown
Member

Applies the pattern from #18181 (Vert.x javaagent package renames) to six Spring javaagent modules, using dot-split form for multi-word project names (matching upstream Spring package layout, e.g. org.springframework.cloud.gateway, and the existing spring-security-config-6.0spring.security.config.v6_0 precedent). Library packages and version-suffixed packages that already match the convention are left unchanged.

Module Old package New package
spring-boot-actuator-autoconfigure-2.0 spring.actuator.v2_0 spring.boot.actuator.v2_0
spring-cloud-aws-3.0 spring.aws spring.cloud.aws.v3_0
spring-cloud-gateway-2.0 spring.gateway.v2_0 spring.cloud.gateway.v2_0
spring-cloud-gateway-common spring.gateway.common spring.cloud.gateway.common
spring-cloud-gateway-webmvc-4.3 spring.gateway.webmvc.v5_0 spring.cloud.gateway.webmvc.v4_3
spring-webmvc-common spring.webmvc spring.webmvc.common

The spring-cloud-gateway-webmvc-4.3 rename also corrects the package version segment (was v5_0, now v4_3 to match the module directory). The spring-cloud-aws-3.0 rename adds the previously missing version segment v3_0.

@trask trask requested a review from a team as a code owner April 30, 2026 00:51
Applies the pattern from open-telemetry#18181 (Vert.x javaagent package renames) to
six Spring javaagent modules, using dot-split form for multi-word
project names (matching upstream Spring package layout and existing
spring-security-config-6.0 precedent). Library packages and
version-suffixed packages that already match the convention are left
unchanged.

| Module | Old package | New package |
|---|---|---|
| spring-boot-actuator-autoconfigure-2.0 | spring.actuator.v2_0 | spring.boot.actuator.v2_0 |
| spring-cloud-aws-3.0 | spring.aws | spring.cloud.aws.v3_0 |
| spring-cloud-gateway-2.0 | spring.gateway.v2_0 | spring.cloud.gateway.v2_0 |
| spring-cloud-gateway-common | spring.gateway.common | spring.cloud.gateway.common |
| spring-cloud-gateway-webmvc-4.3 | spring.gateway.webmvc.v5_0 | spring.cloud.gateway.webmvc.v4_3 |
| spring-webmvc-common | spring.webmvc | spring.webmvc.common |

The spring-cloud-gateway-webmvc-4.3 rename also corrects the package
version segment (was v5_0, now v4_3 to match the module directory).
The spring-cloud-aws-3.0 rename adds the previously missing version
segment v3_0.
@laurit laurit merged commit aea335b into open-telemetry:main Apr 30, 2026
93 checks passed
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