Skip to content

Commit 318e0dd

Browse files
committed
Update to Spring Framework 7.0.0-SNAPSHOT
1 parent 4e3339d commit 318e0dd

File tree

26 files changed

+33
-27
lines changed

26 files changed

+33
-27
lines changed

buildSrc/src/test/resources/samples/showcase/samples/sgbcs-sample-war/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
id "org.gretty" version "4.1.0"
2+
id "org.gretty" version "4.1.6"
33
id "io.spring.convention.spring-sample-war"
44
}
55

gradle/libs.versions.toml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ jakarta-websocket = "2.1.1"
33
org-apache-derby = "10.16.1.1"
44
org-mockito = "5.16.1"
55
org-mongodb = "5.5.1"
6-
org-springframework-boot = "3.5.4-SNAPSHOT"
6+
org-springframework-boot = "4.0.0-SNAPSHOT"
77

88
[libraries]
99
ch-qos-logback-logback-core = { module = "ch.qos.logback:logback-core", version = "1.5.18" }
@@ -16,10 +16,11 @@ com-ibm-db2-jcc = "com.ibm.db2:jcc:12.1.2.0"
1616
com-microsoft-sqlserver-mssql-jdbc = "com.microsoft.sqlserver:mssql-jdbc:12.8.1.jre11"
1717
com-oracle-database-jdbc-ojdbc8 = "com.oracle.database.jdbc:ojdbc8:23.7.0.25.01"
1818
com-squareup-okhttp3-okhttp = "com.squareup.okhttp3:okhttp:3.14.9"
19+
commons-logging="commons-logging:commons-logging:1.3.5"
1920
com-zaxxer-HikariCP = "com.zaxxer:HikariCP:6.2.1"
2021
edu-umd-cs-mtc-multithreadedtc = "edu.umd.cs.mtc:multithreadedtc:1.01" # FIXME: Delete multithreadedtc or update?
2122
io-lettuce-lettuce-core = "io.lettuce:lettuce-core:6.5.5.RELEASE"
22-
io-projectreactor-reactor-bom = "io.projectreactor:reactor-bom:2024.0.7"
23+
io-projectreactor-reactor-bom = "io.projectreactor:reactor-bom:2025.0.0-M4"
2324
jakarta-servlet-jakarta-servlet-api = "jakarta.servlet:jakarta.servlet-api:6.0.0"
2425
jakarta-websocket-jakarta-websocket-api = { module = "jakarta.websocket:jakarta.websocket-api", version.ref = "jakarta-websocket" }
2526
jakarta-websocket-jakarta-websocket-client-api = { module = "jakarta.websocket:jakarta.websocket-client-api", version.ref = "jakarta-websocket" }
@@ -38,9 +39,9 @@ org-mongodb-mongodb-driver-core = { module = "org.mongodb:mongodb-driver-core",
3839
org-mongodb-mongodb-driver-reactivestreams = { module = "org.mongodb:mongodb-driver-reactivestreams", version.ref = "org-mongodb" }
3940
org-mongodb-mongodb-driver-sync = { module = "org.mongodb:mongodb-driver-sync", version.ref = "org-mongodb" }
4041
org-postgresql = "org.postgresql:postgresql:42.7.7"
41-
org-springframework-data-spring-data-bom = "org.springframework.data:spring-data-bom:2025.0.1"
42-
org-springframework-security-spring-security-bom = "org.springframework.security:spring-security-bom:6.5.1"
43-
org-springframework-spring-framework-bom = "org.springframework:spring-framework-bom:6.2.8"
42+
org-springframework-data-spring-data-bom = "org.springframework.data:spring-data-bom:2025.1.0-SNAPSHOT"
43+
org-springframework-security-spring-security-bom = "org.springframework.security:spring-security-bom:7.0.0-SNAPSHOT"
44+
org-springframework-spring-framework-bom = "org.springframework:spring-framework-bom:7.0.0-SNAPSHOT"
4445
org-testcontainers-testcontainers-bom = { module = "org.testcontainers:testcontainers-bom", version = "1.20.6" }
4546
io-spring-security-release-plugin = "io.spring.gradle:spring-security-release-plugin:1.0.6"
4647
org-springframework-boot-spring-boot-gradle-plugin = { module = "org.springframework.boot:spring-boot-gradle-plugin", version.ref = "org-springframework-boot" }

spring-session-core/spring-session-core.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description = "Spring Session"
55
dependencies {
66
management platform(project(":spring-session-dependencies"))
77

8-
api "org.springframework:spring-jcl"
8+
api libs.commons.logging
99

1010
optional "io.projectreactor:reactor-core"
1111
optional "jakarta.servlet:jakarta.servlet-api"

spring-session-samples/spring-session-sample-boot-findbyusername/spring-session-sample-boot-findbyusername.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ dependencies {
77
implementation "org.springframework.boot:spring-boot-starter-thymeleaf"
88
implementation "org.springframework.boot:spring-boot-starter-security"
99
implementation "org.springframework.boot:spring-boot-starter-data-redis"
10+
implementation "org.springframework.boot:spring-boot-session-data-redis"
1011
implementation "org.springframework.boot:spring-boot-devtools"
1112
implementation "nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect"
1213
implementation "org.webjars:bootstrap"

spring-session-samples/spring-session-sample-boot-findbyusername/src/main/java/sample/config/SecurityConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package sample.config;
1818

19-
import org.springframework.boot.autoconfigure.security.servlet.PathRequest;
19+
import org.springframework.boot.security.autoconfigure.servlet.PathRequest;
2020
import org.springframework.context.annotation.Bean;
2121
import org.springframework.context.annotation.Configuration;
2222
import org.springframework.security.config.annotation.web.builders.HttpSecurity;

spring-session-samples/spring-session-sample-boot-hazelcast/spring-session-sample-boot-hazelcast.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ dependencies {
77
implementation "org.springframework.boot:spring-boot-starter-actuator"
88
implementation "org.springframework.boot:spring-boot-starter-thymeleaf"
99
implementation "org.springframework.boot:spring-boot-starter-security"
10+
implementation "org.springframework.boot:spring-boot-session-hazelcast"
1011
implementation "com.hazelcast:hazelcast"
1112
implementation "nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect"
1213
implementation "org.webjars:bootstrap"

spring-session-samples/spring-session-sample-boot-hazelcast/src/integration-test/java/sample/BootTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
import sample.pages.LoginPage;
2525

2626
import org.springframework.beans.factory.annotation.Autowired;
27-
import org.springframework.boot.actuate.session.SessionsEndpoint;
27+
import org.springframework.boot.session.endpoint.SessionsEndpoint;
2828
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc;
2929
import org.springframework.boot.test.context.SpringBootTest;
3030
import org.springframework.boot.test.context.SpringBootTest.WebEnvironment;

spring-session-samples/spring-session-sample-boot-hazelcast/src/main/java/sample/Application.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,10 @@
1818

1919
import org.springframework.boot.SpringApplication;
2020
import org.springframework.boot.autoconfigure.SpringBootApplication;
21-
import org.springframework.cache.annotation.EnableCaching;
2221

2322
/**
2423
* @author Ellie Bahadori
2524
*/
26-
@EnableCaching
2725
@SpringBootApplication
2826
public class Application {
2927

spring-session-samples/spring-session-sample-boot-hazelcast/src/main/java/sample/config/SecurityConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package sample.config;
1818

19-
import org.springframework.boot.autoconfigure.security.servlet.PathRequest;
19+
import org.springframework.boot.security.autoconfigure.servlet.PathRequest;
2020
import org.springframework.context.annotation.Bean;
2121
import org.springframework.context.annotation.Configuration;
2222
import org.springframework.security.config.annotation.web.builders.HttpSecurity;

spring-session-samples/spring-session-sample-boot-jdbc-json-attribute/spring-session-sample-boot-jdbc-json-attribute.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ dependencies {
44
management platform(project(":spring-session-dependencies"))
55
implementation project(':spring-session-jdbc')
66
implementation "org.springframework.boot:spring-boot-starter-jdbc"
7+
implementation "org.springframework.boot:spring-boot-session-jdbc"
78
implementation "org.springframework.boot:spring-boot-starter-web"
89
implementation "org.springframework.boot:spring-boot-starter-thymeleaf"
910
implementation "org.springframework.boot:spring-boot-starter-security"

0 commit comments

Comments
 (0)