Skip to content

Commit 5d1a4e6

Browse files
committed
Spring Boot 3.5 / Spring Data Elasticsearch 6.0 baseline
Signed-off-by: Andriy Redko <[email protected]> Signed-off-by: Andriy Redko <[email protected]>
1 parent 699aa7f commit 5d1a4e6

File tree

4 files changed

+14
-7
lines changed

4 files changed

+14
-7
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ The Spring Data OpenSearch follows the release model of the Spring Data Elastics
2424

2525
| Spring Data Release Train | Spring Data OpenSearch | Spring Data Elasticsearch | OpenSearch Server | OpenSearch Client | Spring Framework | Spring Boot |
2626
|---------------------------|------------------------|---------------------------|-------------------|-------------------|------------------|---------------|
27+
| 2025.1 | 2.0.x | 6.0.x | 1.x / 2.x | 2.10.x and above | 7.0.x | 3.5.x |
2728
| 2024.1 | 1.6.x | 5.4.x | 1.x / 2.x | 2.10.x and above | 6.2.x | 3.4.x |
2829
| 2024.0 | 1.5.x | 5.3.x | 1.x / 2.x | 2.10.x and above | 6.1.x | 3.2.x / 3.3.x |
2930
| 2023.1 (Vaughan) | 1.4.x | 5.2.x | 1.x / 2.x | 2.10.x and above | 6.1.x | 3.2.x |

settings.gradle.kts

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ dependencyResolutionManagement {
1414
}
1515

1616
create("springLibs") {
17-
version("spring", "6.2.2")
18-
version("spring-boot", "3.4.2")
19-
library("data-commons", "org.springframework.data:spring-data-commons:3.4.3")
20-
library("data-elasticsearch", "org.springframework.data:spring-data-elasticsearch:5.4.3")
17+
version("spring", "7.0.0-M2")
18+
version("spring-boot", "3.5.0-M2")
19+
library("data-commons", "org.springframework.data:spring-data-commons:4.0.0-M1")
20+
library("data-elasticsearch", "org.springframework.data:spring-data-elasticsearch:6.0.0-M1")
2121
library("web", "org.springframework", "spring-web").versionRef("spring")
2222
library("context", "org.springframework", "spring-context").versionRef("spring")
2323
library("tx", "org.springframework", "spring-tx").versionRef("spring")
@@ -72,12 +72,18 @@ pluginManagement {
7272
maven {
7373
url = uri("https://repo.spring.io/release/")
7474
}
75+
maven {
76+
url = uri("https://repo.spring.io/milestone/")
77+
}
7578
}
7679
}
7780

7881
dependencyResolutionManagement {
7982
repositories {
8083
mavenCentral()
84+
maven {
85+
url = uri("https://repo.spring.io/milestone/")
86+
}
8187
}
8288
}
8389

spring-data-opensearch/src/test/java/org/springframework/data/elasticsearch/core/query/ElasticsearchPartQueryIntegrationTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
import org.springframework.data.elasticsearch.repository.query.ElasticsearchQueryMethod;
3737
import org.springframework.data.projection.SpelAwareProxyProjectionFactory;
3838
import org.springframework.data.repository.core.support.DefaultRepositoryMetadata;
39-
import org.springframework.data.repository.query.QueryMethodEvaluationContextProvider;
39+
import org.springframework.data.repository.query.ValueExpressionDelegate;
4040
import org.springframework.lang.Nullable;
4141

4242
/**
@@ -648,7 +648,7 @@ private String getQueryString(String methodName, Class<?>[] parameterClasses, Ob
648648
ElasticsearchQueryMethod queryMethod = new ElasticsearchQueryMethod(method,
649649
new DefaultRepositoryMetadata(SampleRepository.class), new SpelAwareProxyProjectionFactory(),
650650
operations.getElasticsearchConverter().getMappingContext());
651-
ElasticsearchPartQuery partQuery = new ElasticsearchPartQuery(queryMethod, operations, QueryMethodEvaluationContextProvider.DEFAULT);
651+
ElasticsearchPartQuery partQuery = new ElasticsearchPartQuery(queryMethod, operations, ValueExpressionDelegate.create());
652652
Query query = partQuery.createQuery(parameters);
653653
return buildQueryString(query, Book.class);
654654
}

version.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version=1.6.2
1+
version=2.0.0

0 commit comments

Comments
 (0)