4.1.5 Release
·
23848 commits
to main
since this release
⭐ New Features
- MessageHeaderAccessor.getContentType() should get deal with String value too, rather than rely only casting to MimeType [SPR-12730] #17327
- Add possibility to set supportedMimeTypes in MappingJackson2MessageConverter [SPR-12724] #17321
- Open up TestPropertySourceUtils for public consumption [SPR-12721] #17318
- Preserve ordering of inlined properties in
@TestPropertySource
[SPR-12710] #17307 - BeanWrapper should auto-grow arrays on indexed set attempt as well [SPR-12706] #17303
- Add same origin support to SockJS and WebSocket [SPR-12697] #17294
- Allow MBeanExporter's excludedBeans to be configured additively [SPR-12686] #17285
- Change SockJS default to allowing same origin only [SPR-12685] #17284
- Allow YamlProcessor subclasses to provide the Yaml instance that's used [SPR-12671] #17270
- Support
@Configuration
as a meta-annotation in the TestContext framework [SPR-12659] #17259 - Use UUID.randomUUID() for session id's in SockJsClient [SPR-12658] #17258
- Add the ability to turn off automatic derivation of Aliases for custom parsers. [SPR-12643] #17244
- Allow Jackson2ObjectMapperBuilder configuration to override the well-known modules' configuration [SPR-12634] #17235
- ResourceUrlEncodingFilter fails when Thymeleaf and the "/**" resource pattern is used [SPR-12630] #17231
- Enable reuse of DefaultActiveProfilesResolver [SPR-12611] #17212
- Consider caching the compiled pattern in OperatorMatches [SPR-12610] #17211
- AbstractRequestLoggingFilter and CommonsRequestLoggingFilter log level checks [SPR-12609] #17210
- Don't use Exception for normal behavior in org.springframework.core.annotation.AnnotationUtils.getValue [SPR-12604] #17205
- Support specifying TimeZone in Jackson2ObjectMapperFactoryBean [SPR-12594] #17195
- RestTemplate - support response mapping to entity with potentially empty response body. [SPR-8016] #12671
- AbstractRequestLoggingFilter should log actual body even after consuming request parameters on Tomcat 6 [SPR-7913] #12568
🪲 Bug Fixes
- Stomp error when PongMessage is passed to StompSubProtocolHandler [SPR-12728] #17325
- Unhandled websocket error when unsolicited pong frame with zero length payload received from IE11 [SPR-12727] #17324
- ServletUriComponentsBuilder#initFromRequest can cause NPE [SPR-12723] #17320
- WebSocketTransportHandler passes Collections.<String, Object>emptyMap() to HandshakeHandler [SPR-12716] #17313
@Scheduled
no longer works in case of multiple proxied target classes implementing the same interface [SPR-12709] #17306- Conditions on an overriding bean method effectively get ignored [SPR-12694] #17292
- ConcurrentModificationException thrown while iterating over bean definition names in DefaultListableBeanFactory#getBeansWithAnnotation(Class<? extends Annotation> annotationType) [SPR-12688] #17286
- ConcurrentModificationException in SimpleBrokerMessageHandler [SPR-12665] #17264
- AbstractSockJsService.checkAndAddCorsHeaders fails for same origin requests when setAllowedOrigins is set [SPR-12660] #17260
- ResourceUrlProvider does not keep resource handlers ordered [SPR-12647] #17248
- During startup scheduled tasks are driven earlier than before causing problems with Spring Batch [SPR-12641] #17242
- CssLinkResourceTransformer throws Exception on links that start with // [SPR-12632] #17233
- PathResourceResolver.isResourceUnderLocation does not handle relative paths correctly [SPR-12624] #17225
- Netty4ClientHttpRequestFactory always allocates "maxRequestSize" bytes for each request [SPR-12623] #17224
- Exception with JSON serialization in ResponseBodyAdviceChain when debug logging is on [SPR-12616] #17217
- Handle exceptions properly in SpringJUnit4ClassRunner [SPR-12613] #17214
- Default value of mvc:redirect-view-controller context-relative attribute is not "true" [SPR-12607] #17208
- ResourceUrlProvider should initialize only once [SPR-12592] #17193
- ObjectToOptionalConverter should use Optional.ofNullable(…) instead of Optional.of(…) [SPR-12589] #17190
- Regression in TransactionAspectSupport.determineTransactionManager(…) [SPR-12577] #17178
📔 Documentation
- Documentation error in "SimpleJdbcInsert" section [SPR-12639] #17240