Kotlin and Spring Boot upgrades
Kotlin 2.3.20 and 2.4, Spring Boot 4 and 4.2: what breaks, what changes without a compile error, what to test first, and Java4Shell triage.
Start with
-
Spring Boot 4.2 Upgrade: What Breaks, and Should You Move Now?
Spring Boot 4.2 upgrade: who should move now, what breaks from 4.0 or 4.1, the defaults that change silently, RestTemplate, and a staged rollout.
-
Upgrading to Kotlin 2.4: Breaking Changes, Step by Step
Upgrading to Kotlin 2.4? The breaking changes that cost time — new annotation targets, warnings now errors, removed Gradle APIs — and a safe upgrade path.
Each release post says whether to move now, what breaks, and what I’d test first. The changes that cost the most time are often the ones that don’t fail the build: Jackson 3’s new defaults in Spring Boot 4, forwarded headers and redirects in 4.2, and where annotations on properties land in Kotlin 2.4.
Spring Boot Link to heading
- Migrating a Kotlin Service from Spring Boot 3 to 4: the big jump. Why JSpecify null safety pays off in Kotlin, what really costs time, and an upgrade path in mergeable steps.
- Spring Boot 4.2 Upgrade: What Breaks, and Should You Move Now?: who should move now, and the full list of behaviour that changes without a compile error, including Redis, metrics and the base image.
Kotlin Link to heading
- Kotlin 2.3.20: What Changed, What Breaks, and What I’d Test First: a tooling release, with Gradle and Maven changes and one real migration risk around context-parameter overloads.
- Upgrading to Kotlin 2.4: Breaking Changes, Step by Step: the language release after 2.3.20’s tooling one. Context parameters are stable, and warnings from earlier releases are now errors. The risk to respect is annotations on properties: they can land on new targets without a compile error, which may switch on validation that was silently off.
Security fixes Link to heading
Not every upgrade is planned. Java4Shell and Your Spring Boot Service is a triage checklist for CVE-2026-114938: the three checks for exposure, where Spring decodes Base64 before login, and how to patch and prove it.
To put stable context parameters to work, see Kotlin context parameters in Spring. For the language itself, see Kotlin for Java developers.
All posts in this topic
-
Spring Boot 4.2 Upgrade: What Breaks, and Should You Move Now?
Spring Boot 4.0’s open-source support ends on December 31, and 4.2 is out. Here’s who should move now, who can wait, what the upgrade really costs (most of it is behavior, not code), what it pays back, and a rollout you can measure.
-
Java4Shell and Your Spring Boot Service: A Triage Checklist
Java4Shell is real, but whether it can hurt your Spring Boot service comes down to three checks: your JDK build, your CPU, and whether untrusted Base64 reaches the JDK decoder. In a default Spring Boot 3 or 4 app, it does, through HTTP Basic, CSRF and file uploads. Here’s how to check a whole fleet, then patch and prove it.
-
Upgrading to Kotlin 2.4: Breaking Changes, Step by Step
Kotlin 2.4.0 makes context parameters stable, turns old warnings into errors, and changes where your annotations land. Here’s whether to upgrade now, what will break, and a path that keeps every step small.
-
Migrating a Kotlin Service from Spring Boot 3 to 4
Spring Boot 4 finally gives Kotlin real null safety at the framework boundary. Here’s who should migrate from Spring Boot 3 now, the three things that will cost you time, and an upgrade path you can merge one step at a time.
-
Kotlin 2.3.20: What Changed, What Breaks, and What I'd Test First
Kotlin 2.3.20 is a tooling release with Gradle 9.3 support, Maven smart defaults, and one real migration risk around context-parameter overloads.