Commit graph

684 commits

Author SHA1 Message Date
Zach Daniel
68c6d7aaf8 improvement: better error messages from mix tasks
fix: various broken behavior from new aggregate work
improvement: validate that references refer to relationships

closes #99
2022-12-10 15:59:50 -05:00
Zach Daniel
d832e9a4ef fix: forgot a 2022-12-07 21:44:19 -05:00
Zach Daniel
e271a27d3c improvement: avg/min/max/custom aggregate support
fix: fix various problems with the model behind aggregates
2022-12-07 20:32:38 -05:00
Zach Daniel
853a78100d chore: upgrade ash in CI 2022-12-04 15:21:23 -05:00
Zach Daniel
1c7478e502 improvement: upgrade and depend on ash version 2022-12-04 15:20:56 -05:00
Zach Daniel
ee8e77dca4 fix: properly set binding names for many to many join filters 2022-12-04 15:01:24 -05:00
Zach Daniel
7d0663588f chore: add test with join in many to many 2022-12-04 13:39:58 -05:00
Zach Daniel
3e3740c6f9 improvement: fix lateral many to many joins 2022-12-04 13:16:45 -05:00
Zach Daniel
52fcba79ac improvement: inform users about postgres incompatibility with multidimensional arrays 2022-12-01 20:24:49 -05:00
Darren Black
f088601cf9
Failing tests for aggregates on arrays (#121) 2022-11-30 21:26:58 -05:00
Zach Daniel
a4fba522d9 chore: release version v1.1.3 2022-11-30 20:59:48 -05:00
Zach Daniel
f03332c13b chore: fix tests 2022-11-30 20:59:18 -05:00
Zach Daniel
2b986863ff docs: document on_transaction_begin 2022-11-30 20:52:36 -05:00
Zach Daniel
498d54e812 improvement: update ash, add test for transaction hooks 2022-11-30 20:51:06 -05:00
Zach Daniel
c035eed21a fix: properly turn custom index keys into atoms
improvement: support new transaction info with hooks
2022-11-30 19:06:51 -05:00
Zach Daniel
059837651d improvement: add unique constraints to changeset for custom unique indexes
improvement: separate out concurrent index creations and do them in a separate transaction
2022-11-25 14:06:22 -05:00
Zach Daniel
32a38e886c chore: release version v1.1.2 2022-11-21 03:08:47 -05:00
Zach Daniel
061a1993e3 chore: format/lint 2022-11-21 03:08:04 -05:00
Zach Daniel
b4efb3a343 test: fix tests for migration_defaults 2022-11-21 02:45:09 -05:00
Zach Daniel
db3166ff88 Revert "improvement: use uuid_generate_v4() to eliminate need for uuid-ossp just for uuid defaults"
This reverts commit e0d7f0d0c0.
2022-11-21 02:42:26 -05:00
Zach Daniel
8f064db2f0 chore: work on tests for migration_defaults 2022-11-21 02:39:57 -05:00
Zach Daniel
26668df73d improvement: add migration_defaults for customizing default values 2022-11-21 02:38:00 -05:00
Zach Daniel
e0d7f0d0c0 improvement: use uuid_generate_v4() to eliminate need for uuid-ossp just for uuid defaults
Thanks to @sevenseacat for pointing this out!
2022-11-21 02:14:47 -05:00
Zach Daniel
9b97556335 wip 2022-11-21 02:14:47 -05:00
Zach Daniel
45356d6cce WIP 2022-11-21 02:14:47 -05:00
Zach Daniel
63d007131f
fix: don't use hard-coded join assoc name (#118) 2022-11-13 11:38:00 -05:00
Zach Daniel
961137c1d9 chore: update ash in CI 2022-11-03 10:13:00 -07:00
Zach Daniel
18d151c8e3 improvement: use new docs 2022-11-03 10:02:31 -07:00
Zach Daniel
2451879d46 test: add test for code interface 2022-10-31 11:53:03 -04:00
Zach Daniel
736287a7b6 chore: release version v1.1.1 2022-10-24 22:17:58 -06:00
Zach Daniel
dbfca0ec57 chore: format 2022-10-24 22:17:42 -06:00
Kyle Grinstead
a88687c1d5
fix: && operator in expressions to point to ash_elixir_and (#115) 2022-10-24 22:13:12 -06:00
Zach Daniel
e3db7d2fa9 improvement: add check for unsupported expression 2022-10-20 01:20:09 -04:00
Zach Daniel
fc9e104342 chore: fix CI 2022-10-20 01:10:52 -04:00
Zach Daniel
bb959e1758 chore: release version v1.1.0 2022-10-20 01:08:58 -04:00
Zach Daniel
13413d3cc7 feat: support now() in latest Ash 2022-10-20 01:08:35 -04:00
Zach Daniel
aca382ab08 chore: update readme 2022-10-17 16:45:06 -05:00
Zach Daniel
f8620180bd chore: release version v1.0.0 2022-10-17 12:54:19 -05:00
Zach Daniel
cc754ffdba improvement: update to Ash 2.0 2022-10-17 12:52:59 -05:00
Zach Daniel
5222e1e755 improvement: handle UUID types better 2022-10-17 08:40:32 -05:00
Zach Daniel
fb8a13f33d improvement: set lateral join source for latest ash
improvement: use `prepend?: true` option when applying relationship sorts
2022-10-15 00:03:16 -05:00
Zach Daniel
a8b44fef0f fix: no unnecessary type cast on count/sum aggregates 2022-10-10 12:12:17 -04:00
Zach Daniel
7fd1e73baa fix: don't apply filter to array_agg 2022-10-10 12:06:54 -04:00
Zach Daniel
527ba7c73d chore: release version v1.0.0-rc.9 2022-10-07 15:52:28 -04:00
Zach Daniel
0efec304ff chore: update git_ops 2022-10-07 15:51:24 -04:00
Zach Daniel
b7b5758134 improvement: update to the latest ash
improvement: remove the need to dynamically expand fragments
2022-10-07 15:50:20 -04:00
Zach Daniel
435d5216b8 fix: handle custom calculation selects properly
improvement: when casting string to uuid, dump to binary
2022-10-05 15:06:09 -04:00
Zach Daniel
94edf64322 fix: use attribute source for identity fields 2022-10-04 16:13:52 -04:00
Zach Daniel
b2e3c3ff32 improvement: update to latest ash 2022-10-04 16:13:52 -04:00
Josh Price
df0879e286
docs: add contributor section and guide (#114) 2022-10-04 02:05:25 -04:00