Release Notes - Spring Framework - Version 3.2 RC1 - HTML format

Bug

  • [SPR-8523] - @Entity objects are not enhanced by the load time weaver in certain situations
  • [SPR-9017] - Allow SpEL to resolve getter method against object of type Class
  • [SPR-9209] - AnnoationMethodHandlerExceptionResolver identifies wrong exception handler
  • [SPR-9257] - Resolve Collection element types during conversion
  • [SPR-9284] - Allow MapToMap conversion even without a default constructor
  • [SPR-9285] - CollectionFactory does not chain exceptions
  • [SPR-9406] - Unknown status codes (i.e. not in HttpStatus enum) prevent HttpClientErrorException and HttpServerErrorExceptions from being raised
  • [SPR-9593] - JdbcTestUtils should not interpret comments as a separate statement
  • [SPR-9610] - Initialize ServletContext and ServletConfig property sources eagerly in FrameworkServlet
  • [SPR-9630] - Injection of Provider fails for prototype-scoped beans
  • [SPR-9768] - JibxMarshaller deletes comments when Result is an XMLEventWriter
  • [SPR-9791] - RestTemplate fails to correctly parse some HTTP URI parameters
  • [SPR-9797] - Spring fails to locate jar files defined with jar-file tag in persistence.xml
  • [SPR-9802] - Performance degradation for TransactionInterceptor
  • [SPR-9806] - Autowired properties can remain unset during concurrent instantiation of prototype-beans
  • [SPR-9811] - Fix split package introduced by @EnableSpringConfigured
  • [SPR-9814] - Delete CopyOfRequestMappingHandlerMapping
  • [SPR-9815] - RequestMethodsRequestCondition fails on unsupported method types
  • [SPR-9821] - Race Condition in ReschedulingRunnable
  • [SPR-9826] - PathExtensionContentNegotiationStrategy depends on Servlet 3 specific method
  • [SPR-9832] - Erroneous "0" returned where empty string expected in call through the RestTemplate
  • [SPR-9833] - HttpComponentsHttpInvokerRequestExecutor does not explicitly release connection
  • [SPR-9841] - Upgrade spring mvc app to 3.1.2 causes content-type to be returned as 'application/*+xml'
  • [SPR-9846] - Hibernate 4 class loading issue on JBoss 7 when hibernate & spring classes loaded by different classloaders
  • [SPR-9851] - Prevent memory leaks with @Configuration beans
  • [SPR-9852] - @Resource injection of singleton in prototype using AnnotationConfigApplicationContext is not thread-safe
  • [SPR-9855] - ServletConfigAware-related exception is not thrown as expected
  • [SPR-9857] - LoadTimeWeaving not working properly in Websphere
  • [SPR-9865] - TypeConverterDelegate falls back to deprecated Date constructor when first converter failed
  • [SPR-9867] - Unscalable code in Jaxb2Marshaller
  • [SPR-9868] - NullPointerException in AbstractMessageConvertorMethodProcessor
  • [SPR-9869] - OpDivide wrongly wraps result of division in TypedValue
  • [SPR-9874] - Portlet mapping predicate compareTo is not transitive
  • [SPR-9876] - DispatcherPortlet should forward to view for ResourceRequest
  • [SPR-9883] - Inconsistent behavior for LocalContainerEntityManagerFactoryBean for using/not using persistence.xml, with Hibernate4
  • [SPR-9895] - OncePerRequestFilter executes again on errors
  • [SPR-9898] - Close 'beans' tag in MVC namespace documentation
  • [SPR-9925] - Prevent duplicate @Import processing and ImportBeanDefinitionRegistrar invocation
  • [SPR-9930] - When SimpleMessageListenerContainer could not connect, it throws a NullPointerException in shutdown()
  • [SPR-9933] - Avoid NullPointerException in ObjectToObjectConverter
  • [SPR-9940] - Spring test module shouldn't pull in hamcrest-all as hard dependency
  • [SPR-9942] - HttpMessageNotReadableException when @RequestBody(required=false)
  • [SPR-9944] - AbstractEnvironment addActiveProfile ignores profiles activated with properties
  • [SPR-9994] - ReflectivePropertyAccessor should not consider bridge methods

