Tags: zoonect-oss/ash
Tags
release v3.0.16 [v3.0.16](ash-project/ash@v3.0.15...v3.0.16) (2024-06-21) Bug Fixes: * use the proper opts when calling manual updates in bulk updates * apply pagination at runtime for non lateral join queries * consider multitenancy when checking if through-join is unique * don't run any `before_action` hooks if changeset is invalidated in prior hook * only prevent atomic upgrade when hooks were explicitly added * use right argument name in query `set_result`/`clear_result` (ash-project#1247) Improvements: * retain error context on overridden messages
release v3.0.15 [v3.0.15](ash-project/ash@v3.0.14...v3.0.15) (2024-06-18) Improvements: * add optional `matches_type?/2` callback to `Ash.Type` * add `backwards_compatible_interface?` option to `use Ash.Domain`
release v3.0.14 [v3.0.14](ash-project/ash@v3.0.13...v3.0.14) (2024-06-18) Bug Fixes: * apply join relationship filter when loading many_to_many relationships * ensure we honor any computed select changes when loading through attributes Improvements: * add `subject` and `context` keys to policy context
release v3.0.13 [v3.0.13](ash-project/ash@v3.0.12...v3.0.13) (2024-06-17) Bug Fixes: * don't start async limiter tasks if async is disabled * properly set default timeout to `:infinity` * pass down `identity` when doing upserts, for new feature support * ensure that `before_transaction` hook errors fail the operation * ensure that `before_transaction` hook errors still trigger `after_transaction` hooks * abort bulk updates on before transaction hook errors
release v3.0.12 [v3.0.12](ash-project/ash@v3.0.11...v3.0.12) (2024-06-14) Bug Fixes: * fix expression interpolation for cast_atomic for integer, decimal, float * set default argument values on generic actions * support `^arg/1` and similar constructions in filter policies on generic actions Improvements: * set a `module` when validating accepts
release v2.21.15 [v2.21.15](ash-project/ash@v2.21.14...v2.21.15) (2024-06-13) Bug Fixes: * return `{:ok` tuple when upgrading an expression calc to a literal calc * use positional loading on embedded resources * backport fix for `changing_attributes` for multiple attributes (ash-project#1102) * backport fix to `changing_attributes` and atomic validations (ash-project#1098) * union array argument/attribute handling when current attribute is (ash-project#1024) * fix bad backport of validators * handle rollbacks in nested error formas (backport from 3.0) * Set tenant for managed relationship changeset (ash-project#1043) * disable atomic upgrade for 2.0 * ensure actor is set when calling `for_read` * `code_interface` actions accept `@context` for `Ash 2.0` (ash-project#1017) * `code_interface` actions accept `@context` for `Ash 2.0` * ensure opts properly contain the `tenant` * properly set tenant on aggregate query * properly set action_type when preparing changesets (ash-project#1012) * types: can and can? types were only addressing create when using the tuple method, the code also accepts the record for update & destroy * allow strings in Ash.Type.Enum again * set tenant in bulk creates after setting up changeset * properly cast identity keys before comparison * properly handle lists of errors added by validations * honor only_when_valid? in bulk actions * policy ending with authorize_unless had flipped conditional * properly handle transaction errors from bulk creates Improvements: * Add attributes_present, attributes_absent. (ash-project#1046) (ash-project#1063) * support `allow_nil_input` dsl option in update/destroy (ash-project#965) * allow simple check to return error tuple (ash-project#958) * ensure that update defaults are set
release v3.0.11 [v3.0.11](ash-project/ash@v3.0.10...v3.0.11) (2024-06-11) Bug Fixes: * load relationships on bulk operations (ash-project#1234) * only apply load through for attributes that are being selected directly * ensure we lateral join with `from_many?: true` or any `:many` cardinality relationships * correctly load paginated relationships after create, update, delete (ash-project#1229) * return proper `{:ok, value}` from `Ash.Type.Atom.apply_constraints/2` * fix the compare/2 implementations (ash-project#1232) * return proper value from short-circuit filter hydration * fix seed not working when :__keep_nil__ is generated using seed_input (ash-project#1228) * add resource to Ash.Seed.seed! in Ash.Generator.seed! (ash-project#1227) Improvements: * use `IO.warn` for allow_nil_inputs error * validate `require_attributes` and `allow_nil_input` at compile time * add tenant option to Ash.Seed.seed! (ash-project#1230)
release v3.0.10 [v3.0.10](ash-project/ash@v3.0.9...v3.0.10) (2024-06-06) Bug Fixes: * ensure that union types w/ explicit tags have constraints applied * don't update tenant on update, instead enforce it * Do not compare nil values in `compare` validation (ash-project#1223) * ensure context is properly set on bulk manual action invocations Improvements: * detect invalid resources placed in relationships on domains verifier * warn at compile time on types that don't define `atomic_update/2`
release v3.0.9 [v3.0.9](ash-project/ash@v3.0.8...v3.0.9) (2024-05-31) Bug Fixes: * use correct boolean operation names in Filter.find/4 (ash-project#1214) * when hydrating nested aggregates, use correct related resource/path pair * check if in transaction before trying to roll it back * retain `ref_path` when authorizing aggregates * ensure that belongs_to relationships are properly not reloaded with `lazy?: true` * implement rollback on after hooks for bulk actions Improvements: * compatibility with elixir 1.17
release v3.0.8 [v3.0.8](ash-project/ash@v3.0.7...v3.0.8) (2024-05-28) Bug Fixes: * missing `else` caused manual updates not to work with `bulk_update` * multiple filter-checks in policy conditions were not composing properly * properly honor trailing policies that are constantly false Improvements: * verify notifiers all use the `Ash.Notifier` behaviour
PreviousNext