github spring-projects/spring-framework v4.1.0.RC2
4.1 RC2 Release

latest releases: v6.2.0-M3, v6.1.8, v6.0.21...
5 years ago

⭐ New Features

  • Improve Reference Documentation about Spring JMS (infrastructure) [SPR-12073] #16689
  • Make @Payload as ElementType.METHOD too [SPR-12071] #16687
  • Consider adding static notFound() builder method to ResponseEntity [SPR-12070] #16686
  • JmsMessagingExceptionTranslator package tangle [SPR-12064] #16680
  • Add more HttpHeaders constants for standard HTTP headers [SPR-12063] #16679
  • Improve exception message: Default SmartContextLoaders do not support locations and @Configuration classes simultaneously [SPR-12060] #16676
  • Shortcut method for building HEAD requests with MockMvcRequestBuilders [SPR-12055] #16671
  • Introduce @TestPropertySource support in the TestContext framework [SPR-12051] #16667
  • String to Enum Interface conversion not working [SPR-12050] #16666
  • Missing custom entity type filter in LocalSessionFactoryBean [SPR-12049] #16665
  • Improve comment in RuntimeTestWalker [SPR-12044] #16660
  • Document that MockHttpServletRequest does not comply with Servlet spec regarding Accept-Language header [SPR-12043] #16659
  • SpEL Compiler: Make OpModulus compilable [SPR-12041] #16657
  • JmsListener/ScheduledAnnotationBeanPostProcessor should use SmartInitializingSingleton instead of ContextRefreshedEvent [SPR-12039] #16655
  • JmsMessagingTemplate should not throw JmsException directly [SPR-12038] #16654
  • Update JmsMessagingTemplate to support MessageRequestReplyOperations [SPR-12037] #16653
  • Enhance ResourceHandlerRegistration API for resource transformers/resolvers [SPR-11982] #16598
  • Isolation support for JPA with Hibernate EntityManager 4 [SPR-11942] #16559
  • Provide initial support for Undertow 1.1 [SPR-11914] #16533
  • Support Jackson2 based XML serialization/deserialization [SPR-11785] #16407
  • @Configuration imported via @ImportResource is not processed [SPR-11723] #16345
  • Introduce mechanism for automatic discovery of default TestExecutionListeners [SPR-11466] #16092
  • @Configuration imported via ImportBeanDefinitionRegistrar is not processed as configuration [SPR-11430] #16056
  • Support for JSR-356 on WebLogic 12.1.3 [SPR-11293] #15917
  • BeanFactory lacks method for getting bean by type with specified constructor arguments [SPR-11235] #15860
  • Support Groovy scripts for bean definitions in the TestContext framework [SPR-11233] #15858
  • Compatibility with GlassFish 4.1 and Tyrus 1.8 (WebSocket 1.1) [SPR-11094] #15720
  • @ComponentScan does not allow for registering beans with lazy initialization [SPR-10459] #15092
  • Spel Implicit Map [SPR-9472] #14107
  • Hibernate4 version of SpringSessionContext.currentSession() does not create a session if TransactionSynchronizationManager does not contain one [SPR-9020] #13659
  • readOnly transaction doesn't work with JPA and Hibernate 4 [SPR-8959] #13599
  • Introduce mechanism for registering default TELs if a custom TEL is registered via @TestExecutionListeners [SPR-8854] #13496
  • UrlBasedViewResolver should implement setExposedContextBeanNames (not InternalResourceViewResolver) [SPR-8064] #12719
  • Passing lookup-method arguments to created bean constructor [SPR-7431] #12089
  • Spring REST @MVC: Add support for google Protocol Buffers resource representation format [SPR-5807] #10477
  • @LookupMethod annotation for use with component scanning [SPR-5192] #9865
  • Binding in Velocity templates using EL accessors ([, ]) for collections produces non xhtml strict compliant output [SPR-5172] #9845
  • HibernateJpaDialect does not support setting a specific isolation level per transaction [SPR-5012] #9687
  • How to implement Pessimistic Locking with JPA [SPR-3812] #8492
  • Implement synchronous request / response logic in JmsTemplate [SPR-3332] #8017

🪲 Bug Fixes

  • SpEL Compiler: NPE on Indexer compilation, when is used map accessor [SPR-12045] #16661
  • SpEL Compiler produces incompatible code with method generic returns [SPR-12040] #16656
  • SockJsClient doesn't propagate "subProtocols" and "extensions" to the handshake request [SPR-12030] #16646
  • NPE in DefaultListableBeanFactory#getPriority [SPR-12024] #16640
  • Restore method signature for ViewControllerRegistration.setViewName [SPR-12016] #16632
  • NPE in Elvis Expression (ExitTypeDescriptor null) [SPR-12014] #16630
  • ThymeleafViewResolver not used by Spring 4.1 resulting in "circular view path" error [SPR-12013] #16629
  • Spring 4.1 schema issues [SPR-12011] #16627

📔 Documentation

  • Update references to RFC 2616 [SPR-12067] #16683
  • Improve documentation for using "." vs "/" as separators with STOMP/WebSocket messaging [SPR-12007] #16623
  • Add documentation for Java SockJS client [SPR-12006] #16622
  • Enrich Spring reference documentation (Websocket Support section) with details on how to filter messages [SPR-11952] #16568
  • No messaging module overview in the 2.2. Modules section [SPR-11847] #16466
  • Document how to use custom @Cacheable annotation with AspectJ [SPR-11503] #16128
  • Create an epub version of the Spring framework reference [SPR-11167] #15793
  • Doc: Spring MVC and the most 'specific' @RequestMapping URL pattern [SPR-10576] #15205
  • Explicitly mention proper URL-escaping in RestTemplate, UriTemplate, and UriComponents API Javadoc [SPR-10497] #15130
  • Documentation does not explain how @Cacheable and @CacheEvict behave in a multi-threaded environment [SPR-9588] #14222
  • [doc] CSRF prevention support in spring form controller [SPR-6125] #10793

Don't miss a new spring-framework release

NewReleases is sending notifications on new releases.