Commit 13a270f
Update scassandra to 5.6.0 (evolution-gaming#881)
5.6.0 deprecates `CassandraSession.state`/`State` in favour of
`stateSnapshot`/`StateSnapshot`, so migrate both implementors of
`CassandraSession`:
- `SessionHelper.Delegate` forwards `stateSnapshot`. It still has to
implement the deprecated `state`, which remains abstract upstream, so
that member is annotated with `@nowarn`.
- `CassandraSessionStub` implements `stateSnapshot` and derives `state`
from it.
`stateSnapshot` only has a `???` default in 5.6.0 (kept for binary
compatibility), so every implementor must override it.
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent bacfa6a commit 13a270f
3 files changed
Lines changed: 23 additions & 6 deletions
File tree
- persistence-cassandra-it-tests/src/test/scala/com/evolutiongaming/kafka/flow
- persistence-cassandra/src/main/scala/com/evolutiongaming/kafka/flow/cassandra
- project
Lines changed: 16 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
| |||
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
42 | 54 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
47 | 59 | | |
48 | 60 | | |
49 | 61 | | |
| |||
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| |||
73 | 75 | | |
74 | 76 | | |
75 | 77 | | |
76 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
77 | 82 | | |
78 | 83 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
0 commit comments