Skip to content

Releases: ash-project/ash

v3.24.3

17 Apr 13:06

Choose a tag to compare

Bug Fixes:

  • fixes for embedded resources within unions (#2676) by Jesse Williams (#2676)

  • Policy Authorizer strict checking forbid_unless (#2678) by Mike Buhot (#2678)

  • compile error (#2675) by Jesse Williams (#2675)

  • do not ignore missing context on Ash.PlugHelpers.update_context/2 (#2674) by Maciej Malecki (#2674)

Improvements:

  • add generate_rest? option to seed_generator (#2591) by robesris (#2591)

v3.24.1

12 Apr 15:48

Choose a tag to compare

Bug Fixes:

  • ensure policie son intermediate resources are respected in through by @zachdaniel

  • don't apply relationship filters to the source query on through by @zachdaniel

v3.23.1

09 Apr 21:59

Choose a tag to compare

Bug Fixes:

  • ensure is/_not/_distinct_from cast parameters to the same type by @zachdaniel

Improvements:

v3.23.0

31 Mar 22:43

Choose a tag to compare

Features:

Bug Fixes:

  • ensure that update timestamps are properly updated in atomic updates by @zachdaniel

  • ensure get_data raises on data not available by @zachdaniel

Improvements:

v3.22.1

29 Mar 20:08

Choose a tag to compare

Bug Fixes:

  • just to be extra-safe also prevent when loading modules by @zachdaniel

v3.22.0

29 Mar 18:50

Choose a tag to compare

Features:

Bug Fixes:

  • remove Module.concat from Ash.Type.Module.cast_input/2 by @zachdaniel

  • handle nil return from generic actions with load option and enforce allow_nil? (#2649) by @barnabasJ (#2649)

Improvements:

  • validate many callback returns (#2645) by celeste-wahlquist (#2645)

v3.21.3

25 Mar 04:26

Choose a tag to compare

Bug Fixes:

  • make bulk actions opt-in for managed relationships by @zachdaniel

Improvements:

  • add paginate_by_default? option to read actions (#2648) by Juan Martin (#2648)

v3.21.1

23 Mar 16:19

Choose a tag to compare

Bug Fixes:

  • ensure that Ash.calculate works with non-field calculations by @zachdaniel

v3.21.0

23 Mar 15:38

Choose a tag to compare

Features:

Bug Fixes:

  • show value in invalid errors for Ash.TypedStruct by @zachdaniel

Improvements:

v3.20.0

20 Mar 23:08

Choose a tag to compare

Features:

Bug Fixes:

  • ensure __metadata__.tenant is present in bulk action after hooks by @zachdaniel

  • preserve input order in bulk manage_relationship (#2639) by @nallwhy (#2639)

  • support before_action? validations in bulk_create and bulk_update (#2634) by @nallwhy (#2634)

  • return {:not_atomic, ...} for before_action? validations in run_atomic_validation by @nallwhy (#2634)

  • support atomic-only changes in bulk_create (#2635) by @barnabasJ (#2635)

  • honor scope option in Ash.can/can? (#2631) by @emadshaaban92 (#2631)

  • bulk create/update/destroy global validation ordering (#2628) by @nallwhy (#2628)

  • Preserve explicit select when merging duplicate relationship loads (#2626) by @mikaelweiss (#2626)

  • use inidividually overridden callbacks within array callbacks (#2610) by Jesse Williams (#2610)

  • add [] as fallback for modules = Application.spec(app, :modules) (#2620) by Torkild Gundersen Kjevik (#2620)

  • Add tenant for notification load (#2617) by Torkild Gundersen Kjevik (#2617)

  • propagate errors from cascade_update instead of silently swallowing them by @zachdaniel

  • soft destroy with return_notifications? loses notifications (#2616) by @nallwhy (#2616)

  • don't nest %Ash.Filter expressions when combining join filters by @zachdaniel

  • remove unreachable is_list guard in soft destroy path (#2613) by djgoku (#2613)

  • ensure stacked aggregates honor authorization rules while reading by @zachdaniel

  • use Enum.member? instead of in-macro to mitigate 1.20-rc.2 compiler (#2612) by Torkild Gundersen Kjevik (#2612)

Improvements:

  • Allow marking actions as internal to prevent exposing them via APIs #1271 (#2629) by Dgoz101 (#2629)

  • expand gettext i18n support to types, changes, and changeset (#2637) by @nallwhy (#2637)

  • add filename and content_type functions to Ash.Type.File by @zachdaniel

  • use bulk actions for managed relationship actions by @zachdaniel

  • more informative errors on ash.setup failures (#2595) by celeste-wahlquist (#2595)

  • add generate/1 and bingenerate/1 accepting a DateTime to Ash.UUIDv7 (#2609) by @nallwhy (#2609)