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

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

⭐ New Features

  • Harmonize handling of current factory method in SimpleInstantiationStrategy #33192
  • Unwrap InvocationTargetException in SpEL's FunctionReference #33174
  • Support rendering multiple fragments #33162
  • Allow MessageHeaderAccessor to be created with existing headers #33153
  • Generalize message conversion for HTTP message content in AssertJ support #33148
  • Allow arbitrary packages to be scanned for Reflective usage #33132
  • Support external methods referenced by fully-qualified name in @TestBean #33125
  • Update Content-Type based on encoding in MVC FreeMarkerView #33119
  • Introduce SmartHttpMessageConverter #33118
  • Support property placeholders in @Sql script paths #33114
  • Reject ModelMap argument types in WebFlux #33109
  • Set output_encoding in FreeMarkerView implementations #33106
  • Allow encoding to be set with a Charset in FreeMarker support #33102
  • Let custom ObjectProvider implementations declare a single method only #33070
  • Add support for running assertions on resolved exception in MockMvcTester #33060
  • Add dedicated support for printing the MvcResult in MockMvcTester #33059
  • Provide a way to determine if a context is in the process of being closed #33058
  • MockHttpServletRequestBuilder should merge URI from the parent if necessary #33057
  • Fail fast if a @Bean method declares @Autowired as well #33051
  • Add dedicated async dispatch support for MockMvcTester #33040
  • Add dedicated multipart support for MockMvcTester #33027
  • spring-form JSP tags should escape HTML value based on response character encoding #33023
  • SimpleClientHttpResponse throws IOException when response body is empty and status code is >= 400 #33020
  • MockHttpServletResponse defaults to ISO-8859-1 for JSON while the rest of the framework defaults to UTF-8 #33019
  • Propagate context to message converters when streaming with Flux in Spring MVC #32813
  • Resolve URI to baseUrl in RestClient #32679
  • Constructor data binding support for List, Map and array arguments #32426
  • Implement Eclipse Jetty core HTTP handler adapter #32097
  • Add better control over generated files registration #31331
  • Provide more declarative control over reflection hint registration #29194
  • Replace @Nonnull(when = When.MAYBE) by @CheckForNull in @Nullable #27183
  • Add JSON support to Protobuf codecs #25457

🐞 Bug Fixes

  • AntPathPatternMatcher hardcoded "/" separator in variables matching and comparator #33085
  • AOT generates a raw type for a generic type with nested unresolved generics #33069
  • Unwrap Kotlin inline value classes return values #33026
  • Kotlin Serialization support does not take null-safety into account #33016

📔 Documentation

  • Move Testing below other framework concerns in the reference documentation TOC #33083
  • Move Servlet HTTP Message Conversion to its own section #33063
  • Document AssertJ support for MockMvc #32454

🔨 Dependency Upgrades

  • Upgrade to HtmlUnit 4.2.0 #33081
  • Upgrade to Kotlin Coroutines 1.8.1 #33176
  • Upgrade to Micrometer 1.14.0-M1 #33170
  • Upgrade to Reactor 2024.0.0-M4 #33171

❤️ Contributors

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

@gregw, @stonio, and @tafjwr

Don't miss a new spring-framework release

NewReleases is sending notifications on new releases.