v6.2.0
⭐ New Features
- Update UndertowHttpHandlerAdapter to dispatch #33885
- Refine
@ContractJavadoc to mentionthisandnewreturn values #33849 - AOT processing for bean validation does not consider cascaded and container element constraints #33842
- Avoid repeated resolving of singleton beans through
@Lazyproxy #33841 - Regiser runtime hints for
@TestBeanfully-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
pureattribute from@Contract#33820 - Introduce
@CheckReturnValueannotation #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 HttpServiceProxyFactoryshould omit optional@RequestParamif converted fromnullto 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
🐞 Bug Fixes
MockResetshould be honored without@Mockito[Spy]Beanfields #33829- Test Bean Overrides do not honor
@Primarysemantics #33819 - Bean Overrides cannot reliably override beans created by a
FactoryBeanwith generics #33811 - Bean Overrides for certain
FactoryBeanuse cases no longer work #33800 @MockitoBean,@MockitoSpyBean, &@TestBeando not work with@DirtiesContext"before method" modes #33783- Deprecate exchangeTimeout and refactor readTimeout in ReactorClientHttpRequestFactory #33782
📔 Documentation
- Revise documentation for SpEL
PropertyAccessorandIndexAccessorAPIs 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