Ash Framework v2.0.0-rc.10 Release Notes

Release Date: 2022-09-28 // over 1 year ago
  • ๐Ÿ› Bug Fixes:

    • bad pattern in filter.ex, fix dialyzer

    • attempt to evaluate filter checks for strict checks

    • only return errors when there actually are errors

    • return an error if data_layer_query/2 is given a query with errors

    • ๐Ÿ›  various fixes with complex policy statements

    • ensure fields selected in-line when loading calcs

    • ๐Ÿ– handle statically false conditions in filter logic

    • cast embedded datetimes properly

    • Ash.Calculation: fix return type for load/3 callback. (#384)

    • warn instead of raise on :replace usage

    • ๐Ÿ– handle var_args expression with literal args

    ๐Ÿ‘Œ Improvements:

    • catch more cases in preflight authorization checks

    • lazily set required loads/selects for calcs/sorts

    • reselect any necessary fields when loading calcs

    • set context when creating related filters allowing checks like filtering_on

    • simplify filter statements further

    • don't overconstraint filters on related data

    • any filter being statically true means :authorized

    • properly mark conditions w/ access_type

    • ๐Ÿ‘‰ use IsNil instead of Eq when either side is nil

    • ๐Ÿ– handle string dates for embeds

    • remove timestamps in favor of simpler macro