Skip to content

Spring Boot 4.2.0 M1 Release Notes

Stéphane Nicoll edited this page Jul 15, 2026 · 6 revisions

Spring Boot 4.2.0-M1 Release Notes

Upgrading from Spring Boot 4.1

Deprecations from Spring Boot 4.1

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

AMQP 0.9 support moved

With the introduction of AMQP 1.0 support, users should make a choice when upgrading:

  1. Stay on AMQP 0.9 support, which requires migrating from spring-boot-starter-amqp to spring-boot-start-rabbitmq.

  2. Use AMQP 1.0 support, which requires migrating from spring-boot-starter-amqp to spring-boot-start-amqp-rabbitmq.

Harmonization of Sets and Maps in Configuration Properties

Configuration properties that are shipped by Spring Boot now use the same implementation as the binder for consistency. Binding to those types now keeps the order specified in the configuration file consistently.

You may be impacted if you were relying on the order by reading the raw Set or Map.

Minimum Requirements Changes

New and Noteworthy

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

AMQP 1.0 Support

Support for AMQP 1.0 has been added:

  1. Generic support using QPid Proton, suitable to connect to any AMQP 1.0-compliant broker. Check the Spring AMQP reference guide for more details.

  2. RabbitMQ AMQP 1.0 Support that has more features tailored for RabbitMQ.

The existing AMQP 0.9 support is still available, and users should migrate to spring-boot-starter-rabbitmq.

Dependency Upgrades

Spring Boot 4.2.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:

  • ApplicationHome and ApplicationTemp exposes convenient java.nio.file.Path.

  • Plugin management for hibernate-maven-plugin has been added. If you were providing a version, you can omit it if you are using Maven with spring-boot-starter-parent.

Deprecations in Spring Boot 4.2.0-M1

Clone this wiki locally