4.1.6 Release
·
23848 commits
to main
since this release
⭐ New Features
- TcpConnection should extend java.io.Closeable [SPR-12849] #17447
- Ignore null in HeadersBuilder#headers [SPR-12792] #17389
- RestTemplate logging for 404 status code [SPR-12760] #17357
- Support
@NumberFormat
as a meta-annotation [SPR-12743] #17340
🪲 Bug Fixes
- Exception cache resolver shouldn't be mandatory [SPR-12850] #17448
- CacheLoader is ignored as of Guava 11 [SPR-12842] #17440
- ConcurrentModificationException in ConfigurationClassParser.processDeferredImportSelectors [SPR-12838] #17436
- There is no spring-beans.dtd file inside of the spring-beans-4.1.5.RELEASE jar [SPR-12836] #17433
- Thread contention in HandlerMethod due to unnecessary BeanFactory.getType call [SPR-12832] #17429
- DefaultManagedAwareThreadFactory's non-JNDI fallback leads to StackOverflowError [SPR-12830] #17427
- X-Forwarded-Proto with comma separated list causes incorrect scheme [SPR-12816] #17413
- X-Forwarded-Port with Comma Separated List Not Able to be Parsed in Spring 4.1.x [SPR-12813] #17410
- Not reusable input stream in ContentCachingRequestWrapper [SPR-12810] #17407
- Exception not thrown by OnFailure() when using ListenableFutureCallback [SPR-12797] #17394
- StandardMultipartHttpServletRequest.StandardMultipartFile not serializable [SPR-12795] #17392
- Regression in 4.1: UnsatisfiedDependencyException because a prototype-scoped FactoryBean is unexpectedly instantiated by getTypeForFactoryBean() [SPR-12786] #17383
- ObjectToOptionalConverter wraps a source Optional<?> to the new one [SPR-12785] #17382
- LoadTimeWeavingConfiguration should not rely on private field injection [SPR-12776] #17374
- Regression in 4.1.5: UriComponentsBuilder.fromHttpRequest sets port to 80 i.s.o nothing/443 [SPR-12771] #17368
- GroovyBeanDefinitionReader does not fully support XML config files [SPR-12769] #17366
- XML config isn't fully supported for web integration tests if Groovy is on the classpath [SPR-12768] #17365
- EncodedResource does not include charset in equals() implementation [SPR-12767] #17364
- ScriptUtils and ScriptStatementFailedException confuse lines and statements [SPR-12752] #17349
- Specified MVC resource at root level not considered "under location" [SPR-12747] #17344
- Regression in 4.1.5: Alternative
@Bean
declarations with same primary bean name do not work anymore [SPR-12744] #17341 - Deadlock publishing event while creating listener bean [SPR-12739] #17336
- MockMvc PrintResultHandler asserts before result is set [SPR-12735] #17332
📔 Documentation
- Consider rewording ack modes on the listener container javadocs [SPR-12705] #17302