Ash Framework v1.52.0-rc.1 Release Notes
Release Date: 2022-04-19 // 29 days ago-
๐ Bug Fixes:
๐ Handle date type cast_input with nil value (#311)
๐ fix expression logic
โ remove IO.inspect
โฑ don't throw away timeout exit
timeouts @ the engine, not the parent process
โฑ timeout logic was timing out after the fact
uniqueify
list_refs
even furtherโ flaky test issue
Enforce unique action names (#308)
pass tenant option to requests properly
๐ Fix typespecs in Ash.Api (#307)
๐ fix resource relationship validation
๐ fix paths for load in flow
aggregate/calculation filter issues
๐ show error message in
NoSuchResource
import builtin preparations in global preparations block
๐ Improvements:
load
oncast_stored
in embedded typeโ add descriptions to mermaid charts/flow
โฑ tons of engine/timeout improvements
implement NaiveDateTime type (#312)
๐ Improve usability of finding by primary key (ID) (#294)
โ Add time type matching existing date type (#310)
flow -> mermaid chart
flow tenants
๐ fix nested map statements in flow
โ add dynamic allow list
uniqify list_references
0๏ธโฃ set default timeout to 30_000
โ remove coverage from CI
๐ fully deprecate the
resource
entityโ add eager validate identities
percolate
nil
values in operators in ash expresion language (like SQL)โ add
return_destroyed?
optionโ add
api
option to relationships0๏ธโฃ make default actions and primary actions far more explicit
๐ better error messages on unknown
๐ better loading behavior for managed relationships
โ add lazy? option for loading
๐ show value in atom error list
โ add
modify_query
callbackโ add overview
โ add build_entity!
๐ properly parse
{:_ref, path, name}
โ add
deselect
to buildvalidates attributes and relationships have unique names (#300)
validate no embeds in api
Previous changes from v1.52.0-rc.0
-
๐ Features:
โ add
Ash.Flow
๐ support recursive DSL entities.
manual relationships
๐ Bug Fixes:
โ add
load
option convenience for reads/code interface๐ handle errors in all action types where
changeset
wasn't resolvedalways sanitize requests before we spawn them
context name in loading manual relationships
get aggregate query from proper engine path
๐ handle error case in create
don't require attributes if an argument overrides them
๐ fix hanging issue when adding engine requests
don't require
writable?: false
attributespull aggregate values properly
๐ fix nested section configs having wrong path
don't rescue errors in resource_formatter
โ add
input/2
to resource modules๐ move back to more efficient formatter
๐ make the formatter safer, again
typo in changeset.ex (#291)
๐ Improvements:
properly attach authorization_filters to loaded items
โ add
ref
template helperโ add transaction steps to flow
unimport to avoid name collisions in nested DSLs
disable lexical tracker when expanding aliases
๐ temporarily move init to runtime for changes