Commit 2471c08
committed
feat!: ROMS v2.0.0 - migration to Spring Boot 4.0.0 and Spring Data Redis 4.0.0 (#675)
BREAKING CHANGE: This release upgrades to Spring Boot 4.0.0 and Spring Data Redis 4.0.0,
introducing breaking changes due to Spring's modularization and API changes.
- Fix query parameter handling to skip special parameters (Pageable, Sort)
in RedisEnhancedQuery.prepareQuery() to prevent conversion exceptions
- Update array serialization in MappingRedisOMConverter to iterate directly
through arrays instead of converting to lists, resolving PersistentEntity
lookup failures for array types
- Add validation to prevent persisting collections containing null elements,
maintaining data integrity constraints
- Adapt to new package structure where test autoconfiguration classes moved
to module-specific packages (org.springframework.boot.<module>.*)
- Update RedisAutoConfiguration references to DataRedisAutoConfiguration in
new org.springframework.boot.data.redis.autoconfigure package
- Update deprecated API usage for Spring Data 4.0 compatibility
- Update AutoConfigureMockMvc import from
org.springframework.boot.test.autoconfigure.web.servlet to
org.springframework.boot.webmvc.test.autoconfigure
- Update TestRestTemplate import from
org.springframework.boot.test.web.client to
org.springframework.boot.resttestclient
- Update RedisAutoConfiguration to DataRedisAutoConfiguration across
test configuration classes
- Add spring-boot-starter-webmvc-test for MockMvc support (roms-documents)
- Add spring-boot-resttestclient for TestRestTemplate support
(roms-vectorizers, roms-modeling)
- Add spring-boot-data-redis for DataRedisAutoConfiguration access
(roms-vectorizers, roms-modeling, roms-multi-acl-account)
- Fix testcontainers:junit-jupiter version specification (1.20.4) across
all demo modules (roms-documents, roms-hashes, roms-permits, roms-vss,
roms-vss-movies, roms-amr-entraid)
- Exclude DataRedisRepositoriesAutoConfiguration in roms-multi-acl-account
to prevent Spring Data Redis repositories from overriding Redis OM Spring
repositories in multi-ACL scenarios
- Spring Boot: 3.x → 4.0.0
- Spring Data Redis: 3.x → 4.0.0
- Jedis: upgraded to 7.0.0 for compatibility
- All 1479+ tests passing
- All 10 demo modules building successfully
- Full compatibility with Spring Boot 4.0.0 verified1 parent 669f917 commit 2471c08
File tree
42 files changed
+484
-116
lines changed- demos
- roms-amr-entraid
- roms-documents
- src/test/java/com/redis/om/documents/controllers
- roms-hashes
- roms-modeling
- src/test/java/com/foogaro/modeling
- config
- controller
- roms-multi-acl-account
- src/main/java/com/redis/romsmultiaclaccount
- config
- roms-multitenant
- src/test/java/com/redis/om/multitenant
- roms-permits
- roms-vectorizers
- src/test/java/com/foogaro/vectorizers
- config
- controller
- roms-vss-movies
- roms-vss
- docs/content/modules/ROOT/pages
- redis-om-spring/src/main/java/com/redis/om/spring
- convert
- id
- indexing
- mapping
- repository/query
- serialization/gson
- tests
- src/test/java/com/redis/om/spring
- id
- indexing
- search/stream
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
42 files changed
+484
-116
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
112 | 112 | | |
113 | | - | |
114 | | - | |
115 | | - | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| |||
492 | 492 | | |
493 | 493 | | |
494 | 494 | | |
495 | | - | |
| 495 | + | |
496 | 496 | | |
497 | 497 | | |
498 | 498 | | |
| |||
505 | 505 | | |
506 | 506 | | |
507 | 507 | | |
508 | | - | |
| 508 | + | |
509 | 509 | | |
510 | 510 | | |
511 | 511 | | |
| |||
515 | 515 | | |
516 | 516 | | |
517 | 517 | | |
518 | | - | |
| 518 | + | |
519 | 519 | | |
520 | 520 | | |
521 | 521 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
55 | 57 | | |
56 | 58 | | |
57 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
50 | 51 | | |
51 | | - | |
| 52 | + | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
50 | 52 | | |
51 | 53 | | |
52 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
56 | 58 | | |
57 | | - | |
| 59 | + | |
58 | 60 | | |
59 | 61 | | |
60 | 62 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
34 | 38 | | |
35 | 39 | | |
36 | 40 | | |
| |||
44 | 48 | | |
45 | 49 | | |
46 | 50 | | |
47 | | - | |
| 51 | + | |
48 | 52 | | |
49 | 53 | | |
50 | 54 | | |
| |||
0 commit comments