⭐ New Features
OncePerRequestFilter
cannot be CGLib-proxied #35198- Consistently catch
InaccessibleObjectException
next toIllegalAccessException
#35190 - Introduce
Date
-to-Instant
andInstant
-to-Date
converters #35175 - Consistent nullability and exception declarations in
AbstractMessagingTemplate
hierarchy #35159 - Register runtime hints for
Instant
-to-Timestamp
conversion #35156 - Improve handling of
ResponseEntity<?>
in Spring MVC #35153 - Support
@CacheConfig("myCacheName")
declarations for simplified configuration #35152 - Declare
messageSelector
parameters inJmsOperations
as@Nullable
#35151 - Add getter for
OverflowStrategy
inConcurrentWebSocketSessionDecorator
#35132 - Use preset Content-Type for streaming and reactive responses in Spring MVC #35130
- Leniently tolerate null
@Aspect
bean #35074 DataAccessResourceFailureException
thrown when transaction times out on PostgreSQL #35073MethodInvokingFactoryBean
fails to invoke publicly exported methods overridden by internal classes when using JPMS #34028
🐞 Bug Fixes
- Restore preference for interface (most abstract) method in
getPubliclyAccessibleMethodIfPossible
#35189 - Make
targetBeanName
field in AbstractBeanFactoryBasedTargetSourceprotected
to avoid exceptions in logging andtoString()
#35172 - Fix inconsistencies in
StaticListableBeanFactory
#35119 - Support StreamingHttpOutputMessage in RestClient #35102
- When building
DELETE
requests, the request body is not used inJdkClientHttpRequest.buildRequest
#35068 - AOT-generated bean registration file contains "too many constants" when building with many beans #35044
- Prevent cache pollution by storing only the factories #34732
- WebFlux decodes wildcard content-types as form-data/multipart #34660
- AOT-generated CGLib proxies do not contain method overrides #34642
- 500 response for ResourceHttpRequestHandler when requested range is not satisfied #34490
📔 Documentation
- Document how to register runtime hints for convention-based conversion #35178
- Link to
@ContextConfiguration
Javadoc from reference manual #35088
🔨 Dependency Upgrades
- Upgrade to JUnit 5.13.3 #35103
- Upgrade to Micrometer 1.14.9 #35202
- Upgrade to Reactor 2024.0.8 #35201
❤️ Contributors
Thank you to all the contributors who worked on this release:
@Meijuh, @RazorNd, @chenggwang, @izeye, @mjd507, @ngocnhan-tran1996, and @philwebb