From 4e05d6878e39d0a1e4bf65f5ab987dead3bae943 Mon Sep 17 00:00:00 2001 From: Rossen Stoyanchev Date: Thu, 14 Nov 2024 16:17:26 +0000 Subject: [PATCH] Updated Spring Framework 6.2 Release Notes (markdown) --- Spring-Framework-6.2-Release-Notes.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Spring-Framework-6.2-Release-Notes.md b/Spring-Framework-6.2-Release-Notes.md index 4048b0c..d8f7a85 100644 --- a/Spring-Framework-6.2-Release-Notes.md +++ b/Spring-Framework-6.2-Release-Notes.md @@ -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). ### Fragment Rendering