Spring Replace assertThat(x instanceof y).isTrue() with assertThat(x).isInstanceOf(y.class)

Search for : assertThat\((.+) instanceof (\w+)\)\.isTrue\(\)Replace with : assertThat($1).isInstanceOf($2.class)

Spring Replace assertThat(x.iterator().next()) with assertThat(x).element(0)

Search for : assertThat\((.+).iterator\(\).next\(\)\)Replace with : assertThat($1).element(0)Replace assertThat(x.get(...

Spring Document need for -parameters flag in exception messages

OverviewSince -parameters is required for certain use cases starting with Spring Framework 6.1, we should revise related...

Spring My spring

Comment From: pivotal-cla@learnaword Please sign the Contributor License Agreement!Click here to manually synchronize th...

Spring Introduce overloaded MockPart constructor that accepts the Content-Type

This PR introduces a constructor to MockPart, enabling the configuration of Content-Type. When testing controllers that ...

Spring Improve @RegisterReflectionForBinding for enums

The processing of types enabled by @RegisterReflectionForBinding currently does not handle enum types explicitly. This c...

Spring Use switch expression where feasible

Comment From: sbrannenThis has been merged into main in 490b5c77fc7bc504a03792f5690189c3429b4ff0 and revised in d71853f1...

Spring Proxification of @Scheduled tasks using @Aspect in WebFlux seems broken after 3.2.0

DescriptionSpring @Scheduled + @Aspect proxification issue after 3.2.0 upgrade seems broken.Indeed, if you:- are proxify...

Spring cannot resolve ServerRequest::pathVariable in nested RequestPredicate again

Affects: 6.1.1It seems to be regression #26163 on spring boot 3.2.0.I checked 6.1.0-M4 is work and 6.1.0-M5 is not work...

Spring Allow TransactionAwareDataSourceProxy to eagerly fetch the connection

Fix #29418 Adds an obtainTransactionalConnectionEagerly flag allowing to retrieve the underlying connection during getCo...

Spring Link to spring.factories used in the TestContext framework in the reference manual

This type of change would be useful (since it makes it easier for the reader to find this file), but... will it be hard ...

Spring Deprecate spring-context-indexer

The Spring Context indexer was introduced as a way to process component scanning of very large applications at build-tim...

Spring Ordered messages within a STOMP session

When sending UNSUBSCRIBE and then SUBSCRIBE to the same destination with minimal delay, sometimes first subscription is ...

Spring TransactionAwareDataSourceProxy.getConnection let connections leak after commit while DataSourceUtils.getConnection does not

Affects: 5.3.22I have a DataSource of type TransactionAwareDataSourceProxy . My PlatformTransactionManager is JpaTransac...

Spring @DisabledInAotMode does not work in native image

I have an application that runs ./mvnw clean verify -PnativeTest. It has been running fine on Spring Boot 3.1.5. Today I...

Spring @Async annotation does not recognize executor parameter for methods from parent class in Kotlin.

Affects: Spring Boot 2.5.2Kotlin code:The following code does not respect "asyncFlatFeedExecutor" param of the @Async an...

Spring Can a policy machine be added to Spring?

I have created a strategy machine and I would like to add it to the Spring toolset, is that okay?For example, we have an...

Spring spring scanning same type bean with different names returning ambiguous exception after upgrading to spring-boot 3.2

Hi,I recently upgraded my application to spring-boot 3.2 from spring-boot 3.0.x. After upgrading we are getting several ...

Spring Fix Javadoc for MockRestServiceServer.bindTo(RestClient.Builder)

I modified the comment for the bindTo(RestClient.Builder) method inside the MockRestServiceServer.Comment From: sbrannen...

Spring TraceId is missing in WebFlux controller handlers

We upgraded from Spring Boot 3.1.5 to 3.1.6 and trace id and span id are missing from the logs. However, it's not only a...
上一页 下一页
.