Spring Framework 6.2.0-RC1 available now

Releases | Brian Clozel | September 12, 2024 | ...

We are happy to announce the availability of the first release candidateof 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.

Housekeeping

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.

Web and messaging

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.

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