Version 1.0 Milestone / Roadmap?
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?
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 :)
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?
Yup, we’ll publish some example apps soon. You can see one in progress here https://github.com/thruflo/tasks
README.md:
Using an Ecto.Query
Support for more complex queries using
join,order_by,limitand preloaded association graphs is planned and will be added in Q2 2025.
is this still planned?
README.md:
Using an Ecto.Query
Support for more complex queries using
join,order_by,limitand preloaded association graphs is planned and will be added in Q2 2025.is this still planned?
I'm also curious.
Is this project dead?
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.
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.