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!