Skip to content

Spring Boot 4.1.0 M1 Release Notes

Stéphane Nicoll edited this page Dec 19, 2025 · 4 revisions

:framework-docs:https://docs.spring.io/spring-framework/reference/7.0.x-SNAPSHOT :framework-api-docs: https://docs.spring.io/spring-framework/docs/7.0.x-SNAPSHOT/javadoc-api/org/springframework

Spring Boot 4.1.0-M1 Release Notes

Upgrading from Spring Boot 4.0

Deprecations from Spring Boot 4.0

Classes, methods and properties that were deprecated in Spring Boot 4.0 have been removed in this release. Please ensure that you aren’t calling deprecated methods before upgrading.

Minimum Requirements Changes

New and Noteworthy

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

Embedded LDAP

Auto-configuration of an embedded LDAP server now supports SSL (LDAPS). To enable SSL, configure an SSL bundle using the spring.ldap.embedded.ssl.bundle property.

SimpleMessageListenerContainer Support

The JMS support has been improved to provide a configurer for SimpleJmsMessageListener that is similar to the existing DefaultJmsListenerContainerFactoryConfigurer. The simple implementation may be more suitable in certain scenarios, check the {framework-docs}/integration/jms/using.html#jms-mdp[Spring Framework Reference Guide] for more details.

Restoration of Spock Support

This release reintroduces Spock support since we now have a Spock 2.4 release that support Groovy 5.

Dependency Upgrades

Spring Boot 4.0.0-M1 moves to new versions of several Spring projects:

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

Miscellaneous

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

  • AssertJ implementations make use of @CheckReturnValue when applicable.

  • Add a failure analyzer that provides more details when Testcontainers cannot find a suitable Docker environment.

  • EntityManagerFactoryBuilder can now add PersistenceUnitPostProcessor instances rather than just setting them.

  • JVM and System metrics use their respective meter conventions, if available.

  • Mustache support consistently use Charset instead of the String equivalent.

Deprecations in Spring Boot 4.1.0-M1

Clone this wiki locally