🔗 CVE-2023-34035: Authorization rules can be misconfigured when using multiple servlets https://spring.io/security/cve-2023-3...
🔗 Improve CVE-2023-34035 detection: https://github.com/spring-projects/sp...
Keeping your applications up to date with the latest Spring Boot versions is crucial for leveraging new features, ensuring security, and maintaining optimal performance. However, upgrading Spring Boot can be a significant undertaking, especially considering the complexity of your application and the differences between the versions. In this video, I will guide you through the best practices for a smooth and effective upgrade process. Even though I am teaching Spring Boot, most of the best practices here also apply to other frameworks and technologies.
00:00:00 Introduction
00:01:15 Why does upgrading matter?
00:02:59 Semantic versioning
00:08:08 #1 Review release notes and migration guidelines.
00:12:28 #2 Back up and use version control.
00:12:42 #3 Update dependencies.
00:15:59 #4 Update configuration properties in application.yml.
00:24:22 #5 Replace/remove deprecated classes/methods/constructors.
00:29:54 #6 Test thoroughly after upgrading.
00:30:25 Push code to GitHub and deploy to Azure.
00:32:56 #7 Upgrade incrementally.
00:35:30 #8 Start with a test environment.
00:35:58 #9 Monitor logs and performance after deploying the upgraded application.
00:36:16 #10 Use Spring Boot Actuator to check the health of the application after an upgrade.
00:36:52 #11 Seek community help.
00:37:19 #12 Document the changes.
This video belongs to a playlist "Learn Spring Boot 3 with Bingyang": • Learn Spring Boot 3 with Bingyang
I don't want to make a super long video so I split it into smaller ones. If you want to learn Spring Boot 3 systematically, please visit the playlist (and save the playlist) for more Spring Boot 3 tutorials.
Feel free to leave a comment if you have any questions.
As always, thanks for watching, and happy learning!