Release Notes - Spring Framework - Version 4.2 RC3 - HTML format

Bug

  • [SPR-13096] - Binary data in POST multipart request is unmarshalled incorrectly
  • [SPR-13180] - BEFORE_* modes in @DirtiesContext cause context to be closed before test
  • [SPR-13185] - ConcurrentModificationException when calling SimpMessagingTemplate.convertAndSend
  • [SPR-13190] - STOMP CONNECT ignored ("No session for...") when using <websocket:decorator-factories>
  • [SPR-13194] - Wrong assertion message in ShallowEtagHeaderFilter
  • [SPR-13204] - NullPointerException possible in DefaultSubscriptionRegistry
  • [SPR-13205] - NullPointerException in DefaultSubscriptionRegistry.removeSubscription
  • [SPR-13207] - WebContentGenerator not backwards compatible
  • [SPR-13217] - Populate RequestAttributes before invoking FilterChain in MockMvc
  • [SPR-13223] - ResponseBodyEmitter skips same messages during initialization
  • [SPR-13224] - SseEmitter is not thread safe

Task

  • [SPR-7301] - Documentation should mention @Primary
  • [SPR-11671] - Doc: Lifecycle beans aren't stopped before destruction in some scenarios such as context refresh
  • [SPR-11902] - Improve documentation for @IfProfileValue precedence
  • [SPR-12194] - Document autowiring of javax.validation.Validator with use of @EnableWebMvc
  • [SPR-12345] - Document method visibility rules for @Bean methods
  • [SPR-12422] - Update SockJS client references from 0.3.4 to 1.0.0
  • [SPR-12579] - Improve Reference Documentation about Spring WebSocket
  • [SPR-12882] - Document @Bean definitions via default methods
  • [SPR-12896] - Improve Documentation about when use BindingAwareModelMap and ExtendedModelMap
  • [SPR-13001] - Compatibility with WildFly 9.0 GA
  • [SPR-13012] - Upgrade build to Gradle 2.5 for JDK 9 support
  • [SPR-13040] - Doc: Don't mix up native schema creation with JPA 2.1 standard one
  • [SPR-13118] - Doc: Static @Bean methods cannot refer to each other with Spring scoping semantics
  • [SPR-13120] - Improve DispatcherServlet diagrams
  • [SPR-13169] - Improve documentation on limitations of Spring MVC Test
  • [SPR-13232] - Revisit date-time tests for compatibility with JDK 9 build 72

Improvement

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

Edit/Copy Release Notes

The text area below allows the project release notes to be edited and copied to another document.