What’s New in Spring Boot 3.1.2? Key Features, Improvements & Fixes
Spring Boot 3.1.2, released on July 20, 2023, upgrades to Spring Framework 6.0.6, adds Java 19 support, enhances Devtools, Micrometer metrics, REST Docs, and fixes several bugs including MongoDB test failures and Actuator metrics issues, requiring Java 17+.
Spring Boot 3.1.2 has been officially released, bringing many new features, improvements, and bug fixes.
<code>plugins {
id 'org.springframework.boot' version '3.1.2'
}
</code>Or use Maven:
<code><properties>
<spring-boot.version>3.1.2</spring-boot.version>
</properties>
</code>Please note that Spring Boot 3.1.x requires Java 17 or higher.
For more details, see the release notes.
Spring Boot 3.1.2 Changelog (2023-07-20)
New Features
Upgrade to Spring Framework 6.0.6
Support Java 19
Devtools can now monitor additional file extensions such as .proto, .thrift, and .wsdl for automatic restart
Improvements
Micrometer metric collection enhanced, allowing WebFlux‑applied limits to report request rates
Improvements to REST Docs, testing, and dependency management modules
Bug Fixes
Fixed @DataMongodbTest failure when no MongoDB server is present
Fixed Devtools restart failure when using Java 19 preview features
Fixed cases where Actuator /metrics could not display all metrics
Overall, this version adds Java 19 support, enhances several modules, and includes numerous bug fixes, making it an important maintenance release.
Java Architecture Diary
Committed to sharing original, high‑quality technical articles; no fluff or promotional content.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.