Member-only story
Notes on Spring Boot 3 Upgrade
Learn about upcoming changes in this quick guide
Published in
4 min readSep 1, 2022
With Spring Boot 3.0 GA release around the corner (November 2022), it’s time for us to start preparing for and upgrading our existing Spring Boot microservices to the latest Spring Boot 3 milestone release, 3.0.0-M4 as of this writing. I am sharing my notes from upgrading one of my microservices to Spring Boot 3. I hope you find it helpful.
Prerequisites
- Java 17. Spring Boot 3.0 will be based on Spring Framework 6.0 and require Java 17 or above. If your microservice was built on an older Java version, ensure you upgrade it to Java 17 first before following the steps below.
- Upgrade to the latest Spring Boot 2.7.x. If your microservice has dependabot workflow set up, your microservice should already be auto-upgraded to the latest Spring Boot 2.7.x version, 2.7.3, as of this writing. But if, for whatever reason, your microservice is still on an older version of Spring Boot, ensure you upgrade it to the latest 2.7.x first before proceeding. While at it, set up your dependabot workflow if your microservice doesn’t have it set up yet. Follow instructions (tips 1–4) from my story 9 Practical GitHub Tips to Help Streamline Development.