Skip to content

Commit 3ddaf55

Browse files
christophstroblodrotbohm
authored andcommitted
GH-2279 - Upgrade to Spring Framework 7.0.0-M1
1 parent dd4d4aa commit 3ddaf55

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

Diff for: pom.xml

+6-6
Original file line numberDiff line numberDiff line change
@@ -76,18 +76,18 @@
7676
<logback.version>1.5.12</logback.version>
7777
<jacoco>0.8.12</jacoco>
7878
<jacoco.destfile>${project.build.directory}/jacoco.exec</jacoco.destfile>
79-
<jackson-bom.version>2.18.1</jackson-bom.version>
79+
<jackson-bom.version>2.18.2</jackson-bom.version>
8080
<java-module-name>spring.hateoas</java-module-name>
8181
<jsonpath.version>2.9.0</jsonpath.version>
8282
<junit.version>5.11.3</junit.version>
8383
<lombok.version>1.18.36</lombok.version>
84-
<reactor-bom.version>2024.0.0</reactor-bom.version>
84+
<reactor-bom.version>2024.0.2</reactor-bom.version>
8585
<slf4j.version>2.0.16</slf4j.version>
86-
<spring.version>6.2.0</spring.version>
86+
<spring.version>7.0.0-M1</spring.version>
8787
<spring-plugin.version>3.0.0</spring-plugin.version>
88-
<kotlin.version>1.9.25</kotlin.version>
89-
<kotlinx-coroutines.version>1.9.0</kotlinx-coroutines.version>
90-
<mockk.version>1.13.13</mockk.version>
88+
<kotlin.version>2.1.0</kotlin.version>
89+
<kotlinx-coroutines.version>1.10.1</kotlinx-coroutines.version>
90+
<mockk.version>1.13.14</mockk.version>
9191
</properties>
9292

9393
<profiles>

Diff for: src/test/java/org/springframework/hateoas/config/CustomHypermediaWebFluxTest.java

+3-2
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,11 @@
3737
import org.springframework.web.bind.annotation.GetMapping;
3838
import org.springframework.web.bind.annotation.RestController;
3939
import org.springframework.web.reactive.config.EnableWebFlux;
40+
import org.springframework.web.reactive.function.client.ExchangeStrategies;
4041

4142
/**
4243
* @author Greg Turnquist
44+
* @author Christoph Strobl
4345
*/
4446
class CustomHypermediaWebFluxTest {
4547

@@ -56,8 +58,7 @@ void setUp() {
5658

5759
this.testClient = WebTestClient.bindToApplicationContext(ctx).build() //
5860
.mutate() //
59-
.exchangeStrategies(
60-
it -> it.codecs(inner -> inner.defaultCodecs().configureDefaultCodec(webClientConfigurer.customizer))) //
61+
.exchangeStrategies(ExchangeStrategies.builder().codecs(it -> it.defaultCodecs().configureDefaultCodec(webClientConfigurer.customizer)).build())
6162
.build();
6263
}
6364

0 commit comments

Comments
 (0)