From f284cdcc899a67939193adfa5b50a8fae3981e3d Mon Sep 17 00:00:00 2001 From: lcian Date: Tue, 8 Jul 2025 10:59:23 +0200 Subject: [PATCH 1/3] Use Spring Boot Starter 3 in `sentry-spring-boot-starter-jakarta` --- sentry-spring-boot-starter-jakarta/build.gradle.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) From 1c909cbf769bcbe37edde7ce527ac21fc1b4fbb3 Mon Sep 17 00:00:00 2001 From: lcian Date: Tue, 8 Jul 2025 11:01:31 +0200 Subject: [PATCH 2/3] improve --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 765ef6907b0..99a04bb2795 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,10 @@ - `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)) + ## 8.16.1-alpha.2 ### Fixes From 5e72798d0fad20ed596682b8cfd980f5b2184adb Mon Sep 17 00:00:00 2001 From: Lorenzo Cian Date: Tue, 8 Jul 2025 11:15:45 +0200 Subject: [PATCH 3/3] Update CHANGELOG.md --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 99a04bb2795..03aeda4a4ef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,8 @@ ### 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