Spring v5.2.0.M3 Release Notes
Release Date: 2019-06-13 // almost 5 years ago-
๐ฑ โญ๏ธ New Features
- ๐ฒ Log exception when closing InputStream in AbstractResource #23116
- โ Add MultiValueMap.addIfAbsent method #23111
- ๐ Allow Printers and Parsers to be registered individually to FormatterRegistry #23110
- ๐ Improve FreeMarker macro support in spring-webflux #23105
- Annotate Object#equals parameter with
@Nullable
#23093 - ๐ Allow separator configuration in PathPatternParser #23092
- Side effect from ProducesRequestCondition cache with multiple RequestMappingHandlerMapping beans #23091
- Refine Coroutines adapter registration activation #23087
- ๐ Rename TransactionSynchronizationManager#currentTransaction to something more meaningful #23086
- ๐ Support filename input in MultipartBodyBuilder #23083
- ๐ Support consistent ordering of string adapting properties #23081
- โ Add constants for application/cbor to MediaType #23042
- Avoid unnecessary call to get message type #23040
- ๐ Support for fine-grained by-type references in the bean definition model #23032
- RestTemplateXhrTransport fails for a StreamingHttpOutputMessage type request #23030
- Provide utility for writing Properties to a file in a repeatable manner #23018
- ๐ฆ Expose StompSubProtocolHandler and StompBrokerRelayMessageHandler metrics #23015
- ๐ง Ensure access to configured mime types in client-side RSocket requester or responder #23012
- ๐ Consistently support CompletionStage/CompletableFuture in ReactiveAdapterRegistry #23011
- โ Add FreeMarker macro support in spring-webflux #23002
- NamedParameterJdbcTemplate: treat Iterable parameters like Collections #22981
- โ Add JettyClientHttpConnector that accepts a HttpClient instance and a JettyResourceFactory #22977
- โ Add HttpHeaders.getOrEmpty(โฆ) to avoid clients having to default to an empy list #22949
- โฑ messageBrokerTaskScheduler incorrect type #22943
- ๐ Support composite metadata in RSocketRequester and MessageHandlerAcceptor #22798
- โ Add leading slash for path predicate if not present #22795
- Enable use of PathPattern for RSocket routing #22642
- Ensure indexer output is deterministic and repeatable #22383
๐ฑ ๐ Bug Fixes
- ๐ป Soft reference-based cache causes confusing exception message from AnnotationTypeMapping resolveAliasTarget #23010
๐ Documentation
- ๐ Error in javadoc for o.s.web.servlet.function.ServerResponse #23075
- ๐ Document
@Value
support in the reference manual #23052 - ๐ Fix typo #23046
๐ฑ โค๏ธ Contributors
๐ We'd like to thank all the contributors who worked on this release!