phoenix_sync icon indicating copy to clipboard operation
phoenix_sync copied to clipboard

Version 1.0 Milestone / Roadmap?

Open Nezteb opened this issue 1 year ago • 8 comments

Hello!

Congrats on the recent(ish) release of Electric 1.0: https://electric-sql.com/blog/2025/03/17/electricsql-1.0-released

I recently watched James' keynote at ElixirConf EU 2025: https://www.youtube.com/watch?v=4IWShnVuRCg

After watching, I became curious: what are the remaining goals for Phoenix.Sync version 1.0?

Nezteb avatar May 25 '25 18:05 Nezteb

Hey, we have a few immediate goals/ideas which include:

  • better testability
  • sync generators, including generating types and maybe boilerplate for front-end integration, eg with https://tanstack.com/db
  • Ash.Sync
  • optimistic state on the server side
  • efficient token streaming
  • proxy primitives
  • usage rules

I’m not sure if this gets close to a 1.0. But basically we want to:

  • iterate, make sure it’s a good experience to develop on and works well for common use cases, including AI apps
  • build examples, walkthroughs etc showing how to use it (with LiveView and with front-end frameworks and LLMs)

All other ideas very welcome :)

thruflo avatar May 25 '25 20:05 thruflo

I also watched the talk, really exciting, congrats!

Would be interested in an example that shows the client side integration with tanstack db for optimistic client-side changes. The current phoenix-liveview example seems to just stall when I try to make an offline change.

This seems to be the canonical example for a local-first Phoenix LiveView app: https://github.com/thisistonydang/liveview-svelte-pwa I assume it would be now possible to simplify this setup with phoenix_sync and tanstack?

fapdash avatar May 28 '25 12:05 fapdash

Yup, we’ll publish some example apps soon. You can see one in progress here https://github.com/thruflo/tasks

thruflo avatar May 28 '25 12:05 thruflo

README.md:

Using an Ecto.Query

Support for more complex queries using join, order_by, limit and preloaded association graphs is planned and will be added in Q2 2025.

is this still planned?

ryanwinchester avatar Sep 22 '25 13:09 ryanwinchester

README.md:

Using an Ecto.Query

Support for more complex queries using join, order_by, limit and preloaded association graphs is planned and will be added in Q2 2025.

is this still planned?

I'm also curious.

username14415 avatar Nov 25 '25 01:11 username14415

Is this project dead?

servaasvdc avatar Feb 17 '26 11:02 servaasvdc

it's not dead, but we're not coming back to it with more features in the medium term. we keep upgrading it for compatibility with latest server versions.

balegas avatar Feb 18 '26 12:02 balegas

Imo the lack of new features is no problem at all, the main problem is that the project isn't kept up to date, currently Phoenix Sync is compatible with version 1.1.9 (the current version of Electric is 1.4.10). If someone has Phoenix as the main backend in their project and wants to stay up to date, they have to either use the cloud or a separate self-hosted Electric, which makes no sense.

amigo70707 avatar Feb 26 '26 17:02 amigo70707