Issue
We have been using Springboot 1.X for our applications. Now were are getting ready to start on a few new applications and was wondering if we should go with SpringBoot2.0 or stick with SpringBoot 1.X?
Any thoughts on one version or the other?
Also, what are the differences between Spring Boot 1.X vs Spring Boot 2.0?
Thanks.
Solution
You can find differences and migration guide here : https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.0-Migration-Guide
- Java 8 is base version
- properties changed
- spring.jackson.serialization.write-dates-as-timestamps=true is default value
- Spring Security configuration become easier
- Spring Security Oauth2 merges into Spring Security
- Better dependency management
Answered By - Min Hyoung Hong
Answer Checked By - Timothy Miller (JavaFixing Admin)