⭐ New Features
- Change in documentation [SPR-6768] #11434
- GenericConversionService calls initGenericConverters from constructor [SPR-6149] #10817
@ResponseStatus
annotation is ignored in an@Controller
redirect (RedirectView) [SPR-6144] #10812- Add ErrorHandler strategy for MessageListener containers [SPR-6142] #10810
- Allow for the sourceType TypeDescriptor to be provided along with the targetType TypeDescriptor when executing type conversions [SPR-6140] #10808
- Introduce uniform GenericConverter interface within the GenericConversionService implementation [SPR-6139] #10807
- Revise core.convert Converter SPI to not a throw checked Exception for the typed convert method [SPR-6138] #10806
- Be able to specify a default content type when no extension is used in ContentNegotiatingViewResolver [SPR-6130] #10798
- Upgrade the Spring JSP tag libraries to JSP 2.0 [SPR-6114] #10782
- Add listeners alias for
@TestExecutionListeners
' value attribute [SPR-6104] #10772 - MVC Annotation Inheritance [SPR-6093] #10761
@SessionAttributes
to be exposed in model even when not referenced in current handler method [SPR-6084] #10752- Provide support for javax.inject.Provider<> style injection for
@Value
and@Autowired
[SPR-6079] #10747 - Fill implicit model with session-backed data for portlets render phase [SPR-6071] #10739
- upgrade to CGLIB 2.2 [SPR-6061] #10729
- ClassUtils.forName() does not support multi-dimensional arrays [SPR-6057] #10726
- CronTriggerBean.afterPropertiesSet method throws a ParseException, should be an Exception, like in InitializingBean interface. [SPR-6048] #10717
- Ability to configure a XStream subclass on XStreamMarshaller [SPR-6037] #10706
- Validation: Initial support for dependency injection of a JSR-303 Validator [SPR-6035] #10704
- SystemPropertyUtils does not resolve placeholders recursively [SPR-6025] #10694
- EmbeddedDatabaseBuilder should load data.sql instead of test-data.sql by default [SPR-6020] #10689
- Support parsing without namespace awareness in BeanDefinitionParserDelegate and DefaultBeanDefinitionDocumentReader [SPR-6017] #10686
- Add Formatter support to DataBinder [SPR-6015] #10684
- Ability to associate a Formatter with a class by using the
@Formatted
annotated [SPR-6013] #10682 - UI Formatter SPI as an alternative to PropertyEditors [SPR-6012] #10681
- Improve CastorMarshaller support for loading class descriptors [SPR-6003] #10671
- notice.txt should contain a different email [SPR-5993] #10661
- InitDestroyAnnotationBeanPostProcessor should have static logger because it's Serializable [SPR-5962] #10630
- Commons Logging should not be "compile" scope in Maven POMs [SPR-5956] #10624
- Allow non-standard attributes in tags [SPR-5931] #10600
- Revise reference manual coverage for SimpleJdbcCall and the use of default parameter values [SPR-5929] #10598
- MBeanExporter.setExcludedBeans does not work properly on FactoryBeans [SPR-5926] #10595
- Add support to externalize values for "defaultValue" in method parameters. [SPR-5922] #10591
- Slight Improvement for Main JavaDoc in RedirectView [SPR-5910] #10579
- Allow MBeanServerFactoryBean to specify PlatformMBeanServer explicitly [SPR-5909] #10578
- HessianException is not converted to RemoteAccessConnection on HTTP 400 [SPR-5897] #10566
- AbstractBeanDefinitionParser.parseInternal() cannot return null [SPR-5872] #10542
- "primary" bean definitions in child context should take preference over those in parent context [SPR-5871] #10541
- ManagedOperation can not be used on getter [SPR-5859] #10528
- When using
@ManagedOperation
on a method, allow overriding methods in that subclass,to be exposed as an operation. [SPR-5813] #10483 - GenericApplicationListenerAdapter#getGenericEventType as a general purpose utility [SPR-5799] #10469
- Provide a non-
@Component-sterotype
annotation that tags a bean class to be scanned fro@Bean
annotations [SPR-5795] #10465 - PropertyOverrideConfigurer ignores some invalid keys but not others [SPR-5792] #10462
- PersistenceUnitReader#determinePersistenceUnitRootUrl returns wrong root url on JBoss 5, causing no detection of entity beans [SPR-5784] #10454
- Patch so that CronTriggerBean can take a start delay [SPR-5727] #10397
- PropertyEditor support for binding of open enums (Enum<?>) [SPR-5644] #10315
- Full support for JPA 2.0 [SPR-5586] #10257
- Full support for JSF 2.0 [SPR-5585] #10256
- Property placeholder defaulting in resources path [SPR-5508] #10180
- Modify RedirectView to allow 301 Permanent Redirects [SPR-5468] #10141
- Integrating validation into the
@MVC
request lifecycle [SPR-5417] #10091 - JpaTransactionManager does not support transaction timeouts [SPR-5195] #9868
- Spring component scanning does not work within JBoss EJB container [SPR-5120] #9793
@RequestMapping-based
controllers do not work for JDK proxies with annotated interfaces [SPR-5084] #9757- Spring JMX Annotation inheritance support is inconsistent (or at least difficult in some situations) [SPR-5039] #9714
- Add support for default values in property placeholder syntax [SPR-4785] #9462
- Support for JUnit 4.7
@Rule
(was: message checking with@ExpectedException
) [SPR-4643] #9320 - Allow
@ManagedXYZ
on interfaces [SPR-3635] #8316 - Support for declarative validation (Hibernate Validator, anticipating JSR 303) [SPR-69] #4803
🪲 Bug Fixes
- slf4j dependency in spring-orm should be optional [SPR-6185] #10853
@ResponseBody
with returned String results in unresolvable view ServletException [SPR-6148] #10816- Spring complains that it needs to be started with agent when it actually is started that way [SPR-6147] #10815
- ClassCastException in WebRequestDataBinder with MultipartRequest [SPR-6136] #10804
- Check for forwarded exception from action phase in the resource phase ? [SPR-6129] #10797
- org.springframework.core declares a mandatory dependency upon JBoss VFS in its Ivy file but it should be optional [SPR-6127] #10795
- Velocity springFormCheckbox results in checkboxes that are always checked [SPR-6120] #10788
- Spring 3.0.0.M4 appears to use a mix of both commons-logging and slf4j - one logging facade should be used consistently [SPR-6119] #10787
- Difference in EL processing between XML style and annotations style [SPR-6115] #10783
@Autowired
methods and inheritance [SPR-6112] #10780- Potential NullPointerException in DefaultBindingErrorProcessor [SPR-6111] #10779
- Spring JDBC POM should declare derby dependency is optional [SPR-6109] #10777
- Spring MVC dependency on standard taglibs should be optional [SPR-6099] #10767
- Wrong class name in the O/X Mapping exception hierarchy diagram [SPR-6095] #10763
@PostConstruct
order in inheritance hierarchy is wrong (or at least not intuitive) [SPR-6094] #10762- DocumentDefaultsDefinition typo [SPR-6089] #10757
- Component scanning feature produces I/O exception attempting to read directories it shouldn't [SPR-6086] #10754
- Differing types for getter/setter of CookieGenerator.cookieMaxAge causes configuring to fail. [SPR-6070] #10738
- BeanUtils.getPropertyDescriptor() returns property descriptor not in array returned by BeanUtils.getPropertyDescriptors [SPR-6063] #10731
- Portlet MVC detects the wrong controller on Event thrown [SPR-6062] #10730
- Incorrect JavaDoc for BeanUtils.instantiate(Class<?> clazz) [SPR-6056] #10725
- Cannot retrieve database metadata for Sybase [SPR-6053] #10722
- Regression: Spring JDBC can cause Map based arguments to appear as Object...args arguments [SPR-6046] #10715
@Timed
seems not to measure total time when used with@Repeat
[SPR-6011] #10680- GenericConversionService incomplete? (conversion from arrays/collections to strings) [SPR-6058] #10679
@ExceptionHandler
methods are still expected to return a ModelAndView, even when consuming a ServletResponse/OutputStream/Writer [SPR-6009] #10677@ResponseStatus
on@ExceptionHandler
method is ignored [SPR-6008] #10676- NPE when handling the empty namespace as a custom namespace [SPR-6004] #10672
- ConcurrentModificationException in SimpleJdbcCall [SPR-6001] #10669
@Configurable
BeanCurrentlyInCreationException thrown when not using DEBUG logging [SPR-5996] #10664- JUnit 4.5 support broken [SPR-5995] #10663
- Possible regression in snapshot build of spring 3.0 [SPR-5981] #10649
- FormTag not clearing attributes [SPR-5927] #10596
- Spring 3.0.0 M3 Build Fails on Fedora 11 [SPR-5875] #10540
- PathMatchingResourcePatternResolver.determineRootDir fails for jar on JBoss [SPR-5340] #10013
📔 Documentation
- The release archive contains an unecessary .zip file of the contents under the reference doc directories html and html-single [SPR-5994] #10662