Commit graph

246 commits

Author SHA1 Message Date
Zach Daniel
99b2a5631c improvement: support in-line aggregates
fix: support non-atom named aggregates
2023-08-22 14:51:31 -04:00
Zach Daniel
c8aa2a8dd8 improvement: add value_to_postgres_default/3 and AshPostgres.Type 2023-08-18 11:22:01 -04:00
Zach Daniel
c838960b82 improvement: update ash 2023-07-31 23:37:53 -04:00
Zach Daniel
d2e309c126 improvement: support the new parent/1 expr in relationships 2023-07-26 17:32:09 -04:00
Zach Daniel
89333fbc56 fix: un-break aggregates referencing calculations 2023-07-20 22:00:37 -04:00
Zach Daniel
c7866c6c16 improvement: support new distinct_sort option 2023-07-19 12:50:05 -04:00
Zach Daniel
c05c0bec05 chore: update ssl_verify_fun 2023-07-18 14:51:12 -04:00
Zach Daniel
c920b09277 improvement: support new distinct features from ash core 2023-07-18 14:48:35 -04:00
Zach Daniel
ed62006b3f improvement: support unary -/1 operator 2023-07-17 22:35:46 -04:00
Zach Daniel
d2e071773e improvement: support exists aggregates 2023-07-13 00:13:50 -04:00
Zach Daniel
11ad5f4d1b improvement: support at/2 expression 2023-07-12 17:05:33 -04:00
Zach Daniel
c1a630ee16 improvement: support string_split 2023-07-12 15:16:28 -04:00
Zach Daniel
06cb5b5c89 chore: update ash/tests 2023-05-26 23:59:35 -04:00
Zach Daniel
4a57a300da fix: handle raised errors in bulk actions 2023-05-22 21:17:30 -04:00
Zach Daniel
f59bbee443 improvement: raise better errors on conflicting locks 2023-05-17 13:17:37 -04:00
Zach Daniel
41a2e4f1d1 fix: check changeset.action_type not changeset.action.type 2023-05-15 15:59:21 -04:00
Zach Daniel
333c3ad95d improvement: support changeset.filters (for optimistic locking) 2023-05-08 15:54:43 -04:00
Zach Daniel
95510f9e4d chore: update ash 2023-05-02 22:20:25 -04:00
Zach Daniel
08a0a926e5 improvement: support bulk upserts 2023-05-02 22:16:21 -04:00
Zach Daniel
aed14f7ffd test: add test to confirm lateral join fix in Ash 2023-05-01 14:11:33 -04:00
Zach Daniel
805de0f2f1 improvement: support locking 2023-04-27 21:49:13 -04:00
Zach Daniel
5d50b98298 improvement: handle new spark versions better, more explicit snapshots 2023-04-26 22:23:43 -04:00
Zach Daniel
903b1dd2e7 improvement: update ash
test: update tests
2023-04-21 10:43:58 -06:00
Zach Daniel
4f3a21443e chore: unlock unused 2023-04-12 10:58:55 -04:00
Zach Daniel
d954825b7e chore: update ecto in lock & fix warnings
fixes: #138
2023-04-12 10:44:43 -04:00
Zach Daniel
7952a515fe fix: properly handle newtypes, add test 2023-04-07 10:56:06 -04:00
Zach Daniel
4ccec4fe8b improvement: update ash
chore: fix tests
2023-04-04 21:49:24 -04:00
Zach Daniel
58ee514004 chore: update mix.lock 2023-03-31 16:12:01 -04:00
Zach Daniel
0cf98d67a0 chore: update mix.lock 2023-03-31 12:37:24 -04:00
Barnabas Jovanovics
e2ee0016ea
test: add test that reproduces dependent select problem (#136) 2023-03-31 12:12:13 -04:00
Zach Daniel
422281bde6 chore: update mix.lock 2023-03-23 17:19:58 -04:00
Zach Daniel
3ff49c4fcb improvement: support new date expressions 2023-03-03 12:11:29 -05:00
Zach Daniel
b4fa4d0d9d chore: update ash_postgres and fix credo 2023-02-21 10:26:36 -05:00
Zach Daniel
589fb4d620 improvement: better type casting for concat operator 2023-02-12 19:09:25 -05:00
Zach Daniel
8eabbde953 add tests for new transaction behavior 2023-02-10 15:41:41 -05:00
Zach Daniel
8e8a308cd2 improvement: support new uniq? option on count/list aggregates 2023-02-09 16:09:44 -05:00
Zach Daniel
627151afc1 chore: release version v1.3.8 2023-02-06 00:20:03 -05:00
Zach Daniel
610bfc0239 chore: update mix.lock 2023-02-06 00:19:21 -05:00
Zach Daniel
cc643393d9 improvement: add migration_ignore_attributes
chore: update ash, fix ci
2023-02-01 02:05:04 -05:00
Zach Daniel
5875b68484 chore: update ash in CI and mix.lock 2023-01-30 13:45:21 -05:00
Zach Daniel
14d1f04a24 chore: update ash to latest version 2023-01-29 18:42:40 -05:00
Zach Daniel
b52da94b32 fix: properly convert to/from ecto, only when necessary 2023-01-29 18:20:59 -05:00
Zach Daniel
ce3cb0f2df fix: support latest ecto interop changes in ash core 2023-01-27 20:54:40 -05:00
Zach Daniel
2c788ddb06 improvement: update ash 2023-01-18 01:05:28 -05:00
Zach Daniel
a3577479e3 improvement: update to latest ash 2023-01-10 21:54:28 -05:00
Zach Daniel
1aab3dd7e3 fix: properly type cast in fragments (and elsewhere) 2023-01-09 09:48:25 -05:00
Zach Daniel
c15a6e4613 fix: undo changes that caused type casting bugs 2023-01-06 17:45:10 -05:00
Zach Daniel
3c496512e2 fix: use parent_expr instead of this
fix: various expression & type building fixes
2023-01-06 17:05:23 -05:00
Zach Daniel
475ec0f1ca feat: support latest ash 2023-01-04 12:36:18 -05:00
Zach Daniel
301466e1b5 improvement: support calculations as aggregate targets
fix: handle lists with expressions inside
2022-12-28 22:08:07 -05:00
Zach Daniel
46f3676e9a improvement: udpate to latest ash, fix array issues 2022-12-14 21:47:50 -05:00
Zach Daniel
98418599f9 chore: release version v1.2.0 2022-12-13 14:55:26 -05:00
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
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
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
498d54e812 improvement: update ash, add test for transaction hooks 2022-11-30 20:51:06 -05: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
13413d3cc7 feat: support now() in latest Ash 2022-10-20 01:08:35 -04:00
Zach Daniel
cc754ffdba improvement: update to Ash 2.0 2022-10-17 12:52:59 -05:00
Zach Daniel
7fd1e73baa fix: don't apply filter to array_agg 2022-10-10 12:06:54 -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
b2e3c3ff32 improvement: update to latest ash 2022-10-04 16:13:52 -04:00
Zach Daniel
3b1b90d7ab chore: add mix tasks to doc index 2022-09-28 23:27:46 -04:00
Zach Daniel
dfbbddf2c7 improvement: update to the latest ash 2022-09-27 23:56:15 -04:00
Zach Daniel
31d0ec20ac improvement: support latest ash 2022-09-20 23:00:29 -04:00
Zach Daniel
ee45ee3015 chore: update to latest ash 2022-09-15 17:08:34 -04:00
Zach Daniel
edfe901f43 improvement: update to latest ash 2022-09-15 16:56:13 -04:00
Zach Daniel
02b6dcec22 improvement: upgrade to latest ash 2022-09-15 00:27:20 -04:00
Zach Daniel
11561ea163 improvement: support latest ash 2022-09-14 12:59:01 -04:00
Zach Daniel
170b9fc9e7 improvement: support latest ash exists/2 expr 2022-09-06 18:33:17 -04:00
Zach Daniel
e80768c608 chore: 1.0.0-rc.0 2022-08-30 17:13:35 -06:00
Zach Daniel
30dd7ca2de fix: make fragment private 2022-08-30 16:50:48 -06:00
Zach Daniel
8852b0c559 chore: bump ash version 2022-08-24 12:07:38 -04:00
Zach Daniel
385214694d docs: total docs reorg 2022-08-24 12:07:38 -04:00
Zach Daniel
7d7d95db13 chore: update docs & spark 2022-08-24 12:07:38 -04:00
Zach Daniel
aae7fd4f43 chore: bump pre version 2022-08-24 12:07:38 -04:00
Zach Daniel
332885710c improvement: add shell tutorial, update ash 2022-08-24 12:07:38 -04:00
Zach Daniel
d39c309b89 improvement: update to latest spark, get ready for 1.0 2022-08-24 12:07:38 -04:00
Zach Daniel
4a69edce2d important: update to ash 2.0 branch 2022-08-24 12:07:38 -04:00
Zach Daniel
eb2bd267cb improvement: fix typecasting for calculations & embed access
chore: rebuild test migrations
2022-08-05 15:27:22 -04:00
Zach Daniel
0f9a433c95 improvement: support || and && 2022-07-20 14:19:06 -04:00
Zach Daniel
c52917bca1 improvement: set update_defaults on upsert results 2022-07-06 14:44:18 -04:00
Zach Daniel
da07ed7b6c fix: handle various join bugs 2022-06-29 15:08:49 -04:00
Zach Daniel
d023949667 fix: set attribute source properly 2022-06-28 15:10:26 -04:00
Zach Daniel
41fdc36ecb chore: update to latest ash 2022-05-13 18:00:39 -04:00
Josh Price
2d4f30d669
chore: update sobelow, excoveralls and ex_check deps (#92) 2022-04-28 10:50:00 -04:00
Josh Price
67920efbad
chore: update dev dependencies (#90) 2022-04-27 17:11:18 -04:00
Zach Daniel
155c287ea1 improvement: update ecto 2022-04-26 11:01:53 -04:00
Josh Price
a9b2fc83df
improvement: Add EctoMigrationDefault protocol and implement defaults (#87) 2022-04-19 00:06:02 -04:00
Zach Daniel
973ec590f9 improvement: update ecto, fix dialyzer 2022-04-18 11:39:30 -04:00
Zach Daniel
de2502c208 improvement: add doc_index 2022-03-26 14:28:12 -04:00
kernel-io
7675191172
failing custom aggregate test (#82)
Co-authored-by: kernel-io <kernel>
Co-authored-by: Zach Daniel <zach@zachdaniel.dev>
2022-03-09 19:45:06 -05:00
Zach Daniel
d8173ca201 chore: update mix.lock 2022-02-14 15:39:03 -05:00
Zach Daniel
e2bd3c5aec improvement: support access syntax 2022-02-07 16:48:36 -05:00
Zach Daniel
96c70fcaff fix: properly reverse parameters before/after expansion 2022-02-07 15:35:18 -05:00
Zach Daniel
2258e6f749 all green on dynamic refactor 2022-02-07 15:35:18 -05:00
Zach Daniel
fcee70b2f7 WIP 2022-02-07 15:35:18 -05:00