⭐ New Features
- MappingJacksonJsonView should add headers for no-caching [SPR-7031] #11693
- Support for HttpEntity<?> in
@MVC
[SPR-7018] #11680 - RestTemplate fails to convert properly for Generic Type Container with MappingJacksonHttpMessageConverter [SPR-7002] #11667
- Performance improvement for TransactionSynchronizationManager.getSynchronizations() [SPR-6999] #11664
- Provide mechanism for injecting a Serializable Provider or ObjectFactory via XML [SPR-6998] #11663
- Auto-growing of collections should be implemented for collection writing as well as reading [SPR-6984] #11649
- org.springframework.core.TypeDescriptor.getAnnotations() should return the method annotation when it wraps the return parameter of the Method [SPR-6979] #11644
- GenericTypeResolver does not properly handle array parameter types [SPR-6977] #11642
- Add debug log for HttpMessageConverter usage [SPR-6976] #11641
- JaxWsPortClientInterceptor gives errors with wsdl service names, not actual endpoints [SPR-6971] #11636
- Introduce HttpEntity [SPR-6969] #11634
- SpEL support for bean property access via square brackets [SPR-6968] #11633
- SimpleJdbcCall.returningResultSet() should accept RowMapper instead of ParameterizedRowMapper [SPR-6963] #11628
- RestTemplate should not encode fragments (#'s) [SPR-6946] #11611
@ResponseBody
with method that return void throws "Could not resolve view exception". [SPR-6935] #11600- Making org.springframework.scheduling.support.CronSequenceGenerator a public class [SPR-6920] #11585
- WebContentInterceptor restricting HTTP request methods by default [SPR-6919] #11584
- JibxMarshaller - provide access to jibx's writeDocType [SPR-6907] #11572
- HibernateJpaDialect does not allow ConnectionManager to eagerly release Connection for long-running Session [SPR-6895] #11560
- Improve documentation for JavaConfig's use of CGLIB for all
@Configuration
annotated classes [SPR-6885] #11551 - Portlet pom states dependency to spring-asm twice [SPR-6881] #11547
- form:error tag generates HTML id which contains [ and ], when bound to indexed property [SPR-6862] #11528
- HiddenHttpMethodFilter does not support multipart requests [SPR-6594] #11260
- Allow for using MultiValueMap in GET request for mapping multiple request params [SPR-6021] #10690
- Multipart/mixed requests using RestTemplate [SPR-5904] #10573
- RestTemplate - access to Request Headers [SPR-5866] #10535
- Improve error messaging when factory-method is not found [SPR-5475] #10148
- Add LocalSessionFactoryBean.validateDatabaseSchema() [SPR-3212] #7898
🪲 Bug Fixes
@DateTimeFormat
causes exception when used with Direct Field Access bean binding [SPR-7809] #12465- GenericConversionService ignores converters for arrays [SPR-7462] #12120
@Value
annotation in Validator triggers Exception when resolving. [SPR-7196] #11855@ResponseStatus
: The reason value is not used. [SPR-7060] #11720- [doc][spel] Documentation refers to TemplatedParserContext. Class is TemplateParserContext [SPR-7059] #11719
- Constructor injection is not working properly for collections unless the type of collection is specified [SPR-7058] #11718
- MVC 3 not forwarding "/" path in WebSphere 7 [SPR-7052] #11713
- InputStream never closed when using JasperReports 3.x [SPR-7048] #11709
- XML MarshallingView assumes non-null value for object to be marshalled. [SPR-7047] #11708
- ContextLoader requires servlet-api 2.5 [SPR-7044] #11706
- Spring Form Tags cause AccessControlException on Google App Engine [SPR-7042] #11704
- XmlBeans UnMarshalling - does not work with RequestBody annotation [SPR-7034] #11696
- Strange MANIFEST.MF and extra jar file inside org.springframework.web.struts jar artifact [SPR-7033] #11695
- NPE in RuntimeTestWalker [SPR-7032] #11694
- OptionWriter.renderFromMap fails when map key is null [SPR-7024] #11686
- Validation for nested properties is buggy [SPR-7019] #11681
- NPE when attempting to expose JaxWs Port Proxy via mbean exporter [SPR-7011] #11676
- Spring ignores
@Transaction
due to double proxying [SPR-7009] #11674 - AnnotationMethodHandlerAdapter gives priority to media type order over quality when selecting a method [SPR-7000] #11665
- Memory leak using TransactionDelegate and transaction.commit() [SPR-6991] #11656
- Spring web's tag library removes "[" and "]" in the path attribute for input (and possibly others). [SPR-6989] #11654
- Incorrect OSGi dependencies in 3.0.1 RELEASE [SPR-6985] #11650
- Dispatcher fails to invoke handler method when request method conflicts with request path [SPR-6978] #11643
- JPA 2.0 support not enabled for OpenJPA (and others?) [SPR-6975] #11640
- Proxy created for intercept-methods doesn't respect autowire-candidate attribute [SPR-6974] #11639
- AbstractHttpMessageConverter canWrite logic the wrong way round?? [SPR-6970] #11635
- Problem with Spring 3.0 when DispatcherServlet is decladed as a Spring bean itself [SPR-6964] #11629
- Exceptions thrown from an ActionRequest are not handled via
@ExceptionHandler
[SPR-6959] #11624 - when combining mvc:annotation-driven and DataBinder.initdirectfieldaccess, conversion problems cause ConversionFailedException instead of being handled by the DataBinder [SPR-6953] #11618
- Conversion creates collection with invalid elements for
@Controller
bind target [SPR-6950] #11615 - NullPointerException from DefaultListableBeanFactory caused by BeanConfigurerSupport [SPR-6947] #11612
- XStreamMarshaller + JsonHierarchicalStreamDriver + JsonWriter.DROP_ROOT_MODE produce empty output [SPR-6939] #11604
- AnnotationMethodHandlerAdapter should take into account request accept header ordering [SPR-6934] #11599
- NPE if BeanPostProcessor returns null [SPR-6926] #11591
- Spring 3.0.1 cannot concatenate Spring with SpEL expression in debug mode [SPR-6924] #11589
- SpEL resolving nested property as outer object [SPR-6923] #11588
@Value
does not work with the test context framework [SPR-6918] #11583- autowire byType uses parameter name info if compile with debug info [SPR-6917] #11582
- a bean with an id="conversionService" gives an Exception only in version 3.0.1 [SPR-6916] #11581
- WebApplicationObject.initServletContext() invoked twice [SPR-6914] #11579
- Long values are incorrectly stored on Oracle when using SimpleJdbcInsert, instead of SimpleJdbcTemplate [SPR-6912] #11577
- Combination of ControllerClassNameHandlerMapping and
@RequestMappings
with file extensions results in exception [SPR-6906] #11571 - org.springframework.context-3.0.1-RELEASE-A has a import error in its manifest [SPR-6905] #11570
- Business exceptions wrapped in HessianClientInterceptor with Hessian 4.0 [SPR-6899] #11564
- exotic MIME-Type leads to 500 Internal Server Error [SPR-6894] #11559
- TransactionalTestExecutionListener ignores
@Transactional
transaction manager qualifier [SPR-6892] #11557 - ClassPathResource-related FileNotFoundExceptions do not contain fully-qualified resource paths when using class literal convenience constructor [SPR-6888] #11554
- SQLErrorCodesFactory.dataSourceCache should be WeakHashMap [SPR-6887] #11553
- Provide ability to inherit
@DirtiesContext
specification in subclasses [SPR-6879] #11545 - An optional
@RequestParam
parameter of an@InitBinder
method is filled with garbarge instead of null, if the corresponding parameter is missing on the URL [SPR-6878] #11544 - AnnotationMethodHandlerAdapter.handleResponseBody prioritizes messageConverter over MediaType [SPR-6877] #11543
- RequestMethod does not appear to factor into
@RequestMapping
uniqueness in some cases [SPR-6876] #11542 - UriTemplate and restTemplate don't url encode the at-sign (@) [SPR-6874] #11540
- AbstractFactoryBean.getObjectType() signature is incorrect [SPR-6872] #11538
- Spring MVC regression: binding to indexed properties is broken [SPR-6871] #11537
- Invalid expression strings result in cryptic NullPointerException when parsed [SPR-6866] #11532
- Expression.getValue(..., Class) calls that invoke methods fail with a ArrayIndexOutOfBoundsException when method return value needs to be converted to the desired result type [SPR-6865] #11531
- TypeUtils.isAssignable() Returns Incorrect Value with Lower Bounds [SPR-6850] #11516
- MockStaticEntityMethods is not honored by AnnotationDrivenStaticEntityMockingControl pointcuts [SPR-6734] #11400
- org.springframework.web.servlet.tags.form.TagIdGenerator doesn't remove characters [] and double-quotes [SPR-5382] #10055