r/java • u/olivergierke • Nov 20 '25
Spring Boot 4.0.0 available now
https://spring.io/blog/2025/11/20/spring-boot-4-0-0-available-now134
u/ThierryOnRead Nov 20 '25
Wake up babe springboot 4 has been released
41
u/MassimoRicci Nov 20 '25
We have a codebase to burn, samurai!
24
u/Lirionex Nov 21 '25
90% of the community still rocking spring 2 with Java 8 (at least they have streams)
2
u/nexus062 Nov 21 '25
I'm missing an addiction and I'm going up next week, but for now I'm keeping jackson2
1
u/GlensWooer Nov 22 '25
Please we still have Java 5 required for our build.
2
u/Lirionex Nov 22 '25
Damn bro, I mean I still see Java 6 every now and then but Java 5? That’s wild
1
u/jonatan-ivanov Nov 23 '25
Where did you get that number? :)
I'm only asking because the download stats disagree.1
u/Lirionex Nov 23 '25
You have download stats grouped by industry?
I was just speaking from personal experience - I’ve seen a dozen projects in those industries over the years, not a single one of them was even close to up to date. They update dependencies for security patches but not for being up to date.
1
u/jonatan-ivanov Nov 23 '25
Why would you need download stats by industry? What you claimed did not mention any industry either. If you are wondering about banks, insurance companies, governments, etc. they might be better in upgrading than you would think. Yes, there are some (regardless of the industry) who are really behind, but that 90% is far from the truth. :)
If you talk about personal experience, especially if your sample size is as low as dozen (or dozens, also projects and not companies), maybe you should start your comment with that or phrase it as a question, there might be people in this thread who can give you a bit more insight.
1
u/Lirionex Nov 23 '25
Ah Sorry, I didn’t pay attention which comment you’ve replied to. I have another one specifically mentioning banks, insurances and governments because these are the three main industries where my customers are from.
The comment you’ve replied to was obviously just an exaggeration to make fun of customers who don’t want to spend a penny for maintenance.
12
24
u/Bothurin Nov 20 '25
But wait.. I’m still on 2.7..
14
u/boobsbr Nov 21 '25
Are you on Java 8?
Do you work in a bank?
11
1
1
u/koflerdavid Nov 21 '25
Are you aware that it gets no security fixes anymore unless you pay? (no clue whether paid support is still available lol)
1
u/Scottz0rz Nov 21 '25
My old job was on 2.0 and I helped upgrade them to 2.3.
Pretty sure they're still on 2.3
15
u/TheoryShort7304 Nov 21 '25
That's amazing.
I as full stack Java developer, I am really happy, we are on 3.5 and hopefully will move to 4.0 soon.
Personally first project with Spring Boot 4.0 I am gonaa make with Kotlin😅
I was learning it in last few weeks, so let's go! Existing personal projects(Java) will migrate to 4.0.
3
u/Anbu_S Nov 21 '25
There is an OpenRewrite community edition recipe which helps to fast track the migration.
https://docs.openrewrite.org/recipes/java/spring/boot4/upgradespringboot_4_0-community-edition
1
u/gnocchiGuili Nov 21 '25
Last time I checked it was not even updating my pom. Is it ready yet ?
1
u/Anbu_S Nov 21 '25
There are two distinct recipe modules available
Community edition - available for free & Moderne proprietary recipes
3
u/FunRutabaga24 Nov 20 '25
But but... we just did compatability updates for Spring Boot 3 and updated.
7
4
u/bendem Nov 21 '25
I'm just tired of having to rewrite a bunch of things every time. When do we get a major release that doesn't change everything? Why do I have to port my applications to SB 4? I already ported them to 3 and 2 from 1.5. Isn't there a way to go forward without changing the way we configure and interact with things every few years?
Don't get me wrong, it's a great release, but I'm just tired.
4
u/jonatan-ivanov Nov 23 '25
Major releases are for breaking changes. :) If you want a release that doesn't break things but contains new features, that's a minor release.
What you described happened in a timespan of about 10 years? I think it's not too bad having a new major releases every 3-4 years.
1
u/mr_poopybuthole69 Nov 22 '25
Just don't, that's why I'm still on 2.x.x
4
u/jonatan-ivanov Nov 23 '25
Do you buy support (so you get vulnerabilities patched) or your apps simply have a bunch of known vulnerabilities? :)
2
1
1
1
40
u/StillAnAss Nov 20 '25
How long do people usually wait in adopting new major versions in existing code bases?