Skip to content

v6.2.0

Compare
Choose a tag to compare
@spring-builds spring-builds released this 14 Nov 16:46
· 217 commits to main since this release

⭐ New Features

  • Update UndertowHttpHandlerAdapter to dispatch #33885
  • Refine @Contract Javadoc to mention this and new 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 from null 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

🐞 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 and IndexAccessor 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