4.2 GA Release
·
22240 commits
to main
since this release
⭐ New Features
- ResourceBundleMessageSource performance optimization for getStringOrNull [SPR-13295] #17885
- Unable to override RequestMappingHandlerAdapter#createRequestMappingMethod [SPR-13293] #17883
- Introduce 'value' alias for 'attribute' in
@AliasFor
[SPR-13289] #17879 - RequestMapping: case insensitive path matching [SPR-13286] #17876
- Support
@Rollback
at the class level [SPR-13276] #17867 - DispatcherServlet: enable applyDefaultViewName to access multipart request parameters [SPR-13272] #17863
@MessageMapping
with placeholders [SPR-13271] #17862- InvocableHandlerMethod.getMethodArgumentValues() failure should lead to warn-level logging by default [SPR-13267] #17858
- Jackson
@JsonView
deserialization support for@MessageMapping
payloads [SPR-13265] #17856 - Add a new ResultMatcher for date formats in HTTP headers [SPR-13263] #17854
- RFC 3986: UriComponentsBuilder.fromUriString should support empty URIs [SPR-13257] #17848
- SockJS client does not use HttpHeaders passed by WebSocketConnectionManager for ServerInfo request [SPR-13254] #17845
- AsyncAnnotationBeanPostProcessor could find TaskExecutor by type/name [SPR-13248] #17839
- Make AbstractFallbackTransactionAttributeSource.computeTransactionAttribute(…) protected [SPR-13246] #17837
- Inconsistent JPA behavior using no transaction, propagation SUPPORTS and OpenEntityManager pattern [SPR-13243] #17834
- Transaction propagation SUPPORTS leads to “HHH000326: Cannot join transaction” warning [SPR-13242] #17833
- AllEncompassingFormHttpMessageConverter does not prefer Jackson2 over JAXB for XML marshalling [SPR-13240] #17831
- ScheduledAnnotationBeanPostProcessor should fall back to default TaskScheduler by name [SPR-13236] #17827
- Add MockMvc HtmlUnit Integration [SPR-13158] #17749
- Introduce
@Commit
alias for@Rollback
(false) [SPR-13279] #17372 - MockHttpServletResponse.setDateHeader does not perform date formatting [SPR-11912] #16531
🪲 Bug Fixes
- onCompletion SseEmitter callback never gets called [SPR-13292] #17882
- Regression in 4.2: NPE due to WebJarsResourceResolver [SPR-13291] #17881
- MockMvc.perform with the TestContext framework causes additional perform invocations to be "polluted" [SPR-13260] #17851
- Reset Pragma header in WebContentGenerator when caching resources [SPR-13252] #17843
- PropertyOrFieldReference throws ClassCastException [SPR-13247] #17838
- PathResourceResolver should not resolve "/" as a JAR resource [SPR-13241] #17832
- Regression: AnnotationScopeMetadataResolver fails to resolve VaadinView [SPR-13239] #17830
- Regression in ResponseStatusExceptionResolver: setStatus versus sendError [SPR-13226] #17817
📔 Documentation
- Doc: Autowiring in
@Configuration
classes with post-processor definitions [SPR-13285] #17875 - Document changes about HTTP cache header defaults in migration docs [SPR-13253] #17844
- AOP section referencs outdated resources [SPR-13238] #17829
- Document SpringClassRule and SpringMethodRule in the reference manual [SPR-13037] #17629
- Document AopTestUtils in the reference manual [SPR-13006] #17598
- Document support for generating unique names for embedded databases in the reference manual [SPR-12839] #17437