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:

    1. Adding custom type short names, like attribute :price, :money mapping to MyApp.Type.Money
    2. 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