Skip to content

Spring Boot 3.0.0 M3 Release Notes

Andy Wilkinson edited this page Mar 29, 2022 · 28 revisions

Spring Boot 3.0.0 M3 Release Notes

For changes in earlier milestones, please refer to:

Upgrading from Spring Boot 2.x

Minimum Requirements Changes

None.

Actuator Metrics Export Properties

We have moved the properties controlling the actuator metrics export. The old schema was management.metrics.export.<product>, the new one is management.<product>.metrics.export (Example: the prometheus properties moved from management.metrics.export.prometheus to management.prometheus.metrics.export). If you are using the spring-boot-properties-migrator, you will get notified at startup. See #30381 for details.

Simplifed Main Class Name Resolution with Gradle

When building an application with Gradle, resolution of the name of the application’s main class has been simplified and made consistent. bootJar, bootRun, and bootWar now all resolve the name of the main class name by looking for it in the output of the main source set. This removes a small risk that the tasks may not have used the same main class name by default. If you were relying on the main class being resolved from a location outside of the main source set’s output, update your Gradle configuration to configure the main class name using the mainClass property of the springBoot DSL:

springBoot {
    mainClass = "com.example.Application"
}

Alternatively, you can configure the classpath property of the resolveMainClassName task to search in locations other than the main source set’s output directories.

New and Noteworthy

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

Reinstated Support for REST Assured

With it’s 5.0 release, REST Assured is compatible with Jakarta EE 9 and Groovy 4.0. As a result, support has been reinstated.

Dependency Upgrades

Spring Boot 3.0.0-M3 moves to new versions of several Spring projects:

  • TBD

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

  • REST Assured 5.0

Miscellaneous

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

  • TBD

Deprecations in Spring Boot 3.0

  • The properties management.metrics.export.<product> are deprecated, the replacement is management.<product>.metrics.export. See above for more details.

Clone this wiki locally