Releases: spring-projects/spring-framework
v6.0.15
β New Features
- Skip buffer allocation in
StreamUtils.copy(String)#31631
π Bug Fixes
<replaced-method />unnecessarily requires explicitarg-typesince 6.0 #31828MergedAnnotationsfinds duplicate annotations on method in multi-level interface hierarchy #31824- Fix condition for "Too many elements" in
MimeTypeUtils.sortBySpecificity()#31773 - Spring unable to decode aggregated JSON content #31772
- Multipart messages with empty parts are not correctly parsed in WebFlux #31766
- PathEditor cannot handle absolute Windows paths with forward slashes #31727
- TraceId is missing in WebFlux controller handlers #31716
- Wrong observation status tag when a Not Found in a webflux application #31715
- Fail to register MBean with bean name containing invalid character #31708
- Include Hibernate's
Query.scroll()inSharedEntityManagerCreator'squeryTerminatingMethodsset #31683 - TypeDescriptor does not check generics in
equalsmethod (for ConversionService caching) #31673 - SpEL expression on a reloadable type can no longer be resolved #31670
- Slow SpEL performance due to method sorting in ReflectiveMethodResolver #31664
- Jackson encoder releases resources in wrong order #31656
- Current Observation.Context missing from WebClient request #31646
- WebSocketMessageBrokerStats has null stats for stompSubProtocolHandler since 5.3.2 #31641
<jee:local-slsb>no longer works with abusiness-interfaceattribute #31630- GeneratedFiles#addSourceFile should not allow to add a source in the default package #31629
PathResourceResolver.getResource()does not log warning ifResource#getURL()throws exception #31624
π Documentation
- Document explicit
@ModelAttributeis required for reflection hints inference #31767 - Documentation needs to be updated with instructions for STOMP Client #31678
- Improve STOMP WebSocket documentation for input message buffer size #31654
π¨ Dependency Upgrades
- Upgrade to Reactor 2022.0.14 #31815
v6.1.1
β New Features
- Skip buffer allocation in
StreamUtils.copy(String)#31621 - Caching and Event Listening support do not reuse internal delegates for their evaluation contexts #31617
- Java 17: resource.isReadable() with concurrency leaks large amounts of non-heap memory #30955
π Bug Fixes
- Spring MVC: Unexpected bytes added to the HTTP response for kotlin.Unit return type in controller methods #31648
- Spring Data Redis Cache implementation is not compatible with
Cache.retrieve(key)semantics #31637 - GeneratedFiles#addSourceFile should not allow to add a source in the default package #31628
<jee:local-slsb>no longer works with abusiness-interfaceattribute #31627- Non-blocking
@Cacheablemethod does not support condition with#result#31626 PathResourceResolver.getResource()does not log warning ifResource#getURL()throws exception #31623- Jackson encoder releases resources in wrong order #30493
- WebSocketMessageBrokerStats has null stats for stompSubProtocolHandler since 5.3.2 #26536
π Documentation
- Fix links related to Spring WebFlux #31632
- Extract recurring asciidoc links to attributes #31619
- Improve STOMP WebSocket documentation for input message buffer size #31616
- Document support for AppCDS #31497
β€οΈ Contributors
Thank you to all the contributors who worked on this release:
@7fantasy7, @Star-ho, and @quaff
v6.1.0
β New Features
- When using Oracle,
JdbcClient.update(KeyHolder)does not work without explicit key column names #31607 - Introduce way to convert ClientHttpResponse to desired type #31597
- Property-driven onRefresh exit for AppCDS purpose #31595
- No Micrometer traceId in JMS listener container errorHandler #31559
- Register Hibernate
@EmbeddableInstantiatorsregistered on JPA embeddables for reflection #31534 - Improve method validation support for errors on elements within a container #31530
- Support pattern matching for method names in
ControlFlowPointcut#31435 - Review reachability metadata contributions after GraalVM changes #31213
- handleEmptyBody of RequestBodyAdvice should apply also when content-type is not set #30522
π Bug Fixes
- Regression with
@EnableJpaAuditingusing Spring Boot 3.2-RC2 in native image #31575 - Retrieving the response body as a List of POJOs fails with
RestClientbut passes withWebTestClient#31574 ExecutorLifecycleDelegateshould callExecutorService.isTerminated()in?.isRunning()#31549RestTemplatePOST to endpoint using Digest Auth no longer works in 6.1 #31516- Code generation for constructor arguments must cast
nullindexed argument value #31508 - \n in form model when using Jetty 12 client and multipart/form-data #31361
- Add status handler to recognize unknown status codes outside of 4xx/5? #31202
π Documentation
- Document how to log
@Sqlscripts and statements #31589 - Link to KDoc API documentation from Javadoc overview #31587
- Fix link in Javadoc of ConfigurableMockMvcBuilder #31542
- Add note about
@[Enabled|Disabled]InNativeImagein reference manual #31438 - Document
@DisabledInAotModein the reference manual #31437 - Document
@Sqlclass-level execution phase support in the reference manual #31377 - Document that Micrometer's "error" tag should be preferred vs. legacy "exception" tag #31514
π¨ Dependency Upgrades
- Upgrade to Context Propagation 1.1.0 #31599
- Upgrade to Kotlin 1.9.20 #31539
- Upgrade to Micrometer 1.12.0 #31556
- Upgrade to Reactor 2023.0.0 #31557
β€οΈ Contributors
Thank you to all the contributors who worked on this release:
@Young-Zen, @duesenklipper, @izeye, @k-seth, and @wakingrufus
v6.0.14
β New Features
- Provide caching for HandlerMappingIntrospector lookups #31588
Log4jLogneeds to re-resolveExtendedLoggeron deserialization (for compatibility with Log4J 2.21) #31582- Optimize
StandardTypeLocatorfor hotspot when the same classes are resolved #31579 - Add duplicate key exception error code for SAP HANA database #31554
- Do not delegate TRACE to HttpServlet on ERROR dispatch #31457
- Add
propertiessetter toProblemDetail#31430
π Bug Fixes
- GeneratedFiles#addSource does not provide proper context if the specified class name is invalid #31612
- MessageBuilder#createMessage should not define the payload as
@Nullable#31610 - Default Mixin added by Jackson2ObjectMapperBuilder are missing required runtime hints #31606
- NettyDataBuffer#toByteBuffer fails if readPosition > 0 #31605
- Avoid duplicate JAR resources in
PathMatchingResourcePatternResolveron MS Windows #31598 NamedParameterUtilsbroken parsing related to square brackets #31596- Multipart cleanup is done too eagerly #31567
- Jakarta validation field constraints in superclass are ignored in native image #31552
- Function column out doesn't resolve to
SqlOutParameter#31550 - Restore support for recursive annotations in Kotlin #31518
- Resolve to empty
MultiValueMapwhen no matrix variables are provided #31483 ProxyFactoryBeandeclaration may lead to unexpected non-fatal "FactoryBean threw exception from getObjectType" stacktrace output #31473- Use of
@Valuein compact constructor of a record should not register method injection #31433 - Prevent duplicate HTTP server observations for cancelled exchanges #31417
- Spring MVC raises MissingPathVariableException resulting in 500 instead of 400 error when path segment is u001F or u00D and cannot be converted to target type UUID #31382
- Ensure consistent value count in ConcurrentReferenceHashMap#Segment #31373
- HeaderContentNegotiationStrategy.resolveMediaTypes throws unexpected IllegalArgumentException #31254
- Session Cookie in Reactive WebSession is not deleted if maxAge is set through cookie initializer (e.g. via Boot application property) #31214
- DefaultWebClient logs URI without the port number #30519
- CGLIB
BeanCopierfalls back toClassLoader.defineClassfor public target #28699 - BeanUtils.copyProperties() consumes large amount of memory #27246
π Documentation
- RestTemplate initialization documentation in 6.0.x mentions Netty, yet no ClientHttpRequestFactory is present in the package. #31526
- Correct typo in annotations.adoc #31519
- Document X-Forwarded-* Headers #31491
- Improve support and documentation for the "default" bean definition profile name #29071
- Document that
pertypewithinis supported by Spring AOP #25887 - Document alternatives of using multiple
PropertyPlaceholderConfigurers [SPR-9989] #14623
π¨ Dependency Upgrades
β€οΈ Contributors
Thank you to all the contributors who worked on this release:
@CrotchBurnt, @GVictorG7, @PiotrFLEURY, @baratrax, @bernie-schelberg-invicara, @huyachigege, @izeye, @lorenzsimon, @martin-lukas, and @rwinch
v5.3.31
β New Features
Log4jLogneeds to re-resolveExtendedLoggeron deserialization (for compatibility with Log4J 2.21) #31583
π Bug Fixes
- MessageBuilder#createMessage should not define the payload as
@Nullable#31611 - Avoid duplicate JAR resources in
PathMatchingResourcePatternResolveron MS Windows #31603 - Spring web integration commons fileupload receives files and other parameter uploads, with a null pointer #31564
- Function column out doesn't resolve to
SqlOutParameter#31560 - Resolve to empty MultiValueMap when no matrix variables are provided #31484
- BeanUtils.copyProperties() consumes large amount of memory #31481
- CGLIB
BeanCopierfalls back toClassLoader.defineClassfor public target #31436 - R2DBC Connection is closed during transaction when using TransactionAwareConnectionFactoryProxy #31411
HibernateJpaDialectandHibernateExceptionTranslatorthrowSQLExceptionTranslator-provided exception instead of returning it #31410NamedParameterJdbcTemplatethrows unexpected exception fornullquery #31394LazyResolutionMessagedoes not implement propertoString#31385- Illegal reflective access in
ContextOverridingClassLoader.isEligibleForOverriding#31233
π Documentation
- Clarify documentation for
@Transactionalon interfaces #31401 - Default behavior of BeanPropertyRowMapper.getColumnValue(ResultSet, int, Class) inconsistent with code #31349
- Referencing a
@Beanmethod in a@Configurationclass'@PostConstructmethod leads to circular reference #31339 - Incorrect reference information about CGLIB supported method visibility #31311
π¨ Dependency Upgrades
- Upgrade to Reactor 2020.0.38 #31584
v6.1.0-RC2
β New Features
- Support
ContextLoaderconfig in@SpringJUnitConfigand@SpringJUnitWebConfig#31498 TypeDescriptorandResolvableTypecache inGenericTypeAwarePropertyDescriptor#31490- Consistent
Classand array matching inResolvableType.isAssignableFrom#31487 BeanDefinitionRegistryPostProcessorshould declare empty defaultpostProcessBeanFactorymethod #31476- Remove support for Protobuf 2.x and protobuf-java-format #31465
- Refine CRaC restoration logs #31462
- Allow repeatable writes in StreamingHttpOutputMessage #31449
- Add support for merging two BeanRegistrationAotContribution instances #31446
- Kotlin BeanFactory.getBean extension fails with nested generic in context #31439
- Log warning and skip resource hint registration for classpath location patterns #31429
- Revisit AOT support for generic constructor argument values #31420
- Add UriBuilderFactoryArgumentResolver. #31413
- Add Coroutines support for
@Cacheable#31412 PartEventAPI should support limiting the number of file parts #31343- Revise support for quoted identifiers in
SimpleJdbcInsert#31208 - When configuration class parsing fails, provide more information about the class that triggered the failure #31146
- WebClientResponseException defaults to ISO-8859-1 #31072
- Introduce
@DisabledInAotModein the TestContext framework #30834 - Support
TypedStringValueduring AOT processing #29074 - Support ETag generation on ResourceHttpRequestHandler #29031
- Better error reporting for
@Beancreating when bean instance has been replaced with an incompatible type #28897 - Add Coroutines support for
@EventListener#28343 - Support "*" catch-all mappings for MockMvc Filter registrations #28041
- Guard against
ConcurrentModificationExceptionwhen the response processescommitActions#27587 - Improve
ControlFlowPointcutextensibility #27187 - Uploading a too-large file should be a 4xx client error, not a 500 Internal Server Error #27170
- Add special handling of disconnected client errors in ExceptionHandlerExceptionResolver #26181
π Bug Fixes
- ConstructorResolver rejects a candidate if the parameter value is
null#31495 - 3.2.0-RC1: No primary or single unique constructor found for interface java.util.Set #31488
- Can't link to Spring Framework 6.1.0 release candidate documentation #31480
- In
MockMvctests all filters end up with empty-stringfilterName, breakingOncePerRequestFilter#31474 <mvc:annotation-driven>should not instantiate bean property values #31472- Graal VM native image: Substitution target for o.s.o.j.v.Target_BytecodeProvider is not loaded #31452
- JdkClientHttpRequest does not support Content-Length 0 #31451
- Fix typo in
ClassUtils.forName()#31428 - AOT processing fails to determine proper target for a FactoryBean that produces an array #31426
- BeanDefinitionPropertyValueCodeGenerator#orderForConsistency expects values to be Comparable #31419
- Conversion not applied to
@RequestParamdefault value if used for "null after conversion" case #31336 HandlerMethodValidationException.Visitorincorrectly triggersother()method instead ofrequestParam()for@RequestParamvalidation errors #31329- AbstractApplicationContext.refresh() leaves bean resources uncleaned when SmartInitializationSingleton throws a non BeansException #28878
π Documentation
- Document pattern matching support in
NameMatchMethodPointcut#31500 - Fix small typo in javadoc #31455
- Expand explanation for the "lite" bean approach #29957
π¨ Dependency Upgrades
β€οΈ Contributors
Thank you to all the contributors who worked on this release:
@OlgaMaciaszek, @bdshadow, @funky-eyes, @izeye, @larsgrefer, and @mmoayyed
v6.1.0-RC1
β New Features
- Enforce REQUIRES_NEW for correct transaction configuration on transactional event listeners #31414
- TestCompiler should allow to configure the Locale that renders compiler messages #31408
- Consistent Object result declarations for JdbcClient's
ResultQuerySpec#31403 - Move
ReactorResourceFactorytoorg.springframework.http.clientpackage #31399 - Prevent message resolution after context close #31397
- Handle STOMP messages to user destination in order #31395
- AOT bean registrations miss reflection hints on property fields #31390
- Support Jackson's DatatypeFeature in Jackson2ObjectMapperBuilder #31380
- Allow Filters to be initialized when they're added to MockMvc #31362
- Use schema-based config in sql-error-codes.xml #31354
- Optimize uses of
onErrorResume()#31352 - AOT bean registrations miss reflection hints on interfaces #31350
SimpleAsyncTaskSchedulershould run fixed-delay tasks on scheduler thread #31334- Allow custom observation convention for
RestClient#31325 - MockMvcHttpClientConnector support for RequestPostProcessor hook #31298
- Expose
shouldHandle(ApplicationEvent)inApplicationListenerMethodAdapter#31295 - Make
ReactorNettyClientRequestFactorylifecycle-aware #31281 - Add a constructor with externally managed Reactor Netty resources to
ReactorNettyClientRequestFactory#31280 - Consistent
CannotAcquireLockExceptiontranslation for PostgreSQL serialization failure behind JPA #31274 - Simplify
ServerRequestExtensions.queryParamOrNull()#31264 - Reduce nested class lookups in ClassUtils #31258
- Print JVM restoration time in
DefaultLifecycleProcessor#31252 - ValueLoaderEntryProcessor should not be created for every call to JCacheCache#get #31250
- Introduce
initialize()method inAbstractRoutingDataSourceandAbstractRoutingConnectionFactory#31248 - Add
MappingJackson2MessageConverterconstructors that accept anObjectMapper#31234 - Eliminate synchronized block to avoid thread pinning in SingletonSupplier #31227
- Add OuputStream BodyInserter #31184
- SseEmitter should format a multiline String #30965
- Suppress logging from HandlerMapping when used for Spring Security's mvcRequestMatcher #30349
- Lenient handling of unencoded URIs in ForwardedHeaderTransformer #30137
- Support DispatcherType.INCLUDE in DefaultServletHttpRequestHandler #30113
- Introduce caching for functional routing #29985
- Log
CglibAopProxyerrors asWARNinstead ofINFO#29773 - Add CharBufferDecoder #29741
- Provide the HttpRequest on the ClientResponse interface #28397
- Batch update return generated keys #28132
- Allow filters to be registered with MockMvc for particular dispatcher types #27717
- Introduce class-level execution phases for
@Sql#27285 - Add default methods to
MailSenderandJavaMailSenderas appropriate #23651 - Remove all ApplicationListenerMethodAdapters on context close [SPR-17456] #21988
- Handle STOMP messages from client session in order #21798
- Call
Lifecycle.stop()for already started beans on failed refresh [SPR-15468] #20028
π Bug Fixes
- Fix regression in JmsAccessor#setSessionAcknowledgeMode #31328
JdbcClientdoes not updateKeyHolderwhen using positional parameters #31297- AOT bean registrations miss reflection hints on public methods #31293
- DefaultFetchSpec should not buffer results in temporary list buffers #31282
- Missing reflection hint on Publisher for bean destroy methods support #31278
- Missing reflection hint on Eclipse FileLocator #31271
- Missing resource hint for spring.properties #31270
- Missing reflection hints on Kotlin classes for KotlinDetector #31269
- Missing reflection hint on MonetaryAmount in conversion service #31266
- Missing reflection hints for jakarta.inject classes #31259
- ResponseBodyEmitter ignores calls to complete but remains open after JSON write error while sending #30687
- The task in AsyncTaskExecutor throws an exception before execution, and ControllerAdvice will be called twice. #30232
- Suppress deprecation warning for AOT-generated code that refers to a deprecated member #29597
- Avoid duplicate
ApplicationListenerfiring (proxy vs. target) #28322 - JCacheCache#putIfAbsent is not atomic #21591
π Documentation
- Add Search in all Spring Docs #31290
- Add missing period in RestClient documentation #31237
- Improve wording in Javadoc for
@Autowired#31235 - Clarify
ClientHttpRequestInterceptor#intercept()must close response if it throws exception after receiving the response #29751 - Create migration guide from RestTemplate to RestClient #23269
π¨ Dependency Upgrades
β€οΈ Contributors
Thank you to all the contributors who worked on this release:
@JakobFels, @OnlyWick, @StellarStrategist, @aahlenst, @alidandach, @bergander, @bramhaag, @chaewon121, @ctailor2, @e-freni, @esperar, @ghainesii, @hpoettker, @izeye, @joakimmohn, @kang-hl, @kriegaex, @kzander91, @markusheiden, @mdeinum, @qpakzk, @quaff, @ralph-riedel, @runeflobakk, @rwinch, @sephiroth-j, @shin-mallang, @violetbeach, and @vpavic
v6.0.13
β New Features
- Improve diagnostics for negative repeated text count in SpEL #31342
- Improve diagnostics when repeated text size calculation results in overflow in SpEL #31341
UnknownContentTypeExceptionis notSerializable#31283- Reintroduce
FastClassin CGLIB class names for@Configurationclasses #31272
π Bug Fixes
HibernateJpaDialectandHibernateExceptionTranslatorthrowSQLExceptionTranslator-provided exception instead of returning it #31409- AnnotationScanner scanning leads to StackOverflowError with recursive annotation #31400
NamedParameterJdbcTemplatethrows unexpected exception fornullquery #31391- HTTP server exchange observations have incorrect UNKNOWN status tag if the client disconnected #31388
- Breaking change from 6.0.11 to 6.0.12 if you expect query parameters in
@RequestBody#31327 - SpEL's
CompoundExpression.toStringAST()omits?for null-safe navigation #31326 ConcurrentLruCacheno longer supports capacity = 0 #31317- Using R2dbc transactional and non transactional on a database connection pool will fail for Oracle. #31268
- AOT-generated code no longer set bean class for beans created from a
@Beanmethod #31242 - CGLIB proxy classes are no longer cached properly #31238
- Illegal reflective access in
ContextOverridingClassLoader.isEligibleForOverriding#31232 - Fix RuntimeHintsPredicates matching rules for public/declared elements #31224
- MultipartParser should respect read position #31110
- WebClient reports 'Host is not specified' for URI with hostname and port, but without scheme #31033
- R2DBC Connection is closed during transaction when using TransactionAwareConnectionFactoryProxy #28133
- SpEL cannot evaluate or compile expression with null-safe
voidmethod invocation #27421 LazyResolutionMessagedoes not implement propertoString#21265
π Documentation
- Document Kotlin declaration site variance subtleties #31370
- Add missing
conversionServicefield in doc example #31330 - Clarify documentation on Spring Web MVC pattern comparison #31294
- Improved documentation for MethodParameter#getAnnotatedElement #30397
- Javadoc for
BeanPropertyRowMapper.getColumnValue(ResultSet, int, Class)is inconsistent with code #29285 - Referencing a
@Beanmethod in a@Configurationclass'@PostConstructmethod leads to circular reference #27876 - Incorrect reference information about CGLIB supported method visibility #25001
- Clarify documentation for
@Transactionalon interfaces #23538
π¨ Dependency Upgrades
β€οΈ Contributors
Thank you to all the contributors who worked on this release:
v6.1.0-M5
β New Features
JdbcClientshould reject aListas the parameter of theINclause of an SQL statement when using positional parameters #31215- Support one-time
@Scheduledtasks #31211 - Deprecate
JOptCommandLinePropertySource#31207 - Use
MergedAnnotationsAPI directly inAnnotationBeanNameGeneratorwhere possible #31203 - Introduce
MethodInvokerAPI forTestExecutionListeners #31199 - Use
Method#isDefaultto find default methods in interfaces #31197 - Refine logic to release WebSocket ByteBuffer via Callback with Jetty 12 #31182
- Make
ReactorClientHttpConnectorlifecycle-aware #31180 - Make
ReactorResourceFactorylifecycle-aware #31178 - Consolidate HTTP Interface client support for MultipartFile and
@RequestPart#31164 - Register reflection hints for
@TestPropertySourcefactory #31160 - Introduce TaskDecorator variant for Context Propagation #31130
- Introduce reverse methods in AOP MethodMatchers and ClassFilters #26725
- Replace Reactive
awaitSingle()usages by theMonovariant #31127 - Clarify and log that return value of HandlerMethod is ignored if reason of
@ResponseStatuspresent #31121 - Instrument RestClient for Observability #31114
- Attempt to reset Servlet response before calling ExceptionHandlers #31104
- Raise log level to warn when configuration class enhancement cannot apply due to circular reference #31102
- Refine "checkpoint on refresh" error handling #31096
- Deprecate convention-based
@Componentstereotype names in favor of@AliasFor#31093 - Reinstate support for legacy JSR-250
@javax.annotation.ManagedBeanand JSR-330@javax.inject.Namedannotations #31090 - Look up
@Componentstereotype names using@AliasForsemantics #31089 - Add
@Nullabletovalueinparam()methods inJdbcClient#31084 - Ensure direct
@PropertySourceannotations override meta-annotations #31074 - Introduce var-args
params()method inJdbcClient'sStatementSpec#31070 - Introduce overloaded methods in
JdbcTestUtilsthat acceptJdbcClientinstead ofJdbcOperations#31066 - Revise
JdbcTestUtilsmethod signatures to acceptJdbcOperationsinstead ofJdbcTemplate#31065 - Adapt native support for Hibernate 6.3.0 bytecode provider changes #31051
- Move blocking writeResource operation to boundedElastic #30928
- Move blocking view resolution to boundedElastic #30903
- Support parameter injection in
@BeforeTransaction/@AfterTransactionmethods #30736 - Introduce
getContentAsString()inContentCachingRequestWrapper#30709 - Support configuring Jetty WebSocket server parameters #30344
- Optimize
InlineMapandInlineListin SpEL #30251 - Update
Pointcutsto match getter methods by also excludingvoidreturn type #30068 - Improve attribute handling in RequestPredicates #30028
- Add support for JSR-330 and Jakarta
@Injectfor autowiring test constructors #29851 - Optimize initial size in ContentCachingRequestWrapper when contentCacheLimit set #29775
- Optimize Hibernate native footprint by making ByteBuddy unreachable #29549
- Execute preflight checks before interceptors #29509
- Use
Arrays.hashCode(...)inObjectUtils#29051 - Improve toString representation of complex parameters in SimpleKey #27670
- Propagate
CoroutineContextinCoWebFilter#27522 - Add ParameterNamesModule to "well known" jackson modules #27511
- Optimize for single TransactionSynchronization #27335
- Improve performance of
CompositePropertySource#getPropertyNames#27236 - Avoid calling executeBatch() with 0 batch size #27154
- Add maxAttempts to ExponentialBackOff #27071
- Spring Webflux: CoRouterFunctionDsl should expose the used CoroutineContext #27010
- spring-webflux filters don't pass CoroutineContext #26977
- Support declarative
ContextCustomizerregistration in the TestContext framework #26148 - Improve SpEL inline collection caching #25921
- Use Comparable instead of dedicated implementations #25478
- Support method injection when
@Autowired(require=false) is used on mixed nullability args #24773 - Add factory method to create a NamedThreadLocal with an initial value #24705
- CglibAopProxy: Skip non-overridden methods of Object.class as those which for sure have no advice #24649
- Add conversion support for Pattern/Regex #24311
- Support quoted identifiers in
SimpleJdbcInsert#24013 - Add composite for TaskDecorator #23692
- Spring AOP is not compatible with Kotlin Coroutines #22462
- Added Basic Authorization for UrlResource #1822
- Allow component name to be specified in
@ControllerAdvice[SPR-16566] #21108 - MethodValidationInterceptor support for Mono and Flux method parameters #20781
- Support validating collection of objects on web controller method #16917
π Bug Fixes
- AOT check on a bean definition with an instance supplier is not consistent #31200
- Pass correct
SqlParameterSourcetoNamedParameterJdbcTemplateinDefaultJdbcClient#31195 - Various methods in
SimpleJdbcInsertprevent method chaining #31177 - Client observations URI template missing when using RestTemplateAdapter #31144
- Validator resolution can no longer be lazy #31137
- Make the JdbcClient method update(KeyHolder generatedKeyHolder) work with positional parameters [#31122](https://github.com/spring-projects/sp...
v6.0.12
β New Features
- ArithmeticException: long overflow on
@Scheduled(fixedDelay = Long.MAX_VALUE, timeUnit = TimeUnit.MINUTES) #31210 - Polish resolveArgument method in RequestResponseBodyMethodProcessor #31175
- Update logging level in BeanValidationBeanRegistrationAotProcessor for validation exceptions #31147
- Skip searching of nonexistent directory in
PathMatchingResourcePatternResolver#31111 - Add
@NullabletoargValueindoSetValue()inArgument[Type]PreparedStatementSetter#31086 - Optimize whitespace checks in
StringUtils#31067 - Missing proxy hint when using a simple JPARepository #31050
- Register an override for an existing adapter in
ReactiveAdapterRegistry#31047 DefaultListableBeanFactory#getBeanNamesForTypedoes not take target type into account forFactoryBeanresolution #30987- Give
spring-coreaccess toorg.jboss.vfsforVfsUtilssupport on WildFly #30973 - Use
readNBytesinStringHttpMessageConverterwhencontentLengthis available #30942 - Skip array sort when the length of array not greater than 1 #30934
- Avoid flushing for each SseEventBuilder entry #30912
- Make
DefaultGenerationContext(DefaultGenerationContext, String)constructorprotected#30895 - Add missing
@Nullableannotations inAbstractResourceResolversubclasses in Spring MVC #30893 - Performance bottlenecks while creating scoped bean instances #30883
- Make bean initialization deterministic for multiple
@Autowiredmethods on same bean class #30359 - Optimize
ClassUtils#getMostSpecificMethod#30272 - Missing native hints for Hibernate Native Query proxy #29603
- Check exception cause for
@PropertySource(ignoreResourceNotFound)support #22276 - Align validation metadata handling in
PayloadMethodArgumentResolver#21852
π Bug Fixes
- Spring Boot fails with "does not reside in the file system: manifoldclass://622488023/.../" #31216
WebClientResponseException.getResponseBodyAsthrows exception instead of returningnullfor empty body #31179- Possible classloader leak through incomplete clearing of annotation caches #31170
- Spring
LogFactoryimplementation deviates from original ApacheLogFactoryin terms of abstract method declarations #31166 - graalvm native image feature PreComputeFieldFeature disable all netty native transports #31141
- Bean injection fails due to
nullSafeConciseToString()invokingisEmpty()on aMap/Collectionproxy #31138 - R2DBC: Skip release connection after nested with existing transaction #31133
- SpelExpressionParser throws IllegalStateException instead of ParseException for invalid expression #31097
@DynamicPropertySourcein@Nestedtest class cannot override dynamic properties from enclosing class #31083- Spring Boot WebFlux validation of invalid inputs #31045
TransactionalApplicationListenerMethodAdaptershould find@TransactionalEventListeneron target class method #31034- ScheduledAnnotationBeanPostProcessor: graceful shutdown should not interrupt currently running jobs #31019
- TypeBootstrapContext constructor not called in custom types with Hibernate 6 #30924
MethodIntrospector.selectMethods(?)fails to find methods in case of special bridge method arrangement #30906- Spring webflux
@ModelAttributeannotated methods not working with kotlin suspend methods #30894 - Support Kotlin Serialization custom serializers #30870
- Test AOT processing fails if a feature name prefix is reused #30861
- NoUniqueBeanDefinitionException should make sure beansNameFound is serializable #29753
- Permgen memory leak due to
ClassInfocaching injava.beans.Introspectoron JDK 11/17 #27781 - Model.set() Kotlin extension method does not allow null value #27115
- Allow
PropertySourcesPlaceholderConfigurersubclass to customizePropertyResolver#26761
π Documentation
- Fix documentation: Passing in Lists of Values for IN Clause does not work with JdbcTemplate #31228
- Fix typo in comment in XML configuration example #31194
- Document some non-nullable Kotlin extensions can throw
NoSuchElementException#31189 - Improve documentation on applicability of mapped interceptors with the Spring MVC config #31185
- Add Javadoc since tags in FilePatternResourceHintsRegistrar #31174
- Refine CORS documentation for wildcard processing #31143
- Fix invalid type name in RSocket section of the reference documentation #31091
@Transactionalon package-private/protected methods for class-based proxies #31057- Change Kotlin
Anyto be a nullable type in AOP refdoc examples #31015 - Versioned redirect seems to all redirect to "current" version #31009
- Javadoc for
PathPatternParser.defaultInstanceis outdated #30976 - Clarify R2DBC
ConnectionAccessorandDatabasePopulatorexception declarations #30932 - Document purpose of
nameattribute in@PropertySource#30195 - Document how to configure the
ApplicationEventMulticasterused by theApplicationContext#29996 - Document inference of destroy methods with Java config more prominently #29546
- Revise
FilePatternResourceHintsRegistrarAPI and improve documentation #29161 - Document how to configure the cache infrastructure globally #28250
- SpEL
T()operator not able to locate user types with defaultStandardTypeLocatorconfiguration #26253 - Propagation REQUIRES_NEW may cause connection pool deadlock #26250
- Modify DefaultMessageListenerContainer javadoc #25503
- Doc: Avoid deadlock in
@PostConstructthroughSmartInitializingSingletonorContextRefreshedEvent#25074 - Document expected behavior of a method annotated with multiple
@Scheduledannotations #23959...