Release Notes - Spring Framework - Version 3.2.2 - HTML format

Sub-task

  • [SPR-9430] - Document abstract WebApplicationInitializers

Bug

  • [SPR-6859] - Scheduled tasks seem to run twice
  • [SPR-8625] - "depends-on" attribute not working for dynamic language bean
  • [SPR-8732] - Using array syntax generates invalid id using freemarker
  • [SPR-9143] - Check original beanClass in #isFactoryBean calls for @Bean methods as well
  • [SPR-9177] - BeanFactory does not return FactoryBeans by type when using type prediction and bean not yet created
  • [SPR-9438] - Mixed ordering of @Before and @After advices does not work
  • [SPR-9459] - CronSequenceGenerator fails to accurately compute earliest next date when using second expression
  • [SPR-10062] - Wrond result of AntPathMatcher.combine when using template variables with some regular expressions
  • [SPR-10095] - Ensure HttpMessageConverter classes don't close the response stream
  • [SPR-10097] - Date variables in forms are failing with joda conversion error
  • [SPR-10105] - Date conversion no longer uses ObjectToObjectConverter
  • [SPR-10210] - Consider bridge methods in ReflectiveMethodResolver
  • [SPR-10215] - Equal sign is lost in UriComponentsBuilder when query param has "=" but no value
  • [SPR-10218] - Spring 3.2.1 POM missing certain compile time dependencies
  • [SPR-10219] - Tomcat Session Replication not working with Spring 3.2
  • [SPR-10223] - Tiles3 (v. 3.0.1). Unable to use property useMutableTilesContainer without an error
  • [SPR-10224] - MockHttpSession.getAttributeNames() should return Enumeration<String> on a new collection
  • [SPR-10234] - @RequestMapping no longer agnostic about URL path parameters
  • [SPR-10236] - StringHttpMessageConverter closes output stream causes problem with FormHttpMessageConverter
  • [SPR-10243] - GenericConversionService.convert() throws IllegalArgumentException after updating to Spring 3.2.1
  • [SPR-10249] - Loading of java.lang.annotation.Target class requires access to java rt.jar
  • [SPR-10251] - Improve 3.2 migration guide regarding JUnit and Hamcrest
  • [SPR-10261] - Periodic NoClassDefFoundError: FatalBeanException caused by StackOverFlowException
  • [SPR-10265] - ConfigurationClassBeanDefinitionReader: Scoped-Proxy BeanDefinitions cannot be overriden by other configuration classes
  • [SPR-10266] - UriComponents still breaks UriTemplate serialization
  • [SPR-10269] - Assert.instanceOf exception message
  • [SPR-10270] - UriComponentsBuilder and ServletUriComponentsBuilder generate URLs with empty segments
  • [SPR-10274] - @Async executor ignored if declared on implementation when using JDK proxies
  • [SPR-10280] - MockMvcRequestBuilders.fileUpload() cannot merge if defaultRequest is set
  • [SPR-10289] - MockHttpSession and MockHttpServletRequest throw ConcurrentModificationException when removing attributes in a loop
  • [SPR-10290] - spring-webmvc 3.2.1 no longer has spring-web as compile-time dependency
  • [SPR-10293] - java.lang.IllegalStateException: getOutputStream() has already been called for this response
  • [SPR-10300] - HttpStatus valueOf fails for 302
  • [SPR-10304] - ArrayIndexOutOfBoundsException in AbstractAutowireCapableBeanFactory.predictBeanType
  • [SPR-10308] - Invalid format media-type in Content-Type request header results in IllegalArgumentException when no handler matched
  • [SPR-10309] - AspectJ advisor always positioned behind an "old school" advisor
  • [SPR-10311] - Reference documentation declares inner beans being prototypes, which is wrong
  • [SPR-10312] - LazyConnectionDataSourceProxy causes exception in WebSphere with an Oracle database
  • [SPR-10313] - Broken UriComponents.equals() method
  • [SPR-10326] - By-type matching caches in DefaultListableBeanFactory should be cleared on registerSingleton
  • [SPR-10328] - NPE while parsing an invalid indexer expression
  • [SPR-10329] - StringToEnumConverterFactory fails to convert enums using classes from values
  • [SPR-10334] - MockServletContext always returns application/octet-stream for unknown filetypes or ContentNegotiationManager is not correct
  • [SPR-10341] - doOptions method of FrameworkServlet uses servlet 3.0 only method
  • [SPR-10342] - Change in FrameworkServlet makes it impossible to use an alternative WebRequest instance for request processing
  • [SPR-10345] - SpringValidationAdapter cannot handle disabled default constraint violation
  • [SPR-10355] - mvc:resources location attribute doesn't guarantee order
  • [SPR-10360] - Scope of model attributes when including JSP
  • [SPR-10361] - SpringCompleteAutoloadTilesContainerFactory disables EL expressions
  • [SPR-10363] - UriComponentsBuilder.fromUriString(…) throws exception for empty fragment
  • [SPR-10365] - Thread-safety issue in RequestMappingHandlerAdapter causes NPE

