Skip to content

Releases: ash-project/ash

v3.19.2

03 Mar 13:13

Choose a tag to compare

Bug Fixes:

  • add Tuple.apply_constraints nil guard and propagate allow_nil? in Struct field derivation by @zachdaniel

  • preserve meta state in Ash.Type.Struct.apply_constraints (#2602) by @nallwhy (#2602)

v3.19.0

01 Mar 22:13

Choose a tag to compare

Features:

  • Allow dumping and casting instance_of union types (#2597) by @Munksgaard (#2597)

  • make enum label/description overridable (#2594) by Hannes Wüthrich (#2594)

  • add touch_update_defaults? option to bulk_create (#2590) by Michael Bärtschi (#2590)

Bug Fixes:

Improvements:

v3.17.0

22 Feb 06:36

Choose a tag to compare

Features:

  • add not_found_error? to Ash.get to bring it in-line with actions (#2572) by StephanH90 (#2572)

Bug Fixes:

  • Update Ash.Gen.Resource, validate relationship type (#2563) by Matt Savoia (#2563)

  • don't optimize equality into in expressions by @zachdaniel

  • manual relationship implies no_attributes? true (#2562) by zackattackz (#2562)

Improvements:

v3.16.0

09 Feb 21:29
f97e621

Choose a tag to compare

Features:

Bug Fixes:

  • handle unrelated exists in authorizer ref replacement (#2556) by zackattackz (#2556)

  • pass full context to Ash.load! in cascade changes (#2537) by @beam-bots (#2537)

  • pass full context to Ash.load! in cascade changes by @beam-bots (#2537)

  • use scope option instead of to_opts for Ash.load! in cascade changes by @beam-bots (#2537)

  • avoid shadowing context variable in cascade changes by @beam-bots (#2537)

  • remove authorize?: false from cascade Ash.load! calls by @beam-bots (#2537)

  • ensure tenant is not overridden in aggregates by @zachdaniel

  • ensure that change is properly simulated when batch_change defined by @zachdaniel

  • remove incorrect stream calls (#2554) by Jesse Williams (#2554)

v3.15.0

05 Feb 02:50

Choose a tag to compare

Features:

  • manual relationship via list (#2546) by zackattackz (#2546)

Bug Fixes:

  • properly handle allow_nil? in expressions for atomic_set on create actions by @zachdaniel

  • Fix/1537 improve domain error message (#2545) by TravelCurry02 (#2545)

  • improve error reporting for duplicate use of Ash.Domain by TravelCurry02 (#2545)

  • resolve ^actor() template in manage_relationship filters (#2548) by @shahryarjb (#2548)

Improvements:

  • manual load can return list without :ok by zackattackz (#2550)

v3.14.1

03 Feb 01:52

Choose a tag to compare

Bug Fixes:

v3.13.0

16 Jan 06:54

Choose a tag to compare

Features:

  • Add bulk_destroy step to AshReactor. (#2500) by wjrtz (#2500)

  • add load and loading? functions to ActionInput (#2511) by zackattackz (#2511)

Bug Fixes:

  • unwrap reactor errors (#2507) by katipber (#2507)

  • transform after_batch results in bulk actions for partial change matches by @zachdaniel

  • aggregate type resolution when aggregate references a calculation (#2519) by sevenseacat (#2519)

  • AshReactor: inconsistencies between bulk_create step and Ash.bulk_create (#2518) by wjrtz (#2518)

  • remove typo in ref error message (#2520) by diogomrts (#2520)

  • prevent lateral join handling for manual relationships (#2515) by @barnabasJ (#2515)

  • Remove redundant action nil guards in create/bulk.ex by @shahryarjb (#2509)

Improvements:

  • Upgrade Splode to 0.3.0 for stacktrace filtering by @zachdaniel

Performance Improvements:

  • Re-enables regex as mfa to improve regex speed (#2516) by sezaru (#2516)

v3.12.0

06 Jan 06:10

Choose a tag to compare

Features:

Bug Fixes:

  • revert inadvertant changes to accept dsl option by @zachdaniel

  • merge errors with Reactor.Error by @zachdaniel

  • handle new operator_overloads format in operator evaluation by @zachdaniel

  • set allow_nil?: false for get_by_read_actions arguments by @zachdaniel

  • move optimization logic from simplify to new for is_distinct_from operators by @jechol (#2497)

  • raise an informative error when actor fields used in filters are not loaded by @zachdaniel

  • properly handle exists across data layers by @zachdaniel

Improvements:

v3.11.3

26 Dec 06:14

Choose a tag to compare

Bug Fixes:

  • only apply overload typing when there is only one option by @zachdaniel

v3.11.2

24 Dec 10:44

Choose a tag to compare

Bug Fixes:

  • don't run authorization in cross-datalayer filters by @zachdaniel

  • dont validate constraints in union_types (#2469) by zackattackz (#2469)

  • Ensure that calculations used in preparations have access to argument values (#2480) by sevenseacat (#2480)

  • many-to-many relationships should inherit the sort/limit from their join relationship (#2486) by sevenseacat (#2486)

  • correct UnsortableField exception key from name: to field: (#2482) by @rauann (#2482)

  • handle struct context in atomic_condition (#2483) by MaamonSakar (#2483)

  • link text in multitenancy documentation (#2484) by Pascal736 (#2484)

  • respect read_action option in cascade_update/cascade_destroy fallback path (#2474) by @beam-bots (#2474)

  • don't let unknown values short-circuit expression calculations by @zachdaniel

Improvements: