Release Notes - Spring Framework - Version 3.1 M1 - HTML format

Sub-task

  • [SPR-7513] - Support nested beans elements
  • [SPR-7514] - Support beans element 'profile' attribute
  • [SPR-7515] - Create EnvironmentAwarePropertyPlaceholderConfigurer
  • [SPR-7775] - Support @Profile annotation
  • [SPR-7776] - Support Environment and PropertySource
  • [SPR-8035] - Support @Profile as a meta-annotation
  • [SPR-8049] - New BeanUtils.instantiateClass() signature causes STS error
  • [SPR-8051] - BeanDefinitionParserDelegate.getEnvironment causes NoSuchMethodError in STS
  • [SPR-8053] - New XmlReaderContext.getProblemReporter() method causes STS error

Bug

  • [SPR-7441] - ThreadLocal leaking in AbstractBeanFactory and XmlBeanDefinitionReader
  • [SPR-7635] - Unresolved thread safety issue in AutowiredAnnotationBeanPostProcessor.AutowiredMethodElement
  • [SPR-7682] - AbstractBindingResult.hashCode() throws NullPointerException
  • [SPR-7686] - NullPointerException in InjectionMetadata
  • [SPR-7702] - Missing package imprts in bundle org.springframework.aspects
  • [SPR-7705] - jUnit 4 and @Rule execution order
  • [SPR-7706] - 304 responses should not have non-0 Content-Length
  • [SPR-7707] - Unexpected behavior with class-level @RequestMappings
  • [SPR-7729] - MediaType incorrectly calls the toString() method instead of name() method causing RestTemplate on Android to fail
  • [SPR-7736] - Returning EmptyHolder from Cache causes ClassCastException
  • [SPR-7766] - Wrong data-type resolution using custom Converter
  • [SPR-7779] - Vulnerability in LocaleChangeInterceptor
  • [SPR-7781] - @RequestParam - wanting List<Long> getting List<String>
  • [SPR-7789] - FormHttpMessageConverter does not honor the charset in the content type when writing a form and uses a wrong default charset
  • [SPR-7795] - ServletRequestDataBinder does not bind MultipartFile with HiddenHttpMethodFilter and Multipart Request
  • [SPR-7813] - EhCacheManagerFactoryBean should close stream obtained from configLocation
  • [SPR-7816] - ConversionService broken since 3.0.4
  • [SPR-7828] - StringUtils incorrectly interprets UNIX-style hidden directories as file extensions
  • [SPR-7834] - HttpHeaders.getEtag() mangles the value
  • [SPR-7845] - FormHttpMessageConverter.read() always ignores post data when processing request (from Tomcat)
  • [SPR-7869] - Accept-Charset header with '*' results in java.nio.charset.IllegalCharsetNameException
  • [SPR-7875] - Problem with FormattingConversionService
  • [SPR-7924] - Unable to configure MappingJacksonHttpMessageConverter created by AnnotationDrivenBeanDefinitionParser
  • [SPR-7953] - BeanDefinitionVisitor does not actually visit factory method names
  • [SPR-8554] - MapToMapConverter invalidly returns source map for empty maps

New Feature

  • [SPR-7194] - Add @ComponentScan annotation
  • [SPR-7308] - Provide high-level cache API in Spring container
  • [SPR-7470] - c: (constructor) namespace
  • [SPR-7494] - Introduce interceptors for RestTemplate
  • [SPR-7508] - Add environment abstraction and support bean definition profiles

Task

  • [SPR-2946] - Doc: BeanPostProcessor and lazy-init
  • [SPR-7790] - Include license.txt and notice.txt in distribution files
  • [SPR-7850] - Upgrade to JUnit 4.8.1
  • [SPR-7851] - Upgrade to TestNG 5.12.1

Improvement

  • [SPR-977] - update for JMX remote connectors
  • [SPR-4331] - LoadTimeWeaver for WebSphere
  • [SPR-6143] - RestTemplate cannot support OAuth
  • [SPR-6506] - <mvc:annotation-driven> should allow overriding all WebBindingInitializer properties
  • [SPR-6614] - Add human-readable descriptions for statuc codes in HttpStatus
  • [SPR-6902] - @ResponseBody does not work with @ExceptionHandler
  • [SPR-7327] - Allow custom WebArgumentResolvers to be configured using the mvc namespace
  • [SPR-7491] - Reduce footprint due to BeanDefinitions
  • [SPR-7504] - Make it easier to add new Message Converters to AnnotationMethodHandlerAdapter
  • [SPR-7510] - Improve exception handling in PropertyPlaceholderConfigurer
  • [SPR-7674] - Document how SpEL defaulting syntax differs from PropertyPlaceholder defaulting
  • [SPR-7695] - Add ETag version of WebRequest.checkNotModified()
  • [SPR-7703] - improve the process of finding actual methods for servlet and portlet handlers
  • [SPR-7723] - Error handling in scheduled tasks
  • [SPR-7732] - Make it easier to register custom Formatters
  • [SPR-7759] - Javadocs on CustomDateEditor misleading
  • [SPR-7848] - Improve readability and formatting of the Container Extension Points section of the reference manual
  • [SPR-7849] - Revise testing chapter based on internal review
  • [SPR-7909] - Sending large payloads with RestTemplate results in an OutOfMemoryError
  • [SPR-7912] - FormattingConversionServiceFactoryBean enhancements
  • [SPR-7929] - Ability to specify supported media types on FormHttpMessageConverter

Refactoring

  • [SPR-5102] - Decouple XML parsing from bean registration in BeanDefinitionParsers

Edit/Copy Release Notes

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