Skip to content

Spring Boot 4.1.0 M4 Release Notes

Andy Wilkinson edited this page Mar 25, 2026 · 3 revisions

Spring Boot 4.1.0-M4 Release Notes

For changes in earlier milestones, please refer to:

Upgrading from Spring Boot 4.0

This is an out-of-band release to revert Rabbit and AMQP changes made in M3. If you are upgrading from M3, you may need to revert to the previous AMQP starter POMs.

Spring Data JPA Bootstrap Modes

The spring.data.jpa.repositories.bootstrap-mode property has been refined to better align typical application usage.

  • If you set the mode to deferred, you will now get an exception if a suitable AsycTaskExecutor bean cannot be found for use with the auto-configured LocalContainerEntityManagerFactoryBean bootstrap executor.

  • If you set the mode to lazy, then the auto-configured LocalContainerEntityManagerFactoryBean bootstrap executor is no longer set as it’s generally not needed.

New and Noteworthy

Tip
Check the configuration changelog for a complete overview of the changes in configuration.

Dependency Upgrades

Numerous third-party dependencies have been updated, some of the more noteworthy of which are the following:

Miscellaneous

Apart from the changes listed above, there have also been a few minor tweaks and improvements including:

  • A new spring.jpa.bootstrap property has been added to allow you to configure async background bootstrapping of the LocalContainerEntityManagerFactoryBean.

  • Custom gRPC server-side conventions are associated with the auto-configured ObservationGrpcServerInterceptor.

Deprecations in Spring Boot 4.1.0-M4

  • None.

Clone this wiki locally