fix(deps): update spring core to v6.2.0
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
org.springframework:spring-test | dependencies | minor |
6.1.12 -> 6.2.0
|
org.springframework:spring-beans | dependencies | minor |
6.1.12 -> 6.2.0
|
org.springframework:spring-core | dependencies | minor |
6.1.12 -> 6.2.0
|
Release Notes
spring-projects/spring-framework (org.springframework:spring-test)
v6.2.0
⭐ New Features
- Update UndertowHttpHandlerAdapter to dispatch #33885
- Refine
@Contract
Javadoc to mentionthis
andnew
return values #33849 - AOT processing for bean validation does not consider cascaded and container element constraints #33842
- Avoid repeated resolving of singleton beans through
@Lazy
proxy #33841 - Regiser runtime hints for
@TestBean
fully-qualified method names #33836 - Introduce support for custom reason in
@DisabledInAotMode
#33833 - Use optimistic locking where possible in
ResponseBodyEmitter
#33831 - Revise cookies support with Apache HTTP Components in WebClient and WebTestClient #33822
- Remove the
pure
attribute from@Contract
#33820 - Introduce
@CheckReturnValue
annotation #33818 - ResourceHttpRequestHandler throwing IllegalArgumentException if resource doesn't end with slash breaks some third-party libraris #33815
- Provide first-class virtual thread option on
ThreadPoolTaskExecutor
/ThreadPoolTaskScheduler
#33807 -
HttpServiceProxyFactory
should omit optional@RequestParam
if converted fromnull
to empty string #33794 - Reactor Netty response should not buffer the full response #33781
- Relax the visibility of MockMVC DSL constructors #33778
- Support Publisher to InputStream conversion #31677
:lady_beetle: Bug Fixes
-
MockReset
should be honored without@Mockito[Spy]Bean
fields #33829 - Test Bean Overrides do not honor
@Primary
semantics #33819 - Bean Overrides cannot reliably override beans created by a
FactoryBean
with generics #33811 - Bean Overrides for certain
FactoryBean
use cases no longer work #33800 -
@MockitoBean
,@MockitoSpyBean
, &@TestBean
do not work with@DirtiesContext
"before method" modes #33783 - Deprecate exchangeTimeout and refactor readTimeout in ReactorClientHttpRequestFactory #33782
📔 Documentation
- Revise documentation for SpEL
PropertyAccessor
andIndexAccessor
APIs regarding ordering #33862 - Document UrlHandler Servlet and reactive filters #33784
- Improve documentation for
SpelCompilerMode
#33223
🔨 Dependency Upgrades
- Upgrade to ASM 9.7.1 (for early Java 24 support) #33821
- Upgrade to Micrometer 1.14.0 #33876
- Upgrade to Reactor 2024.0.0 #33878
❤ Contributors
Thank you to all the contributors who worked on this release:
@Hejow, @OlegDokuka, and @lucky8987
v6.1.15
⭐ New Features
- Use UriUtils to process static resource paths #33859
- Prefer modified resources over the originals in TestCompiler #33850
- Improve iteration methods in native headers to MultiValueMap adapters #33823
- Deregister empty
Cache
fromCacheManager
#33813 - Rename
aopAvailable
constants inTransactionSynchronizationUtils
for better GraalVM native image support #33796 - Load-time weaving support for WildFly 24+ #33728
:lady_beetle: Bug Fixes
- DefaultClientRequestObservationConvention generates wrong uri tag when missing path #33867
- HttpComponentsClientHttpRequestFactory setReadTimeout not working with httpclient 5.4 #33806
- HttpHeaders.writeableHttpHeaders(new HttpHeaders(readOnlyHttpHeaders)) is not writeable #33789
- RestClient exchange methods are not nullable #33779
- Throw
SpelParseException
for unsupported character inSpelExpressionParser
#33767 - DefaultMessageListenerContainer reports incorrect jms.process.message count #33758
- Autowiring fails if multiple non-highest
@Priority
beans exist with same priority #33733 - Jackson2Decoder leaks on WebClient timeout #33731
- DefaultServerRequestObservationConvention throws when response status is zero #33725
- Aspect executed twice -
@AfterThrowing
#33704 - parts w/o filename in
Content-Disposition
header are not cleaned from temp folder (skipped byStandardServletMultipartResolver
) #33511
📔 Documentation
- Resources link points to wrong section of reference guide #33882
- Remove mentions of Joda-Time support #33881
- SimpleAsyncTaskExecutor blocks calling thread when concurrencyLimit set #33873
- Fix formatting issue in validation section of reference guide #33871
- Fix typo in reference documentation #33865
- Fix XML bean reference example in reference manual #33855
- Fix a typo in documentation #33846
- Numerous warnings when injecting dependencies into configuration that implements CachingConfigurer #33834
-
@Async
documentation should not suggest deprecated classes #33805 - Document that circular dependencies should be avoided in AOT mode #33786
- Inconsistent Lifecycle Management with Virtual Threads in Spring Boot Async Configuration #33780
- Fix incorrect regex rendering in MVC controller documentation #33766
- Improve documentation for
allowEagerInit
parameter ingetBeanNamesForType()
#33740 - Fix Javadoc in ReactorNetty2ResourceFactory #33735
- Document options for handling Date/Time parsing and formatting issues with JDK 20+ #33151
🔨 Dependency Upgrades
❤ Contributors
Thank you to all the contributors who worked on this release:
@Torres-09, @ZLATAN628, @hosamaly, @izeye, @kunaljani1100, @ngocnhan-tran1996, and @wilkinsona
v6.1.14
⭐ New Features
- Use Locale.ROOT for locale neutral, case insensitive comparisons #33708
- Improve checks for relative paths in static resource handling #33689
- CorsUtils.isCorsRequest throws unhandled IllegalArgumentException and returns 500 Internal Server Error on malfomed Origin header #33682
- Skip processing of Java annotations in
QualifierAnnotationAutowireCandidateResolver
#33580 - Include argument name in
MethodArgumentTypeMismatchException
error message #33573 - Preserve coroutine context in WebClientExtensions #33548
- Blocking call detected in ConcurrentReferenceHashMap by BlockHound #33450
- Warning message about bean post-processing and eager injection may suggest the wrong cause #33184
:lady_beetle: Bug Fixes
- DelegatingFilterProxy Causes Pinned Virtual Threads #33656
- Potential NPE from
MethodParameter.getMethod()
check inKotlinDelegate.hasDefaultValue()
#33609 - Missing native image hints for JDK proxies created by JMS connection factories #33590
-
AotTestExecutionListener
should not be invoked for a@DisabledInAotMode
test class #33589 - Use encoded resource path instead of input path validation in spring-webflux #33568
-
org.springframework.util.ResourceUtils#toRelativeURL
drops customURLStreamHandler
#33561 - Current observation not in scope during WebClient ExchangeFilterFunction execution #33559
-
ZoneIdEditor
throws wrong exception type forTypeConverterSupport
#33545 - MimeMessageHelper addInline with ByteArrayResource fail with null filename #33527
-
@Cacheable
throwsNullPointerException
whenRuntimeException
is thrown inside annotated code #33492 - Path variable values missing in RedirectView when PathPattern are used #33422
- Reactive
HttpComponentsClientHttpResponse
ignoresExpires
cookie attribute #33157
📔 Documentation
- Update fallback.adoc #33721
- Update scheduling.adoc #33703
- Fix link in testing/support-jdbc.adoc #33686
- Adapt Javadoc note about log level of BeanPostProcessorChecker #33617
- Reference the spring-framework-petclinic repository wich uses AspectJ #33539
🔨 Dependency Upgrades
- Upgrade to Apache HttpClient 5.4 #33587
- Upgrade to Apache HttpCore Reactive 5.3 #33588
- Upgrade to Awaitility 4.2.2 #33604
- Upgrade to Micrometer 1.12.11 #33647
- Upgrade to Reactor 2023.0.11 #33637
❤ Contributors
Thank you to all the contributors who worked on this release:
@arey, @asibross, @boulce, @drdpov, @hosamaly, @ilya40umov, @izeye, and @junhyeongkim2
v6.1.13
⭐ New Features
- Errors thrown from SmartLifeycle#stop results in (unnecessary) waiting for the shutdown timeout #33442
- Updates to resource handling for functional endpoints #33434
- Stop logging
result
inWebAsyncManager
#33406 - spring native not support method handler with kotlin default value #33384
:lady_beetle: Bug Fixes
- Ensure use of specified status code on redirect with
Rendering
#33498 - Inconsistent handling of X-Forwarded-Prefix in servlet and reactive stack #33465
- ServerHttpObservationFilter does not register against new async operations #33451
- Revert removal of deprecated rawStatusCode methods #33440
- PathMatchingResourcePatternResolver no longer follows symlinks #33424
- Deadlock between SseEmitter and StandardServletAsyncWebRequest when clients disconnect #33421
- RestClient doesn't open a scope for the processing of the request #33397
- WebTestClient leaks when ParameterizedTypeReference is used #33389
📔 Documentation
- Document fixed rate scheduling with CRaC #33490
- Update information in SpEL Evaluation chapter in reference manual #33456
- Stop documenting use of
-debug
compiler flag in reference manual #33453 - Use discrete headings instead of titled blocks in reference manual #33447
- Fix example for
@ImportResource
in the reference manual #33446 - Fix a typo in the CDS documentation #33437
- Fix link to chapter introduction #33417
- Improve documentation on reading form data via Servlet request parameters vs
@RequestBody
#33409
🔨 Dependency Upgrades
- Upgrade to Kotlin 1.9.25 #33471
- Upgrade to Micrometer 1.12.10 #33518
- Upgrade to Objenesis 3.4 #33526
- Upgrade to Reactor 2023.0.10 #33519
❤ Contributors
Thank you to all the contributors who worked on this release:
@dancer1325, @izeye, and @yfoel
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.