Skip to content

Commit 30ada17

Browse files
committed
dependencies: move up to Spring Boot/SDR 3.5.8
upgraded Redis OM Spring to Spring Boot 3.5.8. All tests pass successfully! Changes Made: 1. Spring Boot: 3.4.12 → 3.5.8 2. Spring Data Redis: 3.4.12 → 3.5.6 3. Jedis: 5.2.0 → 6.0.0 4. Test Fix: Updated MyHashQueriesImpl.java to use double quotes instead of single quotes for multi-word search queries (Jedis 6.0.0 query escaping change) Key Release Notes Summary: Spring Boot 3.5.x includes significant improvements: - Spring Data BOM 2025.0.0 (Spring Data Redis 3.5.6) - Jedis 6.0.0 (managed by Spring Boot) - Docker/Testcontainers fix for Docker 29.0.0 compatibility (3.5.8) - Java 25 support - Various bug fixes for SSL metrics, Undertow, and class loading - No breaking API changes affecting Redis OM Spring Breaking Change Addressed: - Jedis 6.0.0 changed how it handles search query quoting. Multi-word terms in RediSearch queries now require double quotes (") instead of single quotes (') for proper escaping.
1 parent fc2c247 commit 30ada17

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

gradle.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ version = 1.0.5
33
group = com.redis.om
44
description = Redis OM Spring provides powerful repository and custom object-mapping abstractions built on top of the powerful Spring Data Redis (SDR) framework.
55

6-
springBootVersion = 3.4.12
6+
springBootVersion = 3.5.8
77
springDependencyVersion = 1.1.7
88

99
testcontainersRedisVersion = 2.2.4
10-
sdrVersion = 3.4.12
11-
jedisVersion = 5.2.0
10+
sdrVersion = 3.5.6
11+
jedisVersion = 6.0.0
1212
cdi = 2.0-PFD
1313
autoServiceVersion = 1.1.1
1414
guavaVersion = 33.4.8-jre

tests/src/test/java/com/redis/om/spring/fixtures/hash/repository/MyHashQueriesImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public class MyHashQueriesImpl implements MyHashQueries {
2626
@Override
2727
public Optional<MyHash> findByTitle(String title) {
2828
SearchOperations<String> ops = modulesOperations.opsForSearch(MyHash.class.getName() + "Idx");
29-
SearchResult result = ops.search(new Query("@title:'" + title + "'"));
29+
SearchResult result = ops.search(new Query("@title:\"" + title + "\""));
3030
if (result.getTotalResults() > 0) {
3131
Document doc = result.getDocuments().get(0);
3232
return Optional.of(ObjectUtils.documentToEntity(doc, MyHash.class, converter));

0 commit comments

Comments
 (0)