Backpex v0.8 release - Starting to support Ash
We’ve just released a new version of Backpex. We have asked for feedback many times in the past, and by far the most requested feature was Ash support.
So this release lays the foundation to support multiple data sources (e.g. Ash).
With v0.8 we introduce an adapter module that sits between the UI and the data. We tried to move all current Ecto specific code into an Ecto adapter and have already started to implement an Ash adapter.
We added a new helpdesk section to our demo application that lists tickets that are retrieved from an Ash resource.
There is still some Ecto code that we need to move to the Ecto adapter. Moreover, the adapter pattern / API in Backpex is in an early alpha stage and is likely to change in the future.
In addition, the ash adapter is limited to listing and displaying items. You can’t edit items, use filters or delete items. Therefore, we recommend that you do not use the Ash adapter in production code. If you use the Ecto adapter, everything works as before.
However, we wanted to release these WIP changes as early as possible to get feedback from you and let you experiment with them. What are you looking for besides editing, filtering and deleting?
This release has some breaking changes, so make sure to read the upgrade guide. The guide also contains more information about the adapter pattern.
Release Notes: Release 0.8.0 · naymspace/backpex · GitHub
Upgrade Guide: Upgrading to v0.8 — Backpex v0.8.0