Skip to content

Commit 328d1a1

Browse files
authored
Use Spring Boot Starter 3 in sentry-spring-boot-starter-jakarta (#4545)
1 parent 6e0d085 commit 328d1a1

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@
2121
- `opentelemetry-semconv` to `1.34.0`
2222
- We are now configuring OpenTelemetry to still behave the same way it did before for span names it generates in GraphQL auto instrumentation ([#4537](https://github.com/getsentry/sentry-java/pull/4537))
2323

24+
### Fixes
25+
26+
- Use Spring Boot Starter 3 in `sentry-spring-boot-starter-jakarta` ([#4545](https://github.com/getsentry/sentry-java/pull/4545))
27+
- While refactoring our dependency management, we accidentally added Spring Boot 2 and Spring Boot Starter 2 as dependencies of `sentry-spring-boot-starter-jakarta`, which is intended for Spring Boot 3.
28+
- Now, the correct dependencies (Spring Boot 3 and Spring Boot Starter 3) are being added.
29+
2430
## 8.16.1-alpha.2
2531

2632
### Fixes

sentry-spring-boot-starter-jakarta/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ plugins {
99
jacoco
1010
alias(libs.plugins.errorprone)
1111
alias(libs.plugins.gradle.versions)
12-
alias(libs.plugins.springboot2) apply false
12+
alias(libs.plugins.springboot3) apply false
1313
}
1414

1515
configure<JavaPluginExtension> {
@@ -24,7 +24,7 @@ tasks.withType<KotlinCompile>().configureEach {
2424

2525
dependencies {
2626
api(projects.sentrySpringBootJakarta)
27-
api(libs.springboot.starter)
27+
api(libs.springboot3.starter)
2828

2929
annotationProcessor(platform(SpringBootPlugin.BOM_COORDINATES))
3030
annotationProcessor(Config.AnnotationProcessors.springBootAutoConfigure)

0 commit comments

Comments
 (0)