Get ahead
VMware offers training and certification to turbo-charge your progress.
Learn moreWe 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.
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.
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!
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.
Check out our What's New page for details about the new features available at this point.