-
Notifications
You must be signed in to change notification settings - Fork 42.1k
Spring Boot 4.2.0 M1 Release Notes
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.
With the introduction of AMQP 1.0 support, users should make a choice when upgrading:
-
Stay on AMQP 0.9 support, which requires migrating from
spring-boot-starter-amqptospring-boot-start-rabbitmq. -
Use AMQP 1.0 support, which requires migrating from
spring-boot-starter-amqptospring-boot-start-amqp-rabbitmq.
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.
|
Tip
|
Check the configuration changelog for a complete overview of the changes in configuration. |
Support for AMQP 1.0 has been added:
-
Generic support using QPid Proton, suitable to connect to any AMQP 1.0-compliant broker. Check the Spring AMQP reference guide for more details.
-
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.
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:
-
…
Apart from the changes listed above, there have also been lots of minor tweaks and improvements including:
-
ApplicationHomeandApplicationTempexposes convenientjava.nio.file.Path. -
Plugin management for
hibernate-maven-pluginhas been added. If you were providing a version, you can omit it if you are using Maven withspring-boot-starter-parent.