Sync 0.2.4: Precise transfers pull only the records you picked
Sync 0.2.4 fixes Precise Transfer: a pull limited to a list of IDs or an ID range now brings only those records. Until now the sender ignored the filter, and the whole table was imported.
The sender now applies the filter itself (up to 1000 IDs, or a range on an integer key) and says so in its answer. If a sender on an older version ignores it, the receiving site imports nothing and says the source site ignored the filter.
Other fixes:
phoenix_kit_users_tokens, the table of sign-in sessions, is no longer listed or sent. The exclusion list only had it asphoenix_kit_user_tokens.- A table without a primary key, or missing on this site, is reported as an error before anything is asked of the sender, so it costs no download.
- A failed table no longer stops the run. Its row on the results screen gives the reason, and a table cut short by the sender’s per-request limit says it was only partly pulled.
Upgrading
Update the sending site as well, or filtered pulls from it import nothing.
Sync 0.2.4. Install or update: {:phoenix_kit_sync, "~> 0.2"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.