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
{{ message }}
Repository navigation
Upgrade to Kotlin 2.x and set a new related baseline #33629
Spring Framework 7 will use Kotlin 2.x as a new baseline, TBD if we use 2.0, 2.1, 2.2 or 2.3 as the minimal version supported, this kind of decision could be driven by #21546 requirements.
Kotlin Serialization and Kotlin Coroutines should be upgraded accordingly, related upgrade issue will be created when it is clearer what version we will use.
Yes, it will be Spring Boot 4.0 that should be available towards in end of 2025 as mentioned in this announcement. That said, it should be possible to use Kotlin 2 with Spring Boot 3 and Spring Framework 6, but you should pay attention to dependency management.
Activity
Stop using Java code snippets in Kotlin ones
Upgrade to Kotlin 2.1.0
bcmedeiros commentedon Jan 17, 2025
Do we know the earliest Spring Boot public release that will contain this issue and the expected timeline for it?
sdeleuze commentedon Jan 17, 2025
Yes, it will be Spring Boot 4.0 that should be available towards in end of 2025 as mentioned in this announcement. That said, it should be possible to use Kotlin 2 with Spring Boot 3 and Spring Framework 6, but you should pay attention to dependency management.
silviuburceadev commentedon Jan 28, 2025
We are using Kotlin 2 with SB 3.4 without any issues.