What’s New in Spring Framework 5.2.5? Key Features and Fixes Explained

Spring Framework 5.2.5 introduces over 50 bug fixes and enhancements, adds Java 14 support, and brings a host of new capabilities such as improved multipart handling, better Kotlin bean support, enhanced WebClient features, and performance optimizations for caches and proxies.

Programmer DD
Programmer DD
Programmer DD
What’s New in Spring Framework 5.2.5? Key Features and Fixes Explained

Spring Framework 5.2.5 has been released, containing more than 50 fixes and improvements and adding support for the recently released Java 14.

New Features

Do not cache multipart MIME types in MimeTypeUtils LRU cache.

Declare proxyBeanMethods=false in JmsBootstrapConfiguration .

Using Java 14 records triggers java.lang.UnsupportedOperationException : this feature requires ASM8_EXPERIMENTAL .

Non‑public Kotlin beans cannot be instantiated.

Avoid ClassCastException of CoyoteInputStream in TomcatHttpHandlerAdapter .

Short‑circuit check added in SynthesizedMergedAnnotationInvocationHandler.isVisible() .

Ignore empty domain strings in ResponseCookie .

Remove UTF‑8 charset parameter from the Content-Type of SseEmitter .

Jaxb2XmlDecoder will not throw a codec exception for invalid XML.

TransactionInterceptor constructor now accepts a generic TransactionManager .

Multipart/related support added to Spring WebClient .

Consider supporting PreFlight requests and CORS in servlet functional endpoints.

Support byte‑range requests in servlet functional endpoints.

Provide a mechanism to configure dynamic property sources for integration tests.

Improve performance of ConcurrentLruCache .

Reduce Class[] garbage when creating proxies.

Add checkNotModified implementation for ServerRequest .

Handle exceptions in AbstractSockJsSession when processing messages with closed sessions.

Release announcement: https://spring.io/blog/2020/03/24/spring-framework-5-2-5-available-now

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

Backend DevelopmentSpring FrameworkRelease NotesJava 14Spring 5.2.5
Programmer DD
Written by

Programmer DD

A tinkering programmer and author of "Spring Cloud Microservices in Action"

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.