Skip to content

Commit 9edf4e5

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 358ea76 commit 9edf4e5

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
@@ -16,10 +16,10 @@ dependencyResolutionManagement {
1616
}
1717

1818
create("springLibs") {
19-
version("spring", "6.2.3")
20-
version("spring-boot", "3.4.3")
21-
library("data-commons", "org.springframework.data:spring-data-commons:3.4.4")
22-
library("data-elasticsearch", "org.springframework.data:spring-data-elasticsearch:5.4.4")
19+
version("spring", "7.0.0-M3")
20+
version("spring-boot", "3.5.0-M3")
21+
library("data-commons", "org.springframework.data:spring-data-commons:4.0.0-M1")
22+
library("data-elasticsearch", "org.springframework.data:spring-data-elasticsearch:6.0.0-M1")
2323
library("web", "org.springframework", "spring-web").versionRef("spring")
2424
library("context", "org.springframework", "spring-context").versionRef("spring")
2525
library("tx", "org.springframework", "spring-tx").versionRef("spring")
@@ -74,12 +74,18 @@ pluginManagement {
7474
maven {
7575
url = uri("https://repo.spring.io/release/")
7676
}
77+
maven {
78+
url = uri("https://repo.spring.io/milestone/")
79+
}
7780
}
7881
}
7982

8083
dependencyResolutionManagement {
8184
repositories {
8285
mavenCentral()
86+
maven {
87+
url = uri("https://repo.spring.io/milestone/")
88+
}
8389
}
8490
}
8591

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.3
1+
version=2.0.0

0 commit comments

Comments
 (0)