⭐ New Features
- Forward more methods to underlying InputStream in NonClosingInputStream #34893
- Introduce Spring property for the default property placeholder escape character #34865
- Close ApplicationContext once AOT processing has completed #34841
- Fix
AbstractJackson2HttpMessageConverter#getObjectMappersForType
nullness #34811 - Add option for case-insensitive match to PatternMatchUtils #34801
- RestClient
@RequestBody
parameters lose generic type information when creating HTTP service beans #34793 - Adds option to set Principal in MockServerWebExchange #34789
🐞 Bug Fixes
- Beans created by FactoryBean are not considered as autowiring candidates if another thread holds a singletonLock #34902
PropertySourcesPlaceholderConfigurer
placeholder resolution fails in several scenarios #34861- HttpComponentsClientHttpRequestFactory setConnectionRequestTimeout not working with httpclient 5.3.1 #34851
- Fragment.create() requires mutable map - which is unusable when used with Kotlin #34848
- Duplicate
BeanOverrideHandler
discovered in@Nested
test case with superclass from different class or in interface implemented multiple times #34844 - Accidental ClassLoader defineClass enforcement after #34677 #34824
- HttpEntity.EMPTY headers should not be possible to mutate via HttpHeaders constructor #34812
- AbstractFileResolvingResource.exists incorrectly reports result for resources inside of spring-boot executable jar #34796
- Correctly expand query param with same name from URI variables array #34783
- R2DBC
NamedParameterUtils
only expands reused collection parameter once #34768 PathMatchingResourcePatternResolver
wrongly assumes thattarget/classes
always exists #34764
📔 Documentation
- Clarify
CompositePropertySource
behavior forEnumerablePropertySource
contract #34886 - Javadoc and
@Nullable
annotation forservletContext
parameter ofConfigurableWebEnvironment.initPropertySources
are contradictory #34845 - Spring MVC:
@EnableAsync
needs to be redeclared for each ApplicationContext #34843 - Provide a working example instead of unclear placeholders #34828
🔨 Dependency Upgrades
❤️ Contributors
Thank you to all the contributors who worked on this release:
@Artur-, @blake-bauman, @iifawzi, @kilink, @quaff, @whlit, and @zzoe2346