Skip to content

Spring Initializr 0.10 Release Notes

Stéphane Nicoll edited this page Jan 21, 2022 · 2 revisions

Upgrading from Initializr 0.9

Removal of Spring Boot 1.x support

The Spring conventions have been upgraded so that it is no longer possible to create a project with Spring Boot 1.x. Spring Boot 1.x is EOL since Aug 1st 2019.

Removal of Automatic Binding from "stats-services"

The EnvironmentPostProcessor that does the binding from a service named "stats-services" to initializr.stats.elastic.uri has been removed. If you are using CloudFoundry and statistics harvesting using Elasticsearch, you will need to replicate that logic in your own instance.

New and Noteworthy

Filter Project Contributors

A ProjectRequest can be defined in such a way that some ProjectContributor implementations registered in META-INF/spring.factories are not considered. This is especially useful if you are using initializr-generator-spring and some of the opinions need to be redefined in your own project.

Maven build improvements

Maven profile support has been added with a DSL to let you configure the elements that you can configure in the main build.

Plugin configuration can now use hierarchical list as well, which is useful to configure a pojo-style list structure.

Finally, The MavenBuild support has been improved with the ability to configure a defaultGoal.

Gradle 6.8 support

Support for Gradle 6 is available and automatically used for Spring Boot 2.3+ projects.

Bom mapping

A dependency can provide an alternative bom using a mapping.

Dependency Upgrades

Spring Initializr 0.10 moves to Spring Boot 2.4.

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

  • Gradle 6.8.2

  • GMaven Plus 1.11.0

Miscellaneous

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

  • ProjectGenerationInvoker can be extended to customize the ProjectAssetGenerator implementation to use.

  • Dependencies ordering can be customized for Maven and Gradle builds.

  • JCache auto-configuration takes now existing configuration into account.

Deprecations in Spring Initializr 0.10

None.