Skip to content

Releases: ash-project/ash_sql

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

v0.3.11

05 Nov 00:59

Choose a tag to compare

Bug Fixes:

  • properly type-cast NULL values in dynamic SQL expressions (#185) by @Torkan

v0.3.10

29 Oct 23:15
ac1e618

Choose a tag to compare

Bug Fixes:

v0.3.9

19 Oct 17:16

Choose a tag to compare

Bug Fixes:

  • more handling of storage types for typed struct arrays in AshSql by @zachdaniel