Improvement

  • [SPR-4675] - Throw AopInvocationException on advice returning null for primitive type
  • [SPR-6508] - Support DateTimeFormat annotation without Joda
  • [SPR-6940] - Apache HttpClient 4.1 pooled coonection manager support in Spring Web
  • [SPR-7121] - Support for custom global Joda DateTimeFormatters
  • [SPR-7392] - Make ResourceBundleMessageSource more flexible (catching up with Java 6's java.util.ResourceBundle)
  • [SPR-7905] - MappingJacksonHttpMessageConverter default media type should include *+json
  • [SPR-7985] - Add support for the HTTP PATCH method
  • [SPR-7995] - MockHttpRequest to support ClientRequestInterceptor testing
  • [SPR-8701] - Use concurrent cache to improve performance of GenericTypeResolver
  • [SPR-8984] - Make the ConfigurableWebBindingInitializer easy to customize in WebMvcConfigurationSupport
  • [SPR-9166] - Cache and late resolve annotations on bean properties to improve performance
  • [SPR-9325] - Add more details in ResourceAccessException message thrown by doExecute method of RestTemplate
  • [SPR-9474] - UriComponentsBuilder.query(String) does not always match properly the query
  • [SPR-9475] - Upgrade commons-httpclient from version 4.1 to version 4.2
  • [SPR-9486] - Add SpEL support for float literals
  • [SPR-9566] - Bypass conversion when possible
  • [SPR-9569] - Allow PropertyResolver implementations to ignore unresolvable ${placeholders}
  • [SPR-9635] - MediaType's include method does not check for generalization when using a format extension/suffix
  • [SPR-9655] - HttpHeaders.getAccept() does not return all accept headers for Iplanet WebServer 7
  • [SPR-9692] - Support conversion from Enum Interface
  • [SPR-9707] - Support flexible formatting for resolved message codes
  • [SPR-9724] - Make locales in MockHttpServletRequest configurable
  • [SPR-9738] - Implement HttpMessageConverter that can use a ConversionService to convert String content to some Object type
  • [SPR-9744] - TypeDescriptor getAnnotation method should use generics
  • [SPR-9751] - Support for increment (++) operator in SpEL
  • [SPR-9765] - List<UUID> @PathVariable not converted correctly in @Controller
  • [SPR-9794] - Spring 3.1 CookieGenerator does not support HttpOnly property added in servlet 3.0
  • [SPR-9796] - Develop ConcurrentReferenceHashMap
  • [SPR-9798] - Support opaque URIs in UriComponentsBuilder
  • [SPR-9807] - ContentNegotiatingViewResolver does not support wildcards in contentType
  • [SPR-9812] - allow replaced-method 'arg-type' matches against element body as well as 'match' attribute
  • [SPR-9853] - Add JDBC exception translation support for Oracle error code ORA-06550
  • [SPR-9856] - AbstractRoutingDataSource does not allow to unwrap the underlying datasource
  • [SPR-9862] - Allow SpEL reserved words in type package names
  • [SPR-9875] - Allow configurable await time in TestCallableInterceptor in test mvc
  • [SPR-9890] - Allow usage of injection annotations (@Autowired, @Value) as meta-annotations
  • [SPR-9909] - Allow setting WSDL document as a Resource on LocalJaxWsServiceFactory
  • [SPR-9914] - Provide a way to handle timeouts for Servlet 3 async requests
  • [SPR-9928] - Extend conditional conversion support
  • [SPR-9946] - SQL Server error code 209 should map to BadSqlGrammarException

New Feature

  • [SPR-4588] - Provide support for session/request scoped beans for integration testing
  • [SPR-5243] - Support loading WebApplicationContexts with the TestContext Framework
  • [SPR-7951] - Add first class support for client-side REST tests
  • [SPR-8244] - Allow Customization of Object Name Attributes
  • [SPR-8943] - Introduce @EnableMBeanExport equivalent to <context:mbean-export>
  • [SPR-9662] - Provide runtime access to Spring container and bean graph metadata
  • [SPR-9739] - Implement support of Jackson2 for JacksonObjectMapperBeanFactory
  • [SPR-9859] - Add first class support for testing Spring MVC applications

Refactoring

  • [SPR-9918] - Reduce code duplication in ContextLoaderUtils
  • [SPR-9927] - Refactor GenericConversionService

Task

  • [SPR-9598] - Prefix reference doc artifacts with 'spring-framework' instead of 'spring'
  • [SPR-9789] - Un-@Ignore SpringRunnerContextCacheTests and fix order-dependent issues under JDK7
  • [SPR-9790] - Upgrade to Gradle 1.2
  • [SPR-9822] - 3.1.x RestTemplate documentation refers to the depredated CommonsClientHttpRequestFactory
  • [SPR-9924] - Fix package cycles in spring-test

Edit/Copy Release Notes

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