Sourced from spring-context's releases.
v6.0.11
:star: New Features
- Reduce
WARN
level log output during test AOT processing #30867- Avoid need for reflection hints for
MBeanExporter
in native image #30846- Tolerate
AnnotationUtils.isCandidateClass
call withnull
as annotation type #30842- Simplify
DefaultSingletonBeanRegistry.isDependent()
#30839- Add missing
@Nullable
annotations in ContentDisposition.Builder #30820- Provide explicit support for collections, maps, and arrays in
ObjectUtils.nullSafeConciseToString()
#30810- Extend list of supported types in
ObjectUtils.nullSafeConciseToString()
#30805- Align ConcurrentMapCacheManager locking behavior with CaffeineCacheManager #30780
- Improve logging for missing dependencies in
MicrometerObservationRegistryTestExecutionListener
#30747- Optimize
KotlinReflectionParameterNameDiscoverer
#30725- Change
InvocableHandlerMethod#invokeSuspendingFunction
return type toObject
#30716ResolvableType.hasUnresolvableGenerics()
should cache its result #30713- Deprecate RootBeanDefinition(ResolvableType) constructor #30704
- Reinstate dependency injection support for legacy JSR-250
@javax.annotation.Resource
annotation #30695- Translate SQL Exception with State S0001 and Vendor Code 2628 to a Spring Exception in MSSQL 2019 #30681
- Ensure Spring
LogFactory
contains all public methods from ApacheLogFactory
#30668- Infer hints required for aspects #28711
- Improve diagnostics for CGLIB ClassLoader issues with shared classes in parent ClassLoader #25940
JdbcTemplate
does not callhandleWarnings
in case of exception #23106- Avoid illegal reflective access in ContextOverridingClassLoader.isEligibleForOverriding #22791
:lady_beetle: Bug Fixes
- Revert changes to
toString()
inFieldError
#30799- For a prototype bean, if first-time rejected value is null, subsequent value will wrongly be null always #30794
- Fix log level on error with
@TransactionalEventListener
#30776- ClassCastException in
AbstractBeanDefinition.getBeanClassName()
when getting bean multithreaded #30773- SerializableTypeWrapper does not consistently catch InvocationTargetException #30764
- NPE in MvcUriComponentsBuilder with no-arg target method on interface #30756
- ArithmeticException: long overflow on
@Scheduled
(fixedDelay = Long.MAX_VALUE) #30754Jackson2ObjectMapperBuilder
breaks whenmodules
customizer followsmodulesToInstall
#30751NullPointerException
in reactiveTransactionalOperatorImpl
#30729MicrometerObservationRegistryTestExecutionListener
uses wrongClassLoader
to detect dependencies #30726- Support [package-]private init/destroy methods in AOT mode #30724
- Package-private init/destroy methods are not always invoked #30718
- Generic RedisKeyExpiredEvent not delivered to
@EventListener
anymore in 6.0.9 #30712- Explicit BeanDefinition#targetType is not honoured in AOT scenarios #30689
- Spring ORM SpringBeanContainer when trying to create a bean fails with not found bean definition, and fallbacks to default hibernate bean creation #30683
- PathResourceResolver#resolve*Internal is missing
@Nullable
declarations #30601- Code generation should only apply shortcut if the target method is not ambiguous #29278
:notebook_with_decorative_cover: Documentation
... (truncated)
8404537
Release v6.0.11c873a59
Polishing4dc93bc
Avoid ambiguous call with BeanInstanceSupplier#withGenerator68f2b0c
Rely on auto-boxing in tests1edc0d8
Remove outdated Javadoc cross referencesa6dc020
Remove since tag07422d7
Remove getAutodetectMode() in MBeanExporter768fc7e
Upgrade to Reactor 2022.0.98ecedb8
Add missing @Nullable
annotations in ContentDisposition.Builderf19433f
Polishing