github spring-projects/spring-framework v6.2.0-M7

latest releases: v6.2.0-RC3, v6.2.0-RC2, v6.1.14...
pre-release2 months ago

⭐ New Features

  • Improve optional parameter checks for HTTP Interface argument #33339
  • Two @Bean methods with the same bean name should consistently throw an exception #33330
  • Support static headers for http interface clients #33309
  • Add DatabaseClient bind variant for list of positioned parameters #33274
  • HandlerMethodValidator should support simple Cross-Parameter constraints #33271
  • UserCredentialsConnectionFactoryAdapter should provide credentials to createContext #33270
  • Support flexible multi-unit duration format in @DurationFormat #33262
  • MockMvc should prepare a FilterRegistration when initializing filters #33252
  • Add option to ignore bean registration with AOT #33243
  • Support JAXBElement in Jaxb2RootElementHttpMessageConverter #33233
  • MimeMessageHelper does not set filename on inline MimeBodyPart #33230
  • Add handling for AsyncRequestNotUsableException to ResponseEntityExceptionHandler #33225
  • Allow formatting of Collection values for @RequestParam with HTTP interface client #33220
  • Support rendering stream of fragments #33194
  • Allow resolving nested placeholders if value is not String but CharSequence #32876
  • Support multiple style of parsing/printing Durations #30396
  • Restore support for Freemarker request parameters and taglibs now that it supports Jakarta #30186
  • AOT/native support when registering beans with the Kotlin DSL #29555
  • Offer a way for MockitoTestExecutionListener to enable strict stubbing #33318
  • Provide access to all counters in case of BatchUpdateException with multiple batches #23867
  • Low level cache failure for sync/reactive/future Cacheable get is not handled by CacheErrorHandler #21590

🐞 Bug Fixes

  • Programmatic NoUniqueBeanDefinitionException in CacheAspectSupport should match message structure #33305
  • JdbcClient.MappedQuerySpec::single can return null #33300
  • Registration of DynamicPropertyRegistry in a test context has broken native testing #33272
  • MapAccessor#canWrite incorrectly returns true for non-Map target #33265
  • BeanDefinition processed by AOT does not keep fallback flag #33261
  • ImportSelector#getExclusionFilter does not exclude matching candidates with import selector #27080

📔 Documentation

  • Document that SpEL expressions using bean references are not compilable #33363
  • Remove duplicated "the" in Javadoc #33308
  • Update documentation for fragment rendering #33195
  • Document ControllerAdviceBean as internal usage #32776

🔨 Dependency Upgrades

  • Upgrade to Micrometer 1.14.0-M2 #33327
  • Upgrade to Reactor 2024.0.0-M5 #33328

❤️ Contributors

Thank you to all the contributors who worked on this release:

@OlgaMaciaszek, @benelog, @deblockt, @doljae, @izeye, @quaff, and @zinzoddari

Don't miss a new spring-framework release

NewReleases is sending notifications on new releases.