# EctoSync - sync changes from a cache

**URL:** <https://forum.elixirforum.com/t/ectosync-sync-changes-from-a-cache/71952>\
**Category:** Announcing\
**Tags:** ecto, library, ecto\_watch, ecto\_sync\
**Created:** [August 4, 2025, 12:07pm UTC](https://forum.elixirforum.com/t/ectosync-sync-changes-from-a-cache/71952 "2025-08-04T12:07:04Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Zurga](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/zurga/32/38832_2.png) [@Zurga](https://forum.elixirforum.com/u/Zurga)\
**Post date:** [October 8, 2025, 2:49pm UTC](https://forum.elixirforum.com/t/ectosync-sync-changes-from-a-cache/71952/3 "2025-10-08T14:49:23Z")

</div>

Version 0.2.0 has been released. It brings some changes and supports new features.

# Features:

- The algorithm updating the in-memory rows has been made more efficient by using a graph of the Schemas in the watchers and determining possible paths at application boot time.
- `:through` is fully supported.
- `:where` is supported on `has_one` and `has_many`.

# Changes:

- The messages sent by EctoSync are now a tuple of the following format: `{EctoSync, {schema, event, identifiers, ref}}`. This allows them to be distinguished from other events that are in the form of tuples.
- The trigger names in Postgres are shortened automatically to make sure that the character limit is not surpassed.

# Future work:

- A library to provide utility functions to work with Phoenix LiveView
- Batching system for events.

---

_[View the full topic](https://forum.elixirforum.com/t/ectosync-sync-changes-from-a-cache/71952)._
