Spring Introduce getContentAsString() in ContentCachingRequestWrapper

Add a method, getContentAsString, to ContentCachingRequestWrapper. Having a method directly on ContentCachingRequestWrap...

Spring Use readNBytes in ByteArrayHttpMessageConverter when contentLength is available

If the content length is available, pass it to readNBytes when reading the message body. When the content length is less...

Spring Increase StreamUtils.BUFFER_SIZE to 8192

This aligns the buffer size used in StreamUtils with the buffer sizedused throughout the JDK (see InputStream, BufferedI...

Spring Update StreamUtils drain and emptyInput to use JDK builtins

Update StreamUtils.drain to use InputStream.transferTo with a null OutputStream. This avoids allocating buffers for case...

Spring Optimize containsAll Method for Improved Performance

This pull request introduces an optimization to the containsAll method in collection handling. It is aim to improve the ...

Spring Improve containsValue Method for CharSequence Comparison

ProblemThe current implementation of the containsValue method checks if a provided value is an instance of String and th...

Spring Mismatch between documented and actual message code handling for ErrorResponse

There is a discrepancy between the documentation and the actual implementation regarding the message codes for ErrorResp...

Spring CVE BDSA-2024-0625

Hello team, Just wanted to reach out and report a potential CVE.Our daily BlackDuck SonarQube, OWASP dependency and Chec...

Spring @NotNull on JPA entity not respected in schema generation

Affects: spring-orm 6.1.0 / 6.1.1: During a spring boot update (3.1.5 to 3.2), I noticed that fields in entities that ar...

Spring Move CI to GitHub Actions

Backport of #32436 Comment From: snicollClosed by https://github.com/spring-projects/spring-framework/commit/17650e07413...

Spring Enhance getTransactionAttribute for Clarity and Compatibility

This PR refines the getTransactionAttribute method to enhance clarity, reduce redundancy, and improve Java version compa...

Spring Default strategy for ProblemDetail error codes wrongly document how "detail" is supported

Doc fix for #32415Removed 'details' attribute from documentation as it is not being used in implementation at all.Commen...

Spring Deploy Docs Action should only run on production branches

I've pushed a new branch on this repo for testing purposes and I could see that the action used to deploy the docs kicke...

Spring Use lambda expressions

used lambda expressions and method references where possible, reducing the need for extraneous code blocks.Comment From:...

Spring Use String#isEmpty where feasible

This PR replaces checks for empty strings ("".equals(...)) with the String#isEmpty method.This change not only improves ...

Spring The method getNativeBuffer() in DefaultDataBuffer returns misconfigured ByteBuffer

Affects: 6.0.11The class DefaultDataBuffer has method getNativeBuffer with follow implementation: public ByteBuffer g...

Spring Can't instantiate a @RequestBody request, using parameterized type of an interface as a controller

Affects: Spring version 5.3.25I'm attempting to implement this API schema to use an interface as a controller. My aim is...

Spring Allow UriTemplate to be built with an empty template

Fixes spring-cloud/spring-cloud-gateway#3201Comment From: pivotal-cla@bsgrd Please sign the Contributor License Agreemen...

Spring Revise use of Objects.requireNonNull()

Historically, we have rarely intentionally thrown a NullPointerException in the Spring Framework.Instead, we aim to thro...

Spring Breaking change introduced from 6.1.3 to 6.1.4 by rejecting @RequestMapping and @HttpExchange declarations on the same element.prevents elegant designs. #32328

Spring Framework 6.1.4 is breaking compatibility with 6.1.3 (and therefore also breaking going from Spring Boot 3.2.2 to...
上一页 下一页
.