Skip to content

Commit 4568a5c

Browse files
committed
bump electric 1.1, electric_client 0.7
1 parent 0b3508f commit 4568a5c

File tree

4 files changed

+17
-17
lines changed

4 files changed

+17
-17
lines changed

lib/phoenix/sync/sandbox/producer.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ if Phoenix.Sync.sandbox_enabled?() do
6666
end
6767

6868
def handle_cast({:truncate, relation}, state) do
69-
changes = [%TruncatedRelation{relation: relation}]
69+
changes = [%TruncatedRelation{relation: relation, log_offset: log_offset(state.txid, 0)}]
7070

7171
:ok =
7272
state.txid

mix.exs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,8 @@ defmodule Phoenix.Sync.MixProject do
4242
{:plug, "~> 1.0"},
4343
{:jason, "~> 1.0"},
4444
{:ecto_sql, "~> 3.10", optional: true},
45-
{:electric, "~> 1.0.24", optional: true},
46-
# 0.6.5 has the decoding and control message fix
47-
{:electric_client, "~> 0.6.5"}
45+
{:electric, "~> 1.1.2", optional: true},
46+
{:electric_client, "~> 0.7"}
4847
] ++ deps_for_env(Mix.env())
4948
end
5049

0 commit comments

Comments
 (0)