Get ahead
VMware offers training and certification to turbo-charge your progress.
Learn moreOn behalf of the team and everyone who has contributed, I am pleased to announce our last milestone for Spring Framework 7.0. This is our last stop before the release candidate, scheduled next month. We have compiled all the upgrade information, new features and deprecations on the Spring Framework 7.0 release notes preview page.
The new Resiliency feature got a lot of fixes and refinements in this milestone,
mostly around RetryException
and exception handling. There is a new "programmatic support"
section in the reference documentation, in case the annotation-based model doesn't fit your use case.
We updated our HttpStatus
class to better align with the latest RFC9110.
This mostly materializes with new HTTP statuses and a few deprecations with immediate replacements.
The JDK's HttpClient
request factory variant for RestClient
and RestTemplate
now supports "gzip" and "deflate" compressed server responses.
The HTTP server observations for Servlet applications has a new Observation Convention that aligns with the OpenTelemetry Semantic Conventions. This is an opt-in feature, so we are eager to get your first impressions and feedback if you decide to use this variant. Feel free to share with us screenshots of your observability dashboards, we love to see this in action!
Speaking of Observability - Kotlin developers shared that while context propagation for traces worked well for blocking and reactive applications,
this information is not available during the execution of a Kotlin Coroutine.
This new release introduces a PropagationContextElement
operator to help Kotlin users. For now, you will need to add this operator to your Kotlin functions, but we are exploring ways to make this an automatic feature where possible.
The Undertow project does not currently support Servlet 6.1 - this is a baseline requirement for this Spring Framework generation. As a result, we dropped Undertow-specific classes around WebSocket and low-level HTTP support for WebFlux applications.
Spring MVC applications can be deployed on any Servlet 6.1 compliant server, so Undertow users will leverage our standard Servlet support when Undertow will be compatible with this specification.
This new release also ships refinements for the API Versioning and Nullness features.
We received important feedback on @HttpServiceClient
; as a result, we have decided to retire this annotation
from the Interface Client support for now, so we can collect more feedback from the community before committing to a particular design.
There are plenty of other changes. As usual, you can check the detailed changelog for more details.
7.0.0-M9 is now available from https://repo.spring.io and Maven Central.