Skip to content

Releases: ash-project/ash_sql

v0.4.5

11 Feb 02:33

Choose a tag to compare

Improvements:

  • do manual rel subquery regardless of no_attributes for aggregates (#213) by zackattackz (#213)

v0.4.4

05 Feb 02:26

Choose a tag to compare

Bug Fixes:

  • use array_agg instead of any_value when include_nil? is true (#210) by sevenseacat (#210)

v0.4.3

03 Feb 21:54

Choose a tag to compare

Improvements:

  • support atomics as insert values via subqueries by @zachdaniel

v0.4.2

29 Jan 06:14

Choose a tag to compare

Bug Fixes:

  • properly increment aggregate bindings across joins by @zachdaniel

v0.4.1

29 Jan 06:08

Choose a tag to compare

Bug Fixes:

  • has_many with limit and sort not respected in exists query filters (#198) by sevenseacat (#198)

  • issues with multitenancy bypass in related queries (#205) by danielatdpg (#205)

v0.4.0

29 Jan 04:13

Choose a tag to compare

Features:

  • add support for is_distinct_from and is_not_distinct_from functions (#200) by @jechol (#200)

  • add SQL generation for is_distinct_from operators by @jechol (#200)

  • add support for is_distinct_from and is_not_distinct_from functions by @jechol (#200)

Bug Fixes:

  • flatten nested calculation/aggregate maps before wrapping in subquery for aggregates (#206) by sevenseacat (#206)

v0.3.15

28 Nov 01:39

Choose a tag to compare

Bug Fixes:

  • ensure that filtered aggregates are selected in queries by @zachdaniel

v0.3.14

23 Nov 14:43

Choose a tag to compare

Bug Fixes:

  • ensure calculations are selected on aggregate subqueries by @zachdaniel

  • respect read action sort if relationship does not specify one (#194) by @barnabasJ (#194)

  • only merge already-computed aggregates when select? is true (#193) by Alan Heywood (#193)

  • extract_fields_from_expr returns [] instead of all_attribute_names when a query selects all fields ({:&, [], [ix]}) but has no take clause (#192) by Daniel Gollings (#192)

v0.3.13

16 Nov 01:02

Choose a tag to compare

Bug Fixes:

  • correctly extract fields when take is present in aggregate by @zachdaniel

v0.3.12

09 Nov 16:56

Choose a tag to compare

Bug Fixes:

  • preserve selected fields when wrapping in subquery for aggregates by @zachdaniel