Spring v5.2.4.RELEASE Release Notes
Release Date: 2020-02-25 // about 4 years ago-
๐ฑ โญ๏ธ New Features
- BlockHoundIntegration for spring-core #24581
- ๐ง Configure quiet period for shutting down Netty resources #24538
- ๐ง Consistent ROLE_INFRASTRUCTURE declarations for internal configuration classes #24509
- ๐ฒ Raise log level for exceptions from EntityManager close call #24501
- ๐ ExecutorConfigurationSupport to allow millisecond precision for await termination period #24496
- ๐ Improve assertion message in PersistenceExceptionTranslationInterceptor #24484
- BigDecimal in multi-value request body deserializes differently than single-value #24479
- If controller method has produces="/" in 5.2.3 response is 500 instead of 406 #24466
- ๐ SseEmitter cannot format text/plain if StringHttpMessageConverter is not configured #24465
- ๐ Support command line arguments with an empty value #24464
- AbstractJackson2HttpMessageConverter + Jackson 2.10: handle ValueInstantiationException properly #24455
- Compatibility with JDK 14 #24453
- Avoid opaque to hierarchical reset in UriComponentsBuilder when input is null #24444
- โ Add Informix to supported database products for procedure calls #24443
- ๐ Solve ReflectPermission issue in sandbox security policy model for repackaged CGLIB ReflectUtils #24420
- ๐ Allow non-standard HttpStatus in reactive ServerHttpResponse #24400
- ๐ Allow customizing default Smile codec via CodecConfigurer #24382
- Simplify getCache() method in CaffeineCacheManager #24376
- ๐ฆ Expose property for handling of Ping frames with Reactor Netty WebSocket client and server #24367
- ๐ Simplify getParsedSql() method in NamedParameterJdbcTemplate #24358
- Provide control over formatting of request in HttpWebHandlerAdapter #24352
- โ Add hook-point to exclude imported configuration classes #24175
- 0๏ธโฃ Jackson2Decoder fails to determine correct target type from default interface method with a generic type #23791
- Extra empty line a["\n"] messages from ActiveMQ STOMP broker #23713
- โ Add a way to combine more than one AnnotationIntrospector in Jackson2ObjectMapperBuilder instead of overriding it #22830
- โ Add unique number to WebFlux log prefix for Reactor Netty server #22039
๐ฑ ๐ Bug Fixes
- ๐คก NullPointerException in MockHttpServletRequestBuilder for URI string with no protocol #24556
- โ BeanPostProcessorChecker warning due to missing infrastructure role on ProxyTransactionManagementConfiguration #24508
- spring-aspects has a compile dependency on spring-orm #24491
- ๐ AbstractJackson2Decoder is not aware of jackson's non-blocking parser only supporting UTF-8 #24489
- ๐คก MockRestServiceServer reset does not clear failedRequests #24486
- ๐ Prevent unnecessary refresh for InjectionMetadata.EMPTY #24485
- โฌ๏ธ "Status and headers already sent" ISE exception from Reactor Netty on WebSocket upgrade #24475
- The new Encoder.encodeValue and Decoder.decode methods in spring 5.2 do not provide access to the Context #24441
- ๐ฒ Cycle in LogAdapter.Log4jLog initialization within log appender #24440
- Negative byte values not properly converted to unsigned int in URI encoding #24413
- ServerSentEventHttpMessageReader maps null when event has comment only. #24389
- ๐ Nested annotations no longer supported in ASM-based annotation processing #24375
- Explicit Content-Type Header in WebClient is overwritten by ResourceHttpMessageWriter #24366
- Avoid setting special Content-* response headers in TomcatHeadersAdapter #24361
- IncompatibleClassChangeError encountered on execution of compiled SPEL expressions #24357
- ๐ JSON decoding error parsing stream encoded with Jackson Smile #24198
๐ Documentation
- ๐ Improve documentation for
@Autowired
/@Value
in@Configuration
classes #24585 - ๐ Fix formatting in webflux-webclient.adoc #24578
- Clarify AbstractResourceBasedMessageSource.setCacheMillis vs java.util.ResourceBundle #24563
- ๐ Correct Ant-style Patterns example in documentation #24552
- ๐ Fix javadoc in DependencyDescriptor #24551
- ๐ Correct formatting of MessageSource example in documentation #24531
- โก๏ธ Update advice on RestTemplate #24503
- ๐ Upgrade to Spring Asciidoctor Extensions 0.4.0.RELEASE #24481
- ๐ Fix typo in StringUtils class #24471
- ๐ Polish documentation format #24460
- ๐ Fix Asciidoctor Warnings #24427
- Reconsider recommended connection pools #24405
- ๐ Improve default experience of data binding from HTML date and time input fields #24370
- ๐ Document supported characters for identifiers in SpEL expressions #24359
- Document that
@Validated
results in the use of a proxy and warn users about the side-effects #24338 - ๐ Deprecate use of path extensions in request mapping and content negotiation #24179
โฌ๏ธ ๐จ Dependency Upgrades
- โฌ๏ธ Upgrade to RSocket 1.0.0-RC6 #24482
- โฌ๏ธ Upgrade to ASM 7.3 #24438
- โฌ๏ธ Upgrade to Reactor Dysprosium SR5 #24355
- โฌ๏ธ Upgrade to JUnit Jupiter 5.6 #24299
๐ฑ โค๏ธ Contributors
๐ We'd like to thank all the contributors who worked on this release!