You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix(spring): Support Spring Boot 4.1
Bump OpenTelemetry and Spring Boot dependencies to compatible versions so the Spring Boot 4 OpenTelemetry sample works with Spring Boot 4.1.
Keep the Spring 7 sample on the repository Kotlin compiler version when importing the Spring Boot BOM, and add Spring Boot 4.1 to the system test matrix.
FixesGH-5561
Co-Authored-By: Claude <noreply@anthropic.com>
* changelog
* build: Bump Kotlin to 2.3.21
Align the global Kotlin version with Spring Boot 4.1 and remove the now-unneeded Spring 7 BOM override.
Also remove unused Spring 7-specific Kotlin aliases from the version catalog.
Co-Authored-By: Claude <noreply@anthropic.com>
* docs(changelog): Move bump entry to Unreleased and add version details
Move the Spring Boot 4 / OpenTelemetry dependency bump entry from
8.44.1 to the Unreleased section and add sub-list items showing
each dependency version change.
Co-Authored-By: Claude <noreply@anthropic.com>
* fix(spring): Fix Spring 7 sample test compilation in SB4 matrix
The Spring 7 sample had two dependency issues causing
compileTestKotlin to fail in the Spring Boot 4.x CI matrix:
1. Used libs.springboot.starter.test (Spring Boot 2.7.18) instead of
libs.springboot4.starter.test, mixing Spring Framework 5.x test
utilities with a Spring Framework 7.x runtime.
2. Missing Kotlin BOM import in dependencyManagement. Without it,
Spring Boot 4.0.0's BOM downgraded kotlin-stdlib to 2.2.21 while
the compiler and build tools remained at 2.3.21, causing
ClasspathEntrySnapshotTransform initialization failures.
Co-Authored-By: Claude <noreply@anthropic.com>
* mention BOM in changelog
---------
Co-authored-by: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: gradle/libs.versions.toml
+9-14Lines changed: 9 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -13,8 +13,7 @@ feign = "11.6"
13
13
gummyBears = "0.12.0"
14
14
jackson = "2.18.3"
15
15
jetbrainsCompose = "1.6.11"
16
-
kotlin = "2.2.0"
17
-
kotlinSpring7 = "2.2.0"
16
+
kotlin = "2.3.21"
18
17
kotlin-compatible-version = "1.9"
19
18
ksp = "2.3.9"
20
19
ktorClient = "3.0.0"
@@ -25,25 +24,24 @@ nopen = "1.0.1"
25
24
# see https://developer.android.com/jetpack/androidx/releases/compose-kotlin
26
25
okhttp = "4.9.2"
27
26
openfeature = "1.18.2"
28
-
otel = "1.60.1"
29
-
# Keep alpha OpenTelemetry BOMs in sync with their stable counterparts: <stable-version>-alpha.
30
-
otelAlpha = "1.60.1-alpha"
31
-
otelInstrumentation = "2.26.0"
32
-
otelInstrumentationAlpha = "2.26.0-alpha"
27
+
otel = "1.63.0"
28
+
otelAlpha = "1.63.0-alpha"
29
+
otelInstrumentation = "2.29.0"
30
+
otelInstrumentationAlpha = "2.29.0-alpha"
33
31
# check https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/dependencyManagement/build.gradle.kts#L49 for release version above to find a compatible version
34
-
otelSemanticConventions = "1.40.0"
35
-
otelSemanticConventionsAlpha = "1.40.0-alpha"
32
+
otelSemanticConventions = "1.42.0"
33
+
otelSemanticConventionsAlpha = "1.42.0-alpha"
36
34
retrofit = "2.9.0"
37
35
room2 = "2.8.4"
38
36
room3 = "3.0.0-rc01"
39
37
sagp = "6.13.0"
40
38
sqlite = "2.6.2"
41
39
sqliteRc = "2.7.0-rc01"# Required by Room3 3.0.0-rc*
42
40
slf4j = "1.7.30"
43
-
spotless = "8.4.0"
41
+
spotless = "8.6.0"
44
42
springboot2 = "2.7.18"
45
43
springboot3 = "3.5.0"
46
-
springboot4 = "4.0.0"
44
+
springboot4 = "4.1.0"
47
45
sqldelight = "2.3.2"
48
46
49
47
# Android
@@ -54,8 +52,6 @@ minSdk = "21"
54
52
[plugins]
55
53
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
56
54
kotlin-spring = { id = "org.jetbrains.kotlin.plugin.spring", version.ref = "kotlin" }
57
-
kotlin-spring7 = { id = "org.jetbrains.kotlin.plugin.spring", version.ref = "kotlinSpring7" }
58
-
kotlin-jvm-spring7 = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlinSpring7" }
59
55
kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
60
56
kotlin-compose = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
61
57
kotlin-multiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" }
0 commit comments