What’s New in Spring Boot 2.0?
Spring Boot 2.0: Feature Highlights
1. Java 8 Baseline: The codebase for the new version has been rebased on Java 8. As a result, the new version requires you to install the Java 8 and above versions if you want to introduce new features to your application.
2. Spring Framework 5.0: Spring Framework 5.0, which has introduced some noteworthy features comes with some refined enhancements. The Spring Boot 2.0 comes with auto configuration for the Spring WebFlux annotation based applications as well as Webflux.fn applications.
3. The Gradle Plugin: The new version has introduced Gradle plugin 4.x, which has come with some feature and functional enhancements. Fat jars and wars can be created using bootjar and bootwar. To run the apps using the gradle plugin, you need the JavaExec for gradle. This means, now you can easily configure the bootrun using the JavaExec tasks.
4. Support for Kotlin 1.2.x: You can use runApplication function, which allows you to run any Spring Boot application using Kotlin.
5. Better Development: The devtools introduced in the new version has led to an enhanced development experience. Immediate feedback and detection of bugs has led to streamlining all the development related issues. The Devtools no longer extend support for remote debugging with HTTP.