v5.2.0.M3
Pre-release
Pre-release
⭐ 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!