Skip to content

4.2 RC3 Release

Compare
Choose a tag to compare
@spring-projects-issues spring-projects-issues released this 17 Jan 14:32
· 22378 commits to main since this release

⭐ New Features

  • Allow Collection Selection/Projection to be applied to instances of Iterable [SPR-13231] #17822
  • SimpleClientHttpRequestFactory: headers with null values should be sent as empty Strings [SPR-13225] #17816
  • Allow customizing DispatcherServlet in AbstractDispatcherServletInitializer [SPR-13222] #17813
  • JaxbMarshaller scan should skip annotated interfaces [SPR-13221] #17812
  • JdbcTemplate.queryForObject(sql, .class) produces TypeMismatchDataAccessException [SPR-13220] #17811
  • Support single quotes nested in double quotes in SQL scripts [SPR-13218] #17809
  • BeanPropertyRowMapper should always call toLowerCase with US encoding [SPR-13216] #17807
  • As of Jackson 2.6 the module class supporting the java.time (java8) package has changed [SPR-13212] #17804
  • TomcatInstrumentableClassLoader should support Tomcat 7.0.63+ as well [SPR-13210] #17802
  • ResourceBundleThemeSource could expose the property fallbackToSystemLocale of ResourceBundleMessageSource [SPR-13209] #17801
  • Make RedirectViews use RESPONSE_STATUS_ATTRIBUTE as a response status if defined [SPR-13208] #17800
  • Avoid rejecting same origin requests detected as CORS requests [SPR-13206] #17798
  • LinkedMultiValueMap should allow for deep copy of List values [SPR-13201] #17793
  • CommonsMultipartResolver should support setFileSizeMax [SPR-13200] #17792
  • Support HandlerMethod parameter in @MessageExceptionHandler [SPR-13196] #17788
  • Add an Access-Control-Request-Method check for CORS preflight requests [SPR-13193] #17785
  • Add a CORS Filter [SPR-13192] #17784
  • DelegatingFilterProxy should be aware of FrameworkServlet's WebApplicationContext [SPR-13191] #17783
  • Unresolvable class in 'basePackageClasses' annotation attribute results in misleading and hard to diagnose error [SPR-13177] #17769
  • Add @EventListener value() support for event class literals [SPR-13156] #17747
  • ScriptTemplateView configuration option for JavaScript concurrency issues [SPR-13034] #17626
  • Reduce BeanDefinition cloning in AbstractBeanFactory.getMergedBeanDefinition [SPR-12236] #16851
  • MultipartFile interface should extend InputStreamSource [SPR-11861] #16480

🪲 Bug Fixes

  • SseEmitter is not thread safe [SPR-13224] #17815
  • ResponseBodyEmitter skips same messages during initialization [SPR-13223] #17814
  • Populate RequestAttributes before invoking FilterChain in MockMvc [SPR-13217] #17808
  • WebContentGenerator not backwards compatible [SPR-13207] #17799
  • NullPointerException possible in DefaultSubscriptionRegistry [SPR-13204] #17796
  • BEFORE_* modes in @DirtiesContext cause context to be closed before test [SPR-13180] #17772
  • Binary data in POST multipart request is unmarshalled incorrectly [SPR-13096] #17687

📔 Documentation

  • Improve documentation on limitations of Spring MVC Test [SPR-13169] #17760
  • Improve DispatcherServlet diagrams [SPR-13120] #17711
  • Improve Documentation about when use BindingAwareModelMap and ExtendedModelMap [SPR-12896] #17495
  • Document @Bean definitions via default methods [SPR-12882] #17480
  • Improve Reference Documentation about Spring WebSocket [SPR-12579] #17180
  • Document method visibility rules for @Bean methods [SPR-12345] #16950
  • Document autowiring of javax.validation.Validator with use of @EnableWebMvc [SPR-12194] #16808
  • Improve documentation for @IfProfileValue precedence [SPR-11902] #16521
  • Documentation should mention @Primary [SPR-7301] #11960