hex ash 3.20.0
v3.20.0
on Hex

latest releases: 3.24.3, 3.24.2, 3.24.1...
one month ago

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)

Don't miss a new ash release

NewReleases is sending notifications on new releases.