Ash Framework v2.1.0 Release Notes
Release Date: 2022-10-19 // over 1 year ago-
๐ Features:
- Custom short names for types (#423)
๐ A compile env can be set to allow customizing the available type short names. This supports two things:
- Adding custom type short names, like
attribute :price, :money
mapping toMyApp.Type.Money
- Overriding the builtin type short names, like
attribute, :price, :string
mapping to a custom string type implementation (there is likely no reason to do this) Commit with unknown type in: feat: Custom short names for types (#423)
๐ See the docs for
Ash.Type
for more information- โ add
now()
to expressions
๐ Bug Fixes:
- 0๏ธโฃ set defaults before running changes
๐ Improvements:
- sort relationship in order of input when managing it
This helps with things like https://github.com/ash-project/ash_phoenix/issues/57 which involve rendering the relationship value after editing it. Retaining the order allows direct reuse without any gymnastics