Tags: ash-project/ash
Tags
release v3.4.60 [v3.4.60](v3.4.59...v3.4.60) (2025-01-27) Bug Fixes: * traverse custom expressions when listing refs
release v3.4.59 [v3.4.59](v3.4.58...v3.4.59) (2025-01-27) Bug Fixes: * better placed validations of aggregate support for data layers
release v3.4.57 [v3.4.57](v3.4.56...v3.4.57) (2025-01-23) Bug Fixes: * ensure compare validation doesn't put functions in exceptions * resolve functions in errors from compare validation
* [`Ash`] don't use `JSON` due to library compatibility issues * [`Ash.Changeset`] matching in managed_relationships handle_update (#1719) * [`Ash.Query.Calculation`] properly load doubly nested calculation's explicit dependencies * [`Ash.Query.Calculation`] handle related non-expr calculations referenced from expr calcs * [`Ash.Query.Calculation`] simplify and fix path generation for nested relationship path deps * [`Ash`] don't require multitenancy attribute in `get` (#1716) * [`Ash.Changeset`] make atomics work even if expr err is not supported (#1718) * [`Ash.Query`] support error shorthand for `Ash.Query.add_error/2-3` * [`Ash.Generator`] add `uses` option for `changeset_generator` * [`Ash.Generator`] add `uses` option for `seed_generator` * [`Ash.Changeset`] Use clearer error message for match validation atomic errors (#1721) * [`Ash.Type`] Add autogenerate_enabled? to Ash.Type for Ecto compatability (#1715) * [`Ash.Policy.Authorizer`] warn when domain policies would be ignored by resources * [`Ash.Domain`] allow policy authorizer to be in authorizers key in domains
release 3.4.56 [3.4.56](v3.4.55...3.4.56) (2025-01-21) Features: * make atomics work even if expr err is not supported (#1718) Bug Fixes: * properly load doubly nested calculation's explicit dependencies * use `Jason` always for compatibility * handle related non-expr calculations referenced from expr calcs * matching in managed_relationships handle_update (#1719) * simplify and fix path generation for nested relationship path deps * don�t require multitenancy attribute in `get` (#1716) Improvements: * support error shorthand for `Ash.Query.add_error/2-3` * add `uses` option for `changeset_generator` * add `uses` option for `seed_generator` * Use clearer error message for match validation atomic errors (#1721) * Add autogenerate_enabled? to Ash.Type for Ecto compatability (#1715) * warn when domain policies would be ignored by resources * allow policy authorizer to be in authorizers key in domains
release v3.4.55 [v3.4.55](v3.4.54...v3.4.55) (2025-01-13) Bug Fixes: * ensure can_* code interfaces pass arguments to actions * another pattern match error in `Ash.can?` * case clause error in `Ash.can?` * handle embedded attributes in attribute generator * `Ash.Generator`: Fix typo in skipped import name (#1704) * reset `ash_started_transaction?` on bulk create * set max_concurrency to 0 for generate_many * ensure that `once` and `sequence` behave predictably across tests Improvements: * destroy missing records first in `manage_relationship` * add start_of_day function * add `cast_dates_as` constraint to `Ash.Type.DateTime`
release v3.4.54 [v3.4.54](v3.4.53...v3.4.54) (2025-01-09) Bug Fixes: * Fix issues in `Ash.Generator.generate_many/2` (#1703) * `Ash.Generator`: Don't error if no `after_action` is provided to `generate_many` * `Ash.Generator`: Reuse the changeset actor when calling `bulk_create` Improvements: * run notifications for generators * `order_is_key` option for sorted relationships
release v3.4.53 [v3.4.53](v3.4.52...v3.4.53) (2025-01-08) Bug Fixes: * properly delegate and handle conflicts in `Ash.Generator` * `Ash.Generator`: Replace calls to `create` and `create_many` with `generate` and `generate_many` (#1701) * use nested calculation dependencies from expr if not in expression * pattern match error on expression parse failure * handle `string_length` on arguments when atomic
release v3.4.52 [v3.4.52](v3.4.51...v3.4.52) (2025-01-06) Bug Fixes: * handle keyword errors from map field type casting * unique extensions & subjects Improvements: * validate field names in `ash.gen.resource` * add `Ash.Generator.changeset_generator/3` * add `Ash.Generator.seed_generator/2` * support `after_action` option to `Ash.bulk_create` * set `yes_to_deps` when fetching dependencies * better error message on non-resource in `Ash.Query.new/2` * only use known keys in generators in `Ash.Generator` * handle limited bulk destroys from streams * bulk actions use `full_read` from code interfaces given ids * set `limit` in code interface to update or destroy one thing
PreviousNext