Ash Weekly: Issue #21
Just launched: Cinder - Powerful & intelligent Ash-native LiveView Data table component, why you should use Ash, a mix task for syncing usage rules with cursor, and a few QoL improvements.
Ash Weekly!
Welcome to Ash Weekly — your quick, informal digest of what’s new and notable in the world of Ash Framework. Got something cool? Drop it in the #showcase channel on Discord!
Shameless Plugs
Check out Ash Premium Support from Alembic.
Sponsor me if you like what I do. To all of my current sponsors: thank you ❤️
Cinder
A powerful, intelligent data table component for Ash Framework resources, in your Phoenix LiveView applications. This package was just released by our very own core team member Rebecca Le, and the reception has been stellar so far! It is a very common need, and I’m stoked to see that need addressed so well 🎉. Check it out on hex!
Why should you use Ash?
The authors of “Domain Modeling with Ash Framework” make a great case for the benefits of Ash. Check out their article and also their book!
June Office Hours
Catch us on July 23rd at 7PM EST for our next office hours. Get your questions ready! It looks like most of the team will be there too, so we’ll have a lot of perspectives and a good chat I’m sure.
Mix task for syncing usage rules with cursor
If you’re looking to use usage_rules with cursor, you may need to do some finagling to get things into the format that cursor expects. A community member wrote (had AI write) a mix task for this and shared it with us!
Releases
Ash: 3.5.24
Make usage rules clearer about reasons you may need to use `require Ash.Query`.
Ash AI: 0.2.3
Update usage rules with more examples of prompt actions
Support various additional prompt formats, like a list of messages, a function that produces a list of messages, etc. See the docs for more. By Abhishek Tripathi
Igniter: 0.6.9
Implement removal of an application from configuration. By Benjamin Milde
Add `required?` option to `Igniter.update_elixir_file/3`. By Benjamin Milde
AshPhoenix: 2.3.8-2.3.9
Add `AshPhoenix.Form.raw_errors/2` for extracting all errors *without* processing via the `AshPhoenix.FormData.ToError` protocol.
Document debugging forms in usage-rules.md, including usage of the new `raw_errors/2` function.