Repository navigation
v7.1.0-RC1
Pre-release
Pre-release
⚠️ Attention Required
- Remove APIs marked as deprecated for removal in 7.1 #37455
- Consistently treat
0as no timeout inWebTestClient#37454 - Consistently treat
0as no timeout in MockMvc #37453 - Consistently treat
0as no timeout inRSocketServiceProxyFactory#37451 - Consistently treat
0as no timeout in HTTP client support #37425 - Update default settings in WebFlux multipart handling to align with Spring Boot and Tomcat #36928
- Apply proxy with system properties to the default client in ReactorClientHttpConnector #36654
- ProblemDetail instance field set from the current URL path, does not respect RFC #35969
⭐ New Features
- Support JsonUnit as an alternative to JSONassert for JSON comparison in test APIs #37490
- Add RetryState-aware overloads for
onRetrySuccessandonRetryFailure#37465 - Consistently treat
0as no timeout inAsyncServerResponse#37452 - Destroy all filters in
CompositeFilterdespite failures #37445 - Refine
DataAccessUtilsto improve null-safety #37438 - Omit zero
timeoutinDefaultRetryPolicy.toString()#37437 - Avoid splitting surrogate pairs in
StringUtils.truncate()#37435 - Support positive hexadecimal values in
NumberUtils#37434 - Support compilation of String concatenation with non-String operands in SpEL #37433
- Fix nullability in
LinkedCaseInsensitiveMap#37432 - Align parsing of
jdk.httpclient.allowRestrictedHeadersinJdkClientHttpRequestwith the JDK #37422 - Align restricted header handling in reactive
JdkClientHttpRequestwith non-reactiveJdkClientHttpRequest#37417 - Configure problem details rendering through WebMvcConfigurer #37416
- Fix missing
IDENTITY_FINISHcharacteristic inMergedAnnotationCollectors#37415 - Reject
@AliasForvalueandattributewhen both have length #37413 - Give ErrorResponse.Interceptor access to the current request #37410
- Honor
Map.equals()andMap.hashCode()contracts inCompositeMap#37401 - Support rendering problem details as views in
@ExceptionHandlermethods #37400 - Render exceptions not handled by ExceptionHandler methods as problem details #37398
- Further improve
AnnotationAttributes.toString()#37396 - Improve primitive array handling in
AnnotationAttributes.toString()#37395 - Exclude static methods from override check in
AnnotatedMethod#37390 - Include root cause when
MySQLMaxValueIncrementerfails to commit #37389 - Record MVC exceptions leading to HTTP 5xx as errors in observalibity stacks #37384
- Revise
getBeanNamesForTypecaching to coverResolvableType-based lookups as well #37382 - Support for Hibernate 8.0's BeanContainer SPI revision #37381
- Improve pre-bound JDBC Connection exception message #37356
- Reject Kotlin constructor default values in enhanced
@Configurationclasses #37350 - Rewrite CssLinkResourceTransformer for a single pass memory efficient parsing #37348
- Deprecate multi-batch
batchUpdatevariant inJdbcTemplate#37345 - Introduce entry-based DSL for
JdbcClientbatch updates #37341 - Honor
Collection.remove()contract inCompositeCollection#37332 - Exclude static methods from override check in
AnnotationsScanner#37319 - Support for JPA 4.0 package and module descriptor discovery #37316
- Set first batch arg once while executing batch with generated keys #37308
- Improve JdbcClient to align BatchSpec with StatementSpec #37307
- Include enum array attributes in
TypeNotPresentExceptionprobing #37153 - Misleading port number defaults when parsing "Forwarded for" and "Forwarded by" header information #37114
- Remove MatchableHandlerMapping #37093
- Optimize get for all values in ServletRequestHeadersAdapter and ServletResponseHeadersAdapter #37080
- RestClient.Builder.configureMessageConverters disables the implicit registration of default converters. #36747
- Avoid update to request "Content-Type" for characterEncoding in ServletServerHttpRequest #36426
- Remove code to set the ServletResponse contentType and characterEncoding properties from the "Content-Type" header #36352
🐞 Bug Fixes
- Avoid
intoverflow for largeDurationtimeouts inClientHttpRequestFactoryimplementations #37427 - Annotations are inherited from package-private method in superclass in different package #37408
- MVC MultipartParser requires Publisher on the classpath #37353
- Fix container detection in
RepeatableContainers.standardRepeatables()#37326
🔨 Dependency Upgrades
❤️ Contributors
Thank you to all the contributors who worked on this release:
@EsmaeilChitgar, @cookie-meringue, @guanchengang, @itsmevichu, @junhyeong9812, @lejuho, @ngocnhan-tran1996, @quaff, @rene-schakmann, and @xoruddl