v6.2.9
⭐ New Features
OncePerRequestFiltercannot be CGLib-proxied #35198- Consistently catch
InaccessibleObjectExceptionnext toIllegalAccessException#35190 - Introduce
Date-to-InstantandInstant-to-Dateconverters #35175 - Consistent nullability and exception declarations in
AbstractMessagingTemplatehierarchy #35159 - Register runtime hints for
Instant-to-Timestampconversion #35156 - Improve handling of
ResponseEntity<?>in Spring MVC #35153 - Support
@CacheConfig("myCacheName")declarations for simplified configuration #35152 - Declare
messageSelectorparameters inJmsOperationsas@Nullable#35151 - Add getter for
OverflowStrategyinConcurrentWebSocketSessionDecorator#35132 - Use preset Content-Type for streaming and reactive responses in Spring MVC #35130
- Leniently tolerate null
@Aspectbean #35074 DataAccessResourceFailureExceptionthrown when transaction times out on PostgreSQL #35073MethodInvokingFactoryBeanfails 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
targetBeanNamefield in AbstractBeanFactoryBasedTargetSourceprotectedto avoid exceptions in logging andtoString()#35172 - Fix inconsistencies in
StaticListableBeanFactory#35119 - Support StreamingHttpOutputMessage in RestClient #35102
- When building
DELETErequests, 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
@ContextConfigurationJavadoc 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