Skip to content

Commit aae1eb9

Browse files
adinauerclaude
andcommitted
docs(changelog): Add OpenTelemetry BOM usage snippets
Document the common Spring Boot Gradle plugin setup first, then native Gradle and Maven usage. This gives release note readers enough guidance to import the new BOM without opening the module README. Co-Authored-By: Claude <noreply@anthropic.com>
1 parent b9a8fcb commit aae1eb9

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,28 @@
55
### Features
66

77
- Add `io.sentry:sentry-opentelemetry-bom` to align Sentry OpenTelemetry modules with tested OpenTelemetry dependencies ([#5629](https://github.com/getsentry/sentry-java/pull/5629))
8+
- Spring Boot Gradle plugin: add the Sentry BOM to `dependencyManagement`; explicit imports are applied after Spring Boot's implicit BOM
9+
```kotlin
10+
dependencyManagement {
11+
imports {
12+
mavenBom("io.sentry:sentry-opentelemetry-bom:<sentry-version>")
13+
}
14+
}
15+
```
16+
- Gradle: import it as a platform and omit versions from Sentry OpenTelemetry and OpenTelemetry dependencies
17+
```kotlin
18+
implementation(platform("io.sentry:sentry-opentelemetry-bom:<sentry-version>"))
19+
```
20+
- Maven: import it before Spring Boot's BOM in the same `<dependencyManagement>` block, or in the child POM when using `spring-boot-starter-parent`
21+
```xml
22+
<dependency>
23+
<groupId>io.sentry</groupId>
24+
<artifactId>sentry-opentelemetry-bom</artifactId>
25+
<version>${sentry.version}</version>
26+
<type>pom</type>
27+
<scope>import</scope>
28+
</dependency>
29+
```
830

931
## 8.45.0
1032

0 commit comments

Comments
 (0)