Get ahead
VMware offers training and certification to turbo-charge your progress.
Learn moreWe are happy to announce the availability of the first release candidate of Spring Framework 6.2. We shipped a few features since the last M7 release.
Spring Framework 6.2.0-RC1 is available from repo.spring.io/milestone now, check out the detailed changelog for this version.
On top of new features, we also use minor versions as an opportunity to do some housekeeping in our codebase. For example, we harmonized Reactor client class names within the http.client package or promoted Etag as a first class concept. While those changes should be functionally equivalent, they might cause deprecations in your codebase.
We have also shipped a few core optimizations to avoid unneeded allocations and make Spring more efficient.
ResponseBodyEmitter
now allows the registration of multiple state listeners, which is useful if your application is maintaining an ad hoc "keep alive" mechanism for your streaming sessions.
We have updated the supported mime.types
in Spring web applications; when serving Resource
with well-known file extensions, we should now better detect the relevant MIME type to be used.
As requested by the community, we also created a WebFlux equivalent of a filter to handle URLs with trailing slashes. We shipped the Servlet Filter variant in a previous milestone and already improved it thanks to your feedback.
Finally, we now provide more ways to send data streams through ServerResponse
for WebMvc functional endpoints. Server Sent Events were supported already, this enables support for other streaming protocols.
Check out our What's New page for details about the new features available at this point.