The Spring Framework 6.1.4 introduces new features enhancing its reactive and coroutine support.
Here’s an overview of several new features that Spring added in this version:
- 🔄 New
RequestPredicate
variants incoRouter
for comprehensive routing conditions. - 🔒 Improved
ConcurrencyThrottleSupport
withReentrantLock
for better compatibility with virtual threads. - 🚀 Optimized versions of request predicates for more efficient route matching.
- 📊 Enhanced error messaging in SpEL for function argument mismatches, including function names.
- 📱 Coroutine support in
NonReactiveHandlerMethodPredicate
for handling non-reactive types in a reactive context.
As well as a showcase of some bug fixes that were made in this version.
- 📡 Enhancements for Server-Sent Events in WebMvc.fn for sending events without data.
- 🛠️ Kotlin DSL improvements for null-safety with path extensions.
- 🏗️ Modifications to
SimpleEvaluationContext.Builder
to refine its design. - 🌐 Fixes for
@JsonDeserialize(builder = ...)
compatibility in GraalVM native images. - ❌ Clarification on
RestClientAdapter
‘s limitations with request attributes.
For more details, visit the Spring Framework release notes.