diff --git a/CHANGELOG.md b/CHANGELOG.md index 765ef6907b0..03aeda4a4ef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,12 @@ - `opentelemetry-semconv` to `1.34.0` - 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)) +### Fixes + +- Use Spring Boot Starter 3 in `sentry-spring-boot-starter-jakarta` ([#4545](https://github.com/getsentry/sentry-java/pull/4545)) + - 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. + - Now, the correct dependencies (Spring Boot 3 and Spring Boot Starter 3) are being added. + ## 8.16.1-alpha.2 ### Fixes diff --git a/sentry-spring-boot-starter-jakarta/build.gradle.kts b/sentry-spring-boot-starter-jakarta/build.gradle.kts index 899b70765e0..e671425de3c 100644 --- a/sentry-spring-boot-starter-jakarta/build.gradle.kts +++ b/sentry-spring-boot-starter-jakarta/build.gradle.kts @@ -9,7 +9,7 @@ plugins { jacoco alias(libs.plugins.errorprone) alias(libs.plugins.gradle.versions) - alias(libs.plugins.springboot2) apply false + alias(libs.plugins.springboot3) apply false } configure { @@ -24,7 +24,7 @@ tasks.withType().configureEach { dependencies { api(projects.sentrySpringBootJakarta) - api(libs.springboot.starter) + api(libs.springboot3.starter) annotationProcessor(platform(SpringBootPlugin.BOM_COORDINATES)) annotationProcessor(Config.AnnotationProcessors.springBootAutoConfigure)