4.0.9 Release
·
25278 commits
to main
since this release
⭐ New Features
- Concurrent registration/iteration in PropertySourcesPropertyResolver [SPR-12428] #17034
- Making it easier to replace "RequestMappingHandlerAdapter.handleInternal" [SPR-12460] #17065
- NotReadablePropertyException should take causing exception as constructor argument [SPR-12467] #17073
- Allow overriding InvocableHandlerMethod.invoke and/or ServletInvocableHandlerMethod.invokeAndHandle in subclasses [SPR-12484] #17090
- Consistent bridge method handling in annotation post-processors [SPR-12495] #17101
- Check the user for a SockJS request [SPR-12497] #17103
- CacheAspectSupport 's generateKey method should not concatenate Strings [SPR-12527] #17132
- PayloadArgumentResolver enforces Validator unnecessarily [SPR-12567] #17168
- Improve diagnostics when AnnotationJmxAttributeSource triggers an ArrayStoreException from Class.getAnnotation [SPR-12572] #17173
- Spring's JMX support can rely on native MXBean detection on Java 6+ [SPR-12574] #17175
🪲 Bug Fixes
- Using TransactionManagementConfigurer causes StackOverflowError that results in NoClassDefFoundError for FatalBeanException [SPR-10787] #15413
- webjar stops working [SPR-12432] #17038
- Introspection with BeanUtils started failing against java.awt.Window [SPR-12434] #17039
- NPE in org.springframework.core.MethodParameter.getParameterName (possible race condition) [SPR-12453] #17058
- Unable to initialize WebAsyncTask with executorName [SPR-12457] #17062
- AnnotationAttributesReadingVisitor.doVisitEnd doesn't handle possible null return from AnnotationUtils.getAnnotations [SPR-12493] #17099
- SpEL: problem with static methods conflicting with instance methods [SPR-12502] #17107
- Base packages referenced from
@ControllerAdvice
must contain at least one Controller [SPR-12506] #17111 - Synchronize message sending in HTTP SockJS sessions with request initialization [SPR-12516] #17121
- Prototype with changing bean class does not get populated with dependencies after type switch [SPR-12526] #17131
- Performance - hashCode method of AbstractFallbackTransactionAttributeSource.DefaultCacheKey doesn't take targetClass into account [SPR-12536] #17141
- AbstractApplicationEventMulticaster "lost" application listener [SPR-12545] #17148
- Duplicated interceptors in HandlerExecutionChain after intermediate getInterceptors() call [SPR-12566] #17167
📔 Documentation
- Star character interpreted as bold expression in generated documentation [SPR-12456] #17061
- Misleading documentation for SqlRowSet [SPR-12476] #17082
- I can use ';' and EOL for delimiter of base-package attribute(component scan) [SPR-12523] #17128
- Update documentation after SPR-3542 [SPR-12570] #17171
- Add TimeZone and ZoneId to list of supported method arguments [SPR-12575] #17176