Skip to content

Tags: albinkc/ash

Tags

v3.4.19

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

[v3.4.19](ash-project/ash@v3.4.18...v3.4.19) (2024-09-21)
Bug Fixes:
* properly generate bypasses with `Ash.Resource.Igniter.add_bypass/2`
Improvements:
* support nested fields in input sorts
* optimize the reselection of necessary attributes on lazy loading
* optimize `Ash.Resource.selected?/2` in light of 3.0 changes

v3.4.18

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

[v3.4.18](ash-project/ash@v3.4.17...v3.4.18) (2024-09-20)
Bug Fixes:
* properly increment version in optimist lock's non-atomic branch
* ensure that policy group rules are enforced
* ensure that around_transaction and around_action hooks incur simple updates

v3.4.17

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

[v3.4.17](ash-project/ash@v3.4.16...v3.4.17) (2024-09-19)
Bug Fixes:
* handle more types in `Ash.Query.unload`
* ensure_select: properly escape changeset.select (ash-project#1466)
Improvements:
* add span & telemetry events for running calculations
* validate action types in `action_type` check

v3.4.16

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

[v3.4.16](ash-project/ash@v3.4.15...v3.4.16) (2024-09-18)
Bug Fixes:
* ensure Ash.Seed always sets action_select
Improvements:
* properly log successful policy breakdowns with extra info
* add `Ash.Filter.fetch_simple_equality_predicate`

v3.4.15

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

[v3.4.15](ash-project/ash@v3.4.14...v3.4.15) (2024-09-17)
Improvements:
* add `load` option to `Ash.Query.for_read`
* add backwards compat upgrade guide

v3.4.14

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

[v3.4.14](ash-project/ash@v3.4.13...v3.4.14) (2024-09-17)
Bug Fixes:
* properly detect domains that don't exist yet in `ash.gen.domain`

v3.4.13

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

[v3.4.13](ash-project/ash@v3.4.12...v3.4.13) (2024-09-17)
Bug Fixes:
* honor `skip_global_validations?` on fully atomic changesets
* ensure calculation context is fully propagated to sort statements
* ensure that `resource` context is set for expanding filter descriptions

v3.4.12

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

[v3.4.12](ash-project/ash@v3.4.11...v3.4.12) (2024-09-16)
Bug Fixes:
* ensure that action_select is set on seeding data
Improvements:
* add more resource updating logic
* add `_new` options for Ash.Resource.Igniter

v3.4.11

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

[v3.4.11](ash-project/ash@v3.4.10...v3.4.11) (2024-09-13)
Bug Fixes:
* properly add all types of extensions in `mix ash.patch.extend`
* ensure that field policies don't interfere with relationship loading
* properly merge provided context in atomic bulk actions
* properly handle rollbacks from `DBConnection` failures for belongs to relationships
* don't generate doubly nested policies when adding policies in igniter
* fix Ash.Changeset.manage_relationships/4 for list primary keys (ash-project#1455)
* Handle Ash.Query.filter for array values (ash-project#1452)
* cast embedded time properly (ash-project#1451)
* require private/non-accepted attributes after before action hooks
* we cannot assume that `after_action/1` can be done atomically
* support passing a forbidden error to policies per the docs
* don't repor the action as the actor for policy breakdowns
* check `changeset.action` before raising a required primary action error
* ensure proper return types for `:stream` strategy bulk update/destroys
* don't select destination attributes that don't exist
* properly pass actor when running filters at runtime
* misplaced curly bracket when handling struct type casting
* properly leverage atomic upgrade read action for an update action
* fix type definition for `atomic_upgrade_with`
Improvements:
* update igniter and fix deprecation warnings
* small improvements for policy breakdown formatting
* honor a `_union_type` type param when casting unions
* add system for `action_select`, which can limit selects from mutations
* support `select_by_default?` flag on attributes
* add `add_bypass` and `add_policy` igniter utilities
* show informative error explaining the use of filter checks with create actions
* show the actor's primary key in policy breakdowns
* add an expanded description option to checks
* use expanded description to display filled in filter templates in policy breakdowns
* Add `Changeset.is_valid/1` guard. (ash-project#1437)

v3.4.10

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

[v3.4.10](ash-project/ash@v3.4.9...v3.4.10) (2024-09-13)
Bug Fixes:
* properly add all types of extensions in `mix ash.patch.extend`
* ensure that field policies don't interfere with relationship loading
* properly merge provided context in atomic bulk actions
* properly handle rollbacks from `DBConnection` failures for belongs to relationships
* don't generate doubly nested policies when adding policies in igniter
* fix Ash.Changeset.manage_relationships/4 for list primary keys (ash-project#1455)
* Handle Ash.Query.filter for array values (ash-project#1452)
* cast embedded time properly (ash-project#1451)
* require private/non-accepted attributes after before action hooks
* we cannot assume that `after_action/1` can be done atomically
* support passing a forbidden error to policies per the docs
* don't repor the action as the actor for policy breakdowns
* check `changeset.action` before raising a required primary action error
* ensure proper return types for `:stream` strategy bulk update/destroys
* don't select destination attributes that don't exist
* properly pass actor when running filters at runtime
* misplaced curly bracket when handling struct type casting
* properly leverage atomic upgrade read action for an update action
* fix type definition for `atomic_upgrade_with`
Improvements:
* small improvements for policy breakdown formatting
* honor a `_union_type` type param when casting unions
* add system for `action_select`, which can limit selects from mutations
* support `select_by_default?` flag on attributes
* add `add_bypass` and `add_policy` igniter utilities
* show informative error explaining the use of filter checks with create actions
* show the actor's primary key in policy breakdowns
* add an expanded description option to checks
* use expanded description to display filled in filter templates in policy breakdowns
* Add `Changeset.is_valid/1` guard. (ash-project#1437)