4.2.6 Release
spring-projects-issues
released this
17 Jan 14:32
·
18724 commits
to main
since this release
⭐ New Features
- Warn about non-static BeanDefinitionRegistryPostProcessor declarations on
@Configuration
classes [SPR-14234] #18808 - ApplicationListenerDetector should prevent serialization of its ApplicationContext reference [SPR-14214] #18788
- Avoid hard logging of WebApplicationInitializer classes [SPR-14213] #18787
- three constructors in the org.springframework.expression.spel.ast package are not public [SPR-14181] #18752
- MappingJackson2HttpMessageConverter should not always log a warning [SPR-14163] #18735
- Print EhCache cache manager name when initializing [SPR-14110] #18682
- AbstractStaxXMLReader should recognize standard features such as the string interning feature [SPR-14047] #18619
- Prevent Quartz XSD from being fetched from the Internet [SPR-13706] #18281
🪲 Bug Fixes
- AsyncResult calls SuccessCallback when it should call FailureCallback [SPR-14249] #18822
- AbstractRequestLoggingFilter appends null query string [SPR-14244] #18817
- Deadlock possible with AspectJ aspects and multi-threading [SPR-14241] #18814
- DefaultLifecycleProcessor hangs on shutdown when stopping with internalJmsListenerEndpointRegistry [SPR-14233] #18807
- Reactor2TcpClient does not remove TcpClient instances after connection closed [SPR-14231] #18805
- Reactor2TcpClient leaks threads on shutdown [SPR-14229] #18803
- SocketUtils fails to find a port when providing only two ports [SPR-14211] #18785
- FastByteArrayInputStream.read returns incorrect result [SPR-14209] #18783
- WebSocketMessageBrokerStats does not work unless SockJS is enabled with WebSocket XML namespace [SPR-14190] #18763
- NPE thrown when calling methods with an empty
@Caching
annotation [SPR-14162] #18734 - SimpleTransactionScope does not suspend and resume its scoped objects [SPR-14148] #18720
- Regression: If-Modified-Since value of zero not accepted anymore [SPR-14144] #18716
- WebSocketSessionDecorator.sendMessage does not delegate [SPR-14139] #18711
- AbstractWebSocketSession.sendMessage race condition [SPR-14138] #18710
- Java boolean is not handled correctly when used with Oracle JDBC driver [SPR-14116] #18688
- TransportHandlingSockJsService.scheduleSessionTask() doesn't log removed sessions [SPR-14111] #18683
- Wrong detection of event type on ApplicationListener<> when using lambdas (ClassCast Exception) [SPR-14109] #18681
- SockJS / XHR Polling does not reset connection for heartbeat [SPR-14107] #18679
@JmsListener
with autoStartup=false will never start [SPR-14105] #18677@RequestHeader
HttpHeaders fails with NPE against null header value [SPR-14091] #18663- Type annotations cause ArrayIndexOutOfBoundsException in ASM ClassReader [SPR-14089] #18661
- DefaultCorsProcessor's origin comparison is restrictive and inefficient [SPR-14080] #18652
- Reset Expires header in WebContentGenerator when caching resources [SPR-14053] #18625
- ModelAndView is replaced when a RedirectView is used [SPR-14045] #18617
- Regression: Early instantiation of a bean prevents proxying for
@Async
in 4.2.x but works in 4.1.x [SPR-14030] #18602 - Wrong ResolvableType for Event not extending from ApplicationEvent [SPR-14029] #18601
- springUrl Velocity macro should encode the given URI using the response [SPR-14027] #18599
- Scripted beans not updated after a script compilation error in getScriptedObjectType [SPR-14007] #18579
- Regression: ResourceHandlerRegistration setCachePeriod doesn't set the correct response header anymore [SPR-14005] #18577
- Regression: RequestMappingHandlerAdapter with synchronizeOnSession=true calls invokeHandlerMethod twice [SPR-13999] #18572
- LinkedCaseInsensitiveMap doesn't implement getOrDefault properly [SPR-13981] #18553
- First new line character is removed when use form:textarea tag [SPR-13503] #18081
📔 Documentation
- Section 19.3.2 of reference mentions Hibernate 3 should be just Hibernate [SPR-14176] #18747
@EnableScheduling
javadoc has incomplete XML example [SPR-14145] #18717- documentation : SpEL / Expression support for defining bean definitions / XML based configuration (9.4.1) [SPR-14074] #18646
- Wrong RFC reference in Base64Utils documentation [SPR-14067] #18639