Spring Framework 6.2.0-M7 Available Now

Releases | Simon Baslé | August 14, 2024 | ...

We are happy to announce the availability of the seventh milestone of Spring Framework 6.2. We shipped quite a few features since the last M6 release.

Spring Framework 6.2.0-M7 is available from repo.spring.io/milestone now, check out the detailed changelog for this version.

Core and Native Support

This release contains various improvements in the core of the framework, including to the cache abstraction's error handling. It adds a flexible multi-unit format to the previously introduced Duration parsing/printing support.

On the topic of Native Support, it is now possible to ignore bean registration during AOT processing thanks to a newly introduced attribute. Beans registered with the Kotlin DSL are now supported for AOT/native, and this release also fix a couple of AOT-related bugs.

Web and Messaging

Now that Freemarker supports Jakarta, request parameters and taglibs support has been restored.

HTTP Interface Client can now define static headers in the annotations, and can encode Collection-based @RequestParam arguments to a single String in the request.

In continuation of the early support for rendering of multiple fragments in M5, we now also support these over SSE (streaming of fragments). If you're using htmx or turbo, please give it a try!

Testing

Test classes using the @MockitoBean or @MockitoSpyBean annotations for bean overriding in tests now setup Mockito for strict stubbing, which can be overridden via the @MockitoBeanSettings annotation.

6.2 features recap

Check out our What's New page for details about the new features available at this point.

Get the Spring newsletter

Stay connected with the Spring newsletter

Subscribe

Get ahead

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

Learn more

Get support

Tanzu Spring 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