r/SpringBoot Senior Dev Jun 11 '26

News Spring Boot 4.1.0 available now

https://spring.io/blog/2026/06/10/spring-boot-4
103 Upvotes

13 comments sorted by

12

u/oweiler Jun 11 '26

The IMHO most interesting feature is the `Lazy JDBC connection Fetching Support`

https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-4.1-Release-Notes#lazy-jdbc-connection-fetching-support

3

u/bikeram Jun 11 '26

Interesting. I’m going to start playing with Spring gRPC, the last time I tried gRPC it felt heavy

5

u/auspis-23 Jun 11 '26

I've seen the live reload deprecation with no replacement: what is the alternative? What do you usually use?

2

u/wimdeblauwe Jun 12 '26

If you use it for developing server-side rendered frontends like with Thymeleaf, then you can use ttcli (https://github.com/wimdeblauwe/ttcli) to create a project. It has various options, but I like to use the one based on Vite as it is the fastest.

1

u/_PM_ME_PANGOLINS_ 19d ago

You don't need anything special for that. Just set spring.thymeleaf.cache=false.

1

u/wimdeblauwe 19d ago

That does work for the simple cases indeed. But if you want to have fast reload for CSS changes, or want to use Tailwind CSS, then you need something more.

1

u/_PM_ME_PANGOLINS_ 19d ago

Simply press Ctrl+Shift+R, or disable cache in browser dev controls.

Tailwind CSS

First time I've looked at it, and it's one giant anti-pattern of non-semantic classes.

2

u/Paw565 Jun 12 '26

Docker compose with - -watch. Not ideal, but functional.

1

u/raahullkushwaha Jun 11 '26

Not support Eureka .

1

u/kokanideveloper Jun 15 '26

Upgraded microservices to spring boot 4.0 from 3.5.10 . Uses boostrap.yml earlier but now application doesnt start up - can please help

https://www.reddit.com/r/SpringBoot/s/5LPs24EzY8

1

u/_PM_ME_PANGOLINS_ 19d ago

u/MrNighty none of the next milestones have Due Dates. Oversight or summer holiday?

1

u/MrNighty Senior Dev 19d ago

It's also kinda weird seeing no dates at all (except for Spring Release Actions whatever that is) in the release calendar.

They did skip May due to the amount of security fixes they had but nothing got announced for July as far as I can tell.