Spring Boot 2.5 is now GA

Releases | Madhura Bhave | May 20, 2021 | ...

Update 2021-05-25: The release contains fixes for Spring Framework CVE-2021-22118.

On behalf of the Spring Boot team and everyone that has contributed, I am pleased to announce that Spring Boot 2.5.0 has been released and is available from Maven Central.

This release adds a significant number of new features and improvements. For full upgrade instructions and new and noteworthy features please see the release notes.

What's new in 2.5

  • Support for Java 16
  • Support for Gradle 7
  • Enhanced Docker image building
  • New mechanism for Datasource initialization

Additionally, the HTML documentation published by the project has an updated look-and-feel and some new features. There is also support for dark mode!

Dependency upgrades

Spring Boot 2.5 moves to new versions of several Spring projects:

We’ve also upgraded to the latest stable releases of other third-party libraries wherever possible. Please see the release notes for details.

Other changes

There's a whole host of other changes and improvements that are documented in the release notes. You can also find a list of deprecated classes and methods that we plan to remove in the next version.

Thank you

We want to take this opportunity to again thank all our users and contributors.

If you're interested in helping out, check out the "ideal for contribution" tag in the issue repository. If you have general questions, please ask at stackoverflow.com using the spring-boot tag or chat with the community on Gitter.

Project Page | GitHub | Issues | Documentation | Stack Overflow | Gitter

Get the Spring newsletter

Thank you for your interest. Someone will get back to you shortly.

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring Runtime offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all