@ -150,12 +150,18 @@ You can now register dynamic properties in tests by contributing `DynamicPropert
@@ -150,12 +150,18 @@ You can now register dynamic properties in tests by contributing `DynamicPropert
[See related documentation](https://docs.spring.io/spring-framework/reference/6.2/testing/testcontext-framework/ctx-management/dynamic-property-sources.html).
### Constructor Data Binding to Lists, Maps, and Arrays
While setter binding is driven by request values, and may need to be restricted through allow and disallow lists, constructor binding is driven by the constructor arguments that already declare exactly and only what is expected. In 6.2 constructor binding has been enhanced to support List, Map, and array arguments giving it parity with setter binding.
See [#32426](https://github.com/spring-projects/spring-framework/issues/32426)
### Data Binding from Headers
In addition to Servlet request parameters, multiparts, and path variables, data binding now also supports binding request header values to `@ModelAttribute` controller method parameters.
See [Data binding support from HTTP request headers](https://github.com/spring-projects/spring-framework/issues/32676).
See [#32676](https://github.com/spring-projects/spring-framework/issues/32676).