Repository navigation
Tags
Tags
release v3.38.0 [v3.38.0](ash-project/ash@v3.37.7...v3.38.0) (2026-11-24) Features: * trace authorization phases and emit telemetry events (ash-project#3117) by Ashu3208 [(ash-project#3117)](ash-project#3117) Improvements: * validate args in define_calculation code interfaces (ash-project#3130) by porterbrien [(ash-project#3130)](ash-project#3130) Bug Fixes: * encode each keyset value as a JSON fragment by [@zachdaniel](https://github.com/zachdaniel) * don't check that JSON keyset values round trip when encoding by [@zachdaniel](https://github.com/zachdaniel) * build JSON keysets from per-value encodings instead of re-encoding by [@zachdaniel](https://github.com/zachdaniel)
release v3.37.7 [v3.37.7](ash-project/ash@v3.37.6...v3.37.7) (2026-11-18) Bug Fixes: * properly separate prepended and non-prepended hooks for atomic transfer by [@zachdaniel](https://github.com/zachdaniel) * discard bulk update notifications on batch rollback (ash-project#3128) by Ashu3208 [(ash-project#3128)](ash-project#3128)
release v3.37.6 [v3.37.6](ash-project/ash@v3.37.5...v3.37.6) (2026-11-16) Improvements: * expand and type repeated calculations once by [@zachdaniel](https://github.com/zachdaniel) * derive operator signatures at compile time by [@zachdaniel](https://github.com/zachdaniel) Bug Fixes: * cleanup any_success? pdict key for bulk actions by [@zachdaniel](https://github.com/zachdaniel)
release v3.37.5 [v3.37.5](ash-project/ash@v3.37.4...v3.37.5) (2026-11-15) Improvements: * add `Ash.Filter.map_reduce` by [@zachdaniel](https://github.com/zachdaniel) * compile-time checks for attribute vs argument validations (ash-project#3118) by TravelCurry02 [(ash-project#3118)](ash-project#3118) Bug Fixes: * resolve repeated calculations with different arguments at runtime and type untyped literals in expressions by [@zachdaniel](https://github.com/zachdaniel< 8000 /a>) * drop notifications for no notifiers in Ash.Notifier.notify/1 (ash-project#3124) by Stefan Luptak [(ash-project#3124)](ash-project#3124) * return error tuple from stream_strategy when offset streaming is impossible (ash-project#3125) by [@emadshaaban92](https://github.com/emadshaaban92) [(ash-project#3125)](ash-project#3125) * set accessing_from before running preparations on relationship loads (ash-project#3123) by Ahatch3 [(ash-project#3123)](ash-project#3123) * keep unrelated exists scoped to its resource in can_read by [@zachdaniel](https://github.com/zachdaniel)
release v3.37.4 [v3.37.4](ash-project/ash@v3.37.3...v3.37.4) (2026-11-11) Bug Fixes: * properly transform bulk errors into Ash errors by [@zachdaniel](https://github.com/zachdaniel) * set source context in after action hook for cascade destroy by [@zachdaniel](https://github.com/zachdaniel) * resolve `parent()` relationship filters in managed lookups and cascades (ash-project#3056) by [@jimsynz](https://github.com/jimsynz) [(ash-project#3056)](ash-project#3056) * use accessing_from for related field policies in filter input (ash-project#3116) by [@emadshaaban92](https://github.com/emadshaaban92) [(ash-project#3116)](ash-project#3116) * only apply generic action argument defaults when the argument is omitted by [@zachdaniel](https://github.com/zachdaniel) * avoid applying filter mappers twice (ash-project#3114) by Jechol Lee [(ash-project#3114)](ash-project#3114)
release v3.37.3 [v3.37.3](ash-project/ash@v3.37.2...v3.37.3) (2026-11-05) Improvements: * speed up runtime filtering and sorting (ash-project#3092) by [@etareduction](https://github.com/etareduction) [(ash-project#3092)](ash-project#3092) * render more consolidated signals mermaid by [@zachdaniel](https://github.com/zachdaniel) Bug Fixes: * give warn_missed! the action in atomic bulk updates (ash-project#3111) by Stefan Luptak [(ash-project#3111)](ash-project#3111) * pass forbidden and not loaded values through Ash.Type.load/5 lists by [@zachdaniel](https://github.com/zachdaniel) * avoid traversing execution context in parent expression checks (ash-project#3108) by Jechol Lee [(ash-project#3108)](ash-project#3108) * detect `parent/1` in calculations that a relationship sorts on by [@zachdaniel](https://github.com/zachdaniel) * don't treat `parent/1` inside `exists` or aggregates as referencing the relationship source by [@zachdaniel](https://github.com/zachdaniel) * accept scopes in generated can_* code interface helpers (ash-project#3106) by [@barnabasJ](https://github.com/barnabasJ) [(ash-project#3106)](ash-project#3106) * validate generic action loads against the returns type (ash-project#3101) by [@Torkan](https://github.com/Torkan) [(ash-project#3101)](ash-project#3101) * defer per-record validations in bulk creates (ash-project#3098) by jeffhuen [(ash-project#3098)](ash-project#3098) * pass batch_change/3 a list in streamed bulk destroys (ash-project#3100) by leonqadirie [(ash-project#3100)](ash-project#3100) * only give a new type the change hooks its subtype has (ash-project#3096) by jeroen11dijk [(ash-project#3096)](ash-project#3096) * don't crash update_many when return_records? isn't given (ash-project#3094) by jeroen11dijk [(ash-project#3094)](ash-project#3094) * give update_many's after_batch hooks each row's own changeset (ash-project#3095) by jeroen11dijk [(ash-project#3095)](ash-project#3095) * drop inactive policy conflict expansion (ash-project#3093) by leonqadirie [(ash-project#3093)](ash-project#3093) * load mixed records by their start instance by [@zachdaniel](https://github.com/zachdaniel) * give query around_transaction hooks their two-argument type (ash-project#3088) by [@etareduction](https://github.com/etareduction) [(ash-project#3088)](ash-project#3088)
release v3.37.1 [v3.37.1](ash-project/ash@v3.37.0...v3.37.1) (2026-10-25) Improvements: * support maps as tuple inputs by [@zachdaniel](https://github.com/zachdaniel) * add `Ash.unpaginated_read` by [@zachdaniel](https://github.com/zachdaniel) * support `strict?: true` on changesets for strict loading by [@zachdaniel](https://github.com/zachdaniel) Bug Fixes: * wait for an ETS table manager to exit when stopping its table by [@zachdaniel](https://github.com/zachdaniel) * let a contended Mnesia transaction wait instead of failing (ash-project#3084) by Aaron Paterson [(ash-project#3084)](ash-project#3084) * wait for an ETS table's manager to create the table (ash-project#3083) by Aaron Paterson [(ash-project#3083)](ash-project#3083) * return the results of a Mnesia aggregate query (ash-project#3085) by Aaron Paterson [(ash-project#3085)](ash-project#3085) * load before destroying records in streaming bulk destroys by [@zachdaniel](https://github.com/zachdaniel) * don't require original data for atomic bulk actions that won't notify by [@zachdaniel](https://github.com/zachdaniel) * apply an upsert_condition passed to Ash.create by [@zachdaniel](https://github.com/zachdaniel) * keep an aggregate query's arguments when authorizing its relationship path by [@zachdaniel](https://github.com/zachdaniel) * try every operator signature before reporting a cast error by [@zachdaniel](https://github.com/zachdaniel) * don't store :ok as a notification when a managed belongs_to fails in bulk actions by [@zachdaniel](https://github.com/zachdaniel) * return errors from cascade_destroy and after_batch hooks instead of raising by [@zachdaniel](https://github.com/zachdaniel) * apply the smaller of a relationship's limit and its query's limit by [@zachdaniel](https://github.com/zachdaniel) * honor requested strategies when bulk update authorization needs initial data by [@zachdaniel](https://github.com/zachdaniel) * always lateral join through relationships by [@zachdaniel](https://github.com/zachdaniel) * do not choose `atomic_batches` strategy incorrectly by [@zachdaniel](https://github.com/zachdaniel) * honor `skip_unknown_inputs` constraint on embeddable types by [@zachdaniel](https://github.com/zachdaniel) * handle expression calculations in simulating calculation loading by [@zachdaniel](https://github.com/zachdaniel) * make the lack of support for `path` option explicit in `Ash.aggregate` by [@zachdaniel](https://github.com/zachdaniel) * include expr & expr_type in unique name for inline aggregates by [@zachdaniel](https://github.com/zachdaniel) * always select temporal period as its needed for loading by [@zachdaniel](https://github.com/zachdaniel) * ensure that changeset.tenant is set on upgraded changesets by [@zachdaniel](https://github.com/zachdaniel) * don't raise on a non-bang `get_by` call by [@zachdaniel](https://github.com/zachdaniel) * ensure multiple unrelated aggregate authorizations don't conflate by [@zachdaniel](https://github.com/zachdaniel) * ensure aggregate multitenancy is passed everywhere by [@zachdaniel](https://github.com/zachdaniel) * apply operator overloads more strictly only on known matches by [@zachdaniel](https://github.com/zachdaniel) * ensure that upsert_conflict/1 expression is properly typed by [@zachdaniel](https://github.com/zachdaniel) * ensure stream bulk actions apply changeset filter by [@zachdaniel](https://github.com/zachdaniel) * ensure atomic upgrade uses same transaction semantics as normal update by [@zachdaniel](https://github.com/zachdaniel) * read each step of a through relationship the way its relationship reads by [@zachdaniel](https://github.com/zachdaniel) * handle sigils in expressions more gracefully by [@zachdaniel](https://github.com/zachdaniel)
release v3.37.0 [v3.37.0](ash-project/ash@v3.36.1...v3.37.0) (2026-10-22) Features: * allow annotating calculations as `authorize? true` by [@zachdaniel](https://github.com/zachdaniel) Improvements: * sign keyset pagination cursors (ash-project#3038) by Ahatch3 [(ash-project#3038)](ash-project#3038) * document loading the same relationship and its effects (ash-project#3034) by Mckay Hinds [(ash-project#3034)](ash-project#3034) Bug Fixes: * discard queued notifications when a transaction ends in a throw or exit (ash-project#3054) by [@Torkan](https://github.com/Torkan) [(ash-project#3054)](ash-project#3054) * don't produce "not in allowed" error for `nil` enum value in atomics by [@zachdaniel](https://github.com/zachdaniel) * get relationship paths from custom expressions by [@zachdaniel](https://github.com/zachdaniel) * honor `as_of` range in temporal bulk updates and destroys (ash-project#3051) by [@yosalama](https://github.com/yosalama) [(ash-project#3051)](ash-project#3051) * keep each version's values when loading onto temporal records (ash-project#3052) by [@yosalama](https://github.com/yosalama) [(ash-project#3052)](ash-project#3052) * ensure that `authorize?` option doesn't conflict on calc dep loads by [@zachdaniel](https://github.com/zachdaniel) * ensure reread uses `as_of` instead of producing stale error (ash-project#3048) by [@manuganji](https://github.com/manuganji) [(ash-project#3048)](ash-project#3048) * preserve compiler environment for namespaced interfaces (ash-project#3047) by jeffhuen [(ash-project#3047)](ash-project#3047) * don't reuse the stored timestamp for a record for destroying by [@zachdaniel](https://github.com/zachdaniel) * enable composite types to act as maps in queries and calculations (ash-project#3045) by Nöl [(ash-project#3045)](ash-project#3045) * allow present at_least/at_most validations on atomic updates (ash-project#3044) by BBopsCode [(ash-project#3044)](ash-project#3044) * don't use read action to find parent() referenced rows in ets by [@zachdaniel](https://github.com/zachdaniel) * select "selected by default" attributes for bulk destroy by [@zachdaniel](https://github.com/zachdaniel) * declare boolean return types for contains/2 (ash-project#3042) by leonqadirie [(ash-project#3042)](ash-project#3042) * retry failed NewType array item casts as nil for empty strings by leonqadirie [(ash-project#3042)](ash-project#3042) * keep tuple field positions when loading stored values by leonqadirie [(ash-project#3042)](ash-project#3042) * return an error when loading undeclared composite fields by leonqadirie [(ash-project#3042)](ash-project#3042) * leave composite values unchanged when they lack a loaded field by leonqadirie [(ash-project#3042)](ash-project#3042) * reject duplicate and non-list fields in composite type init by leonqadirie [(ash-project#3042)](ash-project#3042) * check tuple size and report every invalid field in tuple constraints by leonqadirie [(ash-project#3042)](ash-project#3042) * collect exception errors from every invalid struct field by leonqadirie [(ash-project#3042)](ash-project#3042) * name the failing field in Map, Keyword and Tuple cast errors by leonqadirie [(ash-project#3042)](ash-project#3042) * format composite constraint errors like cast errors by leonqadirie [(ash-project#3042)](ash-project#3042) * include return_query? tuples and error returns in read, page and apply_to specs (ash-project#3041) by Łukasz Samson [(ash-project#3041)](ash-project#3041) * correct specs for page_opts, load, refute_has_error and Policy.solve (ash-project#3040) by Łukasz Samson [(ash-project#3040)](ash-project#3040) * various issues with sort + aggregate type determination by [@zachdaniel](https://github.com/zachdaniel) * preserve related records when loading forbidden relationships (ash-project#3039) by MiGoYAm [(ash-project#3039)](ash-project#3039) * move elixir version requirement to 1.17 by [@zachdaniel](https://github.com/zachdaniel) * drain pending calculations before returning an error (ash-project#3035) by Jake Schurch [(ash-project#3035)](ash-project#3035) * validate calculation arguments once and preserve input errors (ash-project#3031) by Barnabas Jovanovics [(ash-project#3031)](ash-project#3031) * properly set tenant on all action results by [@zachdaniel](https://github.com/zachdaniel) * fail atomic changes with their errors instead of crashing (ash-project#3033) by [@Torkan](https://github.com/Torkan) [(ash-project#3033)](ash-project#3033) Performance Improvements: * further optimize expression caching by [@zachdaniel](https://github.com/zachdaniel) * policy: specialize fallback expressions for known actions (ash-project#3036) by Jake Schurch [(ash-project#3036)](ash-project#3036)
release v3.36.1 [v3.36.1](ash-project/ash@v3.36.0...v3.36.1) (2026-10-15) Improvements: * add `signal_path` context, and policy for signals by [@zachdaniel](https://github.com/zachdaniel) * add `description` to emissions by [@zachdaniel](https://github.com/zachdaniel) * add `mix ash.signals` for mapping out signals by [@zachdaniel](https://github.com/zachdaniel) * add `react_to_signal` test helper by [@zachdaniel](https://github.com/zachdaniel) Bug Fixes: * send notifications returned by `after_batch/3` in non-atomic bulk actions (ash-project#3028) by Michael Bärtschi [(ash-project#3028)](ash-project#3028) * run before_action hooks in the before_action phase in bulk actions (ash-project#3027) by Mihai Amihailesei [(ash-project#3027)](ash-project#3027)
PreviousNext