Ash Weekly!
This is a super quick, informal update about the goings on in and around Ash Framework each week. If you find something interesting and think it should make it on this newsletter, drop a message in the #ash-weekly channel in our Discord server.
Shameless Plugs
Check out Ash Premium Support from Alembic.
Sponsor me if you like what I do.
AlchemyConf Training
Join myself and Josh in Braga, Portugal for our training at AlchemyConf 🎉! Use code ZACHDANIEL to get 10% off your ticket to the conference. Can’t wait to see you all there 😎. Really looking forward to this conference.
https://membrz.club/alchemyconf/events/supercharge-your-elixir-apps-with-ash
A teaser
Since this is a pretty quiet week, I thought I’d leave you all with something fun! Maybe a bit more than a “teaser” though…
Releases
Ash: 3.4.68
Allow manual read actions to return a `full_count`, which is used to inform pagination about how many total records there are in the data source.
Validate action types in `Ash` functions more eagerly. This prevents a few cryptic errors that would arise when an update action was passed in to `Ash.destroy`, for example.
Reactor: 0.15.0
Added a `mix reactor.run`, which allows you to run a reactor from the command line!
Igniter 0.5.32-0.5.36
Added a `placement` option to `Igniter.Libs.Phoenix.add_scope/4` and `Igniter.Libs.Phoenix.append_to_scope/4`
Added `assert_has_task` test helper
Added `mix igniter.remove` for removing dependencies
AshPostgres 2.5.11
Added `--skip-unknown` flag to `mix ash_postgres.gen.resources`
Added a `--no-migrations` flag to `mix ash_postgres.gen.resources
AshOban 0.4.0
Added an `after_batch` callback for `RunObanTrigger`, bulk inserting all jobs required after bulk actions (using `insert_all` if you’re on Oban Pro)
Added `worker_module_name` and `scheduler_module_name` options, which solves for problems with renaming resources causing dangling jobs
Added `mix ash_oban.set_default_module_names`, a mix task for setting those module names automatically
Thank you! Always ahead Mr Zach is!
Video is not playing