Skip to content

Releases: ash-project/ash

v3.23.1

01 Apr 09:42

Choose a tag to compare

Bug Fixes:

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

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)

v3.19.2

03 Mar 13:13

Choose a tag to compare

Bug Fixes:

  • add Tuple.apply_constraints nil guard and propagate allow_nil? in Struct field derivation by @zachdaniel

  • preserve meta state in Ash.Type.Struct.apply_constraints (#2602) by @nallwhy (#2602)

v3.19.0

01 Mar 22:13

Choose a tag to compare

Features:

  • Allow dumping and casting instance_of union types (#2597) by @Munksgaard (#2597)

  • make enum label/description overridable (#2594) by Hannes Wüthrich (#2594)

  • add touch_update_defaults? option to bulk_create (#2590) by Michael Bärtschi (#2590)

Bug Fixes:

Improvements: