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

latest releases: v6.2.0-RC1, v6.1.13, v6.2.0-M7...
pre-release3 months ago

⭐ New Features

  • Add support for converting the whole JSON document without using JSONPath #33018
  • Support Protobuf 4.x #33011
  • Do not swallow exceptions on failing to release a savepoint #32992
  • Being able to provide extended timeouts for specific phases in the DefaultLifecycleProcessor #32985
  • Allow json content to be converted using AssertJ's AssertFactory #32953
  • Add support for BeanPostProcessor defined in Kotlin companion object #32946
  • Support @TestBean factory methods defined in interfaces #32943
  • Add a way to set the timeout to reactive jdk client #32941
  • Revise convention-based semantics for @TestBean factory methods #32940
  • Support field name as fallback qualifier for @TestBean, MockitoBean, and MockitoSpyBean #32939
  • Use getMessageSource internally in RequestContext #32926
  • MockMvc no longer needs methods that take a String httpMethod for custom methods #32914
  • Allow MockMvcTester to prepare the query without the need of static imports #32913
  • Rework Bean Overriding feature to better behave with TCF Context Caching #32884
  • Introduce API to initialize BeanFactory before singleton instantiation #32836
  • Introduce static MultiValueMap factory methods #32832
  • Make use of JSONAssert in public API optional #32791
  • Refine exception handling in AOT process to provide additional context #32777
  • Handle ResponseStatusException thrown by MVC functional endpoints #32689
  • Support data binding from request headers #32676
  • Ignore trailing semicolons when parsing Accept-Language header #32259
  • Introduce request attributes in RestClient #32027
  • Make WebSocketMessageBrokerStats optionally export stats to micrometer #31604
  • Add Partitioned cookie attribute support for reactive servers #31454
  • Add execution metadata to scheduled tasks #24560

🐞 Bug Fixes

  • Exception that prevents component scan with REGISTER_BEAN conditions should provide the affected configuration class #32998
  • Bean override with REPLACE_OR_CREATE_DEFINITION and byType lookup fails if no match is found #32990
  • Bean override factory post processing doesn't work with FactoryBean #32971
  • @TestBean factory method not found in multi-level @Nested hierarchy #32951
  • Support queries in opaque URLs #32920
  • AbstractJsonContentAssert should allow satistfies to run on the json content, not the raw string #32894
  • Content negotiation for exception handling fails with WebFlux #32878

📔 Documentation

  • Fix typo in WebTestClient expectedXml #32969

🔨 Dependency Upgrades

  • Upgrade to Micrometer 1.13.1 #33000
  • Upgrade to Reactor 2024.0.0-M3 #33006

❤️ Contributors

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

@AlexejTimonin, @andreblanke, @ccorbacho, @earlgrey02, @izeye, @m4tt30c91, and @schnapster

Don't miss a new spring-framework release

NewReleases is sending notifications on new releases.