Improvement

  • [SPR-3145] - Performance improvement on AbstractCachingViewResolver
  • [SPR-7619] - Make MappingJacksonJsonView fields protected to make extending it easier
  • [SPR-7748] - AnnotationSessionFactoryBean packagesToScan does not scan for annotations in package's package-info.java file
  • [SPR-8067] - @Scheduled's int attributes do not allow for placeholder values
  • [SPR-8470] - CastorMarshaller - marshaller and unmarshaller properties.
  • [SPR-8493] - @PreDestroy and @PostConstruct should be mentioned more prominently in container callback section
  • [SPR-8509] - Update for Spring OXM Reference, including changes introduced in CastorMarshaller
  • [SPR-8589] - Hibernate Annotation scanner missing package-info.java
  • [SPR-8871] - @Cachable condition should allow referencing return value
  • [SPR-8876] - SPEL: Error message is useless at helping developer resolve problem actual problem, EL1027E:(pos 4): Indexing into type ...
  • [SPR-9468] - Reference Documentation needs a chapter on using Gemfire as a CacheManager
  • [SPR-9617] - Transparent authentication fails when POSTing to Kerberos web service using the Simple HTTP Client
  • [SPR-9983] - o.s.web.util.JavaScriptUtils.javaScriptEscape insufficiently escapes some characters
  • [SPR-10180] - @RequestParam default value not set in certain cases
  • [SPR-10208] - Cleanup whitespace in *.aj and use AspectJ Annotations to prevent NoSuchMethodErrors
  • [SPR-10209] - Update documentation examples for scheduling to use SimpleTriggerFactoryBean instead of SimpleTriggerBean
  • [SPR-10226] - org.springframework.http.MediaType.parseMediaType should throw a better exception
  • [SPR-10229] - Limit auto grow collection size when using SpEL
  • [SPR-10230] - DefaultMessageListenerContainer should expose an API to determine whether the consumer successfully connected to a topic/queue
  • [SPR-10231] - Cannot create relative URIs with UriComponents
  • [SPR-10248] - No way to ask RealLiteral for original string (to parse into BigDecimal)
  • [SPR-10256] - NamedParameterJdbcTemplate: add methods to simplify usage when no parameter is needed
  • [SPR-10257] - NamedParameterJdbcTemplate and JdbcTemplate: consider deprecating queryFor* methods
  • [SPR-10260] - Resolve SQL errorCode from underlying SQLException
  • [SPR-10275] - Assertion message unclear when expected and actual have same string representation
  • [SPR-10277] - MockMvcBuilders' use of generics doesn't allow for chaining more than 2 calls
  • [SPR-10279] - StandaloneMockMvcBuilder interface is inconsistent
  • [SPR-10284] - Log4jWebConfigurer only uses System properties/environment
  • [SPR-10288] - In AnnotationSessionFactoryBean, be able to specify annotatedPackages and packagesToScan in one property
  • [SPR-10291] - Share locale independent properties among several ResourceBundleMessageSources
  • [SPR-10301] - Ability to set per-session entity interceptors removed from HibernateTransactionManager for Hibernate 4
  • [SPR-10302] - Introduce JdbcTestUtils.deleteFromTableWhere method
  • [SPR-10317] - Replace examples using deprecated SimpleJdbcTemplate
  • [SPR-10323] - DefaultJdoDialect does not support JDO 2.2 isolation levels
  • [SPR-10324] - The JARs spring-test-3.2.1 and spring-webmvc-3.2.1 contain two MANIFEST.MF
  • [SPR-10335] - Introduce a pre-resolved target type in RootBeanDefinition
  • [SPR-10339] - Clarify DefaultLobHandler's applicability to Oracle 10g/11g

New Feature

  • [SPR-5613] - Provide support for context hierarchies in the TestContext Framework
  • [SPR-9863] - Support WebApplicationContext hierarchies in the TestContext Framework

Refactoring

  • [SPR-9268] - TransactionAspectSupport should be aware of CallbackPreferringPlatformTransactionManager to better support WebSphere, more specifically REQUIRES_NEW and NOT_SUPPORTED propagation
  • [SPR-10318] - Remove unnecessary null check in SystemEnvironmentPropertySource

Task

  • [SPR-8089] - Clean up ignored JMX tests
  • [SPR-8458] - Make "timed" and other environment-sensitive tests optional
  • [SPR-9425] - Document @Bean 'lite' mode and annotated classes in the reference manual
  • [SPR-9577] - Documentation for section 4.8.1, BeanPostProcessors and AOP auto-proxying
  • [SPR-10074] - Re-enable tests that were disabled during the migration to Gradle
  • [SPR-10155] - Improve presentation of code blocks in Javadoc
  • [SPR-10244] - Example in URI Template Patterns with Regular Expressions
  • [SPR-10255] - Ensure compatibility with Hibernate 4.2
  • [SPR-10283] - Misspelled word in Spring Framework 3.2.x reference documentation
  • [SPR-10295] - Injection into @Configurable before aspect configured - documentation says it's a warning, but is debug
  • [SPR-10298] - Docs for @Configurable injection say only prototypes can be used as templates, but singletons work as well
  • [SPR-10299] - documentation of metadata-driver autoproxying - reference to EJBs requiring XML
  • [SPR-10357] - Document context hierarchy support in the TestContext framework

Edit/Copy Release Notes

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