Skip to content

Tags: ash-project/ash

Tags

v3.4.60

Toggle v3.4.60's commit message
release v3.4.60

[v3.4.60](v3.4.59...v3.4.60) (2025-01-27)
Bug Fixes:
* traverse custom expressions when listing refs

v3.4.59

Toggle v3.4.59's commit message
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

v3.4.58

Toggle v3.4.58's commit message
release v3.4.58

[v3.4.58](v3.4.57...v3.4.58) (2025-01-26)
Bug Fixes:
* properly check query aggregate support
Improvements:
* support `authorize_with` option in `Ash.get` (#1732)

v3.4.57

Toggle v3.4.57's commit message
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

v3.4.56

Toggle v3.4.56's commit message
* [`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

3.4.56

Toggle 3.4.56's commit message
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

v3.4.55

Toggle v3.4.55's commit message
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`

v3.4.54

Toggle v3.4.54's commit message
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

v3.4.53

Toggle v3.4.53's commit message
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

v3.4.52

Toggle v3.4.52's commit message
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