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 dialyzerattempt 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 ofEq
when either side isnil
๐ handle string dates for embeds
remove timestamps in favor of simpler macro