In the previous tutorial series Part 1, Part 2, and Part 3. we have developed a Spring Boot Angular Social Login application with Angular 10 and Spring Boot 2.3.x. Since then Angular 11 and Spring Boot 2.4 has been released. In this article, we are going to upgrade our Spring Boot Angular application to the latest versions.
Upgrade to Angular 11
You can find the instructions for upgrading angular from one version to another here.
To upgrade our Angular 10 application to Angular 11, we can do the following steps:
- Rename the project folder angular-10-social-login to angular-11-social-login
angular.jsonfile and replace all
- Upgrade angular to the latest version with the following command
ng update @angular/core @angular/cli
Upgrade to Spring Boot 2.4.0
The Spring Boot 2.4.0 release notes and upgrade instructions can be found here. In this version, the processing of application properties and YAML files has been changed. If you have profile-specific properties, then you may need to refer to the Spring Config Data Migration Guide.
To upgrade our application, we just need to update the
spring-boot-starter-parent version to 2.4.0 in the
<parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.4.0</version> <relativePath /> <!-- lookup parent from repository --> </parent>
That’s all folks. In this article, we have upgraded our Spring Boot Angular application to the latest versions.
Thank you for reading.