Commit graph

369 commits

Author SHA1 Message Date
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
Zach Daniel
e19a44d7d9 WIP on dynamic refactor 2022-02-07 15:35:16 -05:00
kernel-io
df62c35801
improvement: don't upsert defaults on conflict (#77)
Co-authored-by: kernel-io <kernel>
2021-11-24 19:31:59 -05:00
Zach Daniel
359979a304 chore: fix ash version 2021-11-13 14:50:04 -05:00
Zach Daniel
9a97cb682d chore: work on tests 2021-11-13 13:57:00 -05:00
Zach Daniel
893771bbaf improvement: update to latest version of ash 2021-11-03 17:51:18 -04:00
Zach Daniel
5aa19b4f09 chore: update to latest ash 2021-11-01 04:45:27 -04:00
Zach Daniel
2fdcea7ef8 improvement: support default on aggregates
chore: update to latest ash patterns for testing
2021-10-25 18:53:34 -04:00
Zach Daniel
d5dad1b04a chore: udpate git_ops 2021-09-13 13:01:52 -04:00
Zach Daniel
981f6c8ccd improvement!: update to latest ash/ecto versions w/ parameterized types 2021-09-13 12:58:23 -04:00
Zach Daniel
e7ff7399e5 chore: update mix.lock 2021-07-26 18:03:29 -04:00
Zach Daniel
937ffa002d improvement: update to latest ash 2021-07-24 11:42:10 -04:00
Zach Daniel
85f27337d6 improvement: upgrade ash dep
chore: remove comment
test: add a sort test
2021-07-22 15:23:38 -04:00
Zach Daniel
487c9f32d6 improvement: fix significant performance issue in lateral joins
fix: ensure source table is sorted in lateral join
2021-07-19 13:56:36 -04:00
Zach Daniel
1efbb45fa2 chore: update mix.lock 2021-07-05 14:33:35 -04:00
Zach Daniel
f13f31330f fix: properly set aggregate query sources 2021-07-02 12:41:44 -04:00
Zach Daniel
8bd6a40a72 improvement: update to latest ash 2021-07-01 23:04:21 -04:00
Zach Daniel
16c04a58a4 chore: update to latest git_ops 2021-06-05 18:17:07 -04:00
Zach Daniel
5583270426 improvement: support calculation sorts 2021-06-05 18:13:20 -04:00
Zach Daniel
dae39f5fda feat: support expression based calculations
feat: support concat + if expressions
improvement: various other improvements
2021-06-04 01:48:35 -04:00
Zach Daniel
86d9e7e7bd improvement: update to latest ash 2021-05-14 01:20:10 -04:00
Zach Daniel
058d8eb45c improvement: update to the latest ash version 2021-05-09 17:44:23 -04:00
Zach Daniel
7911de61a5 improvement: support latest ash/filtering on related aggregates 2021-05-08 23:25:28 -04:00
Zach Daniel
8f80c89db9 improvement: update to latest ash 2021-05-07 12:00:52 -04:00
Zach Daniel
7d286af3c8 chore: update gitops 2021-05-07 01:13:45 -04:00
Zach Daniel
29956794ff improvement: update to latest ash
chore: add aggregate test
chore: small experimental interface change
2021-05-06 17:37:29 -04:00
Zach Daniel
7115bec586 feat: support new side load improvements 2021-04-29 17:31:34 -04:00
Zach Daniel
1cce277e7d improvement: support list aggregate 2021-04-26 16:45:47 -04:00
Zach Daniel
301f05604c improvement: support ash enums 2021-04-21 13:50:11 -04:00
Zach Daniel
737a6a5442 improvement: support new ash select feature 2021-04-09 00:53:50 -04:00
Zach Daniel
910b3e0c3d chore: update to latest ash 2021-04-04 16:25:48 -04:00
Zach Daniel
4d2d29d976 feat: support configuring references
feat: support configuring polymorphic references
feat: support `distinct` Ash queries
2021-04-01 02:19:30 -04:00
Zach Daniel
eb703efe6f fix: better embedded filters, switch to latest ash 2021-02-24 13:59:49 -05:00
Zach Daniel
33a84e1799 improvement: support latest ash 2021-02-22 23:53:18 -05:00
Zach Daniel
70568c43c0 feat: support polymorphic relationships 2021-02-05 18:59:33 -05:00
Zach Daniel
5b3fd3f144 feat: support latest ash + contains 2021-01-23 22:45:15 -05:00
Zach Daniel
9143097ba5 improvement: update to latest ash 2021-01-22 16:57:49 -05:00
Zach Daniel
dd7653a06d fix: update CI versions 2021-01-22 16:47:24 -05:00
Zach Daniel
80e63f9067 feat: support fragments
feat: support type casting

feat: update to latest ash to support expressions
2021-01-22 16:47:24 -05:00
Zach Daniel
94289b8454 chore: format 2021-01-12 20:22:28 -05:00
Zach Daniel
6c1ebccfcd chore: update mix.lock 2021-01-07 22:53:26 -05:00
Zach Daniel
b2428213c7 feat: support latest Ash version 2020-12-28 19:26:04 -05:00
Zach Daniel
8e321af566 chore: update to latest ash 2020-12-27 01:20:12 -05:00
Zach Daniel
50dc7a3a46 fix: bump ash version 2020-12-23 15:22:40 -05:00
Zach Daniel
e8dde8b2ff feat: support refs on both sides of operators 2020-12-23 14:46:49 -05:00
Zach Daniel
06c2753abe feat: don't drop columns unless explicitly told to 2020-11-19 22:09:26 -05:00
Zach Daniel
53d06867dc
improvement: mark repo as not requiring compile-time dep 2020-10-29 00:17:48 -04:00
Zach Daniel
03510dae24
feat: multitenancy (#25) 2020-10-28 22:26:45 -04:00
Zach Daniel
b78b391a5a
chore: fix ash support 2020-10-17 19:24:11 -04:00
Zach Daniel
dcce3f51fe
chore: updated ash to latest version, fix compiler warnings (#24) 2020-10-07 01:45:58 -04:00
Zach Daniel
493cfb7754
feat: update to latest ash, trigram filter 2020-10-06 01:39:47 -04:00
Zach Daniel
ff6f0e37f1
fix: add jason dependency, clean lockfile (#21) 2020-09-30 20:57:22 -04:00
Zach Daniel
51cb9c1a68
feat: support base_filter (#18) 2020-09-19 18:08:09 -04:00
Zach Daniel
24b743d31b
feat: snapshot-based migration generator 2020-09-10 20:26:47 -04:00
Zach Daniel
52a39d0597
feat: support inner joins when possible (#15)
fix: better support for aggregates/calculations when delegating
2020-09-02 00:01:34 -04:00
Zach Daniel
8cadfc937d
feat: update to ash 1.11 (#13) 2020-08-26 00:28:55 -04:00
Zach Daniel
2a89070594
feat: support Ash v1.10 (#12)
* feat: support latest ash

* feat: update to latest ash
2020-08-24 14:06:41 -04:00
Zach Daniel
f81f78bbea
fix: fix compile/dialyzer issues 2020-08-19 01:18:52 -04:00
Zach Daniel
63563a7091
feat: update to latest ash 2020-08-19 00:52:23 -04:00
Zach Daniel
5086aaeea5
feat: update to latest version of ash 2020-08-18 01:55:04 -04:00
Zach Daniel
e03cd0cd52
feat: support ash 1.7 2020-08-17 02:46:59 -04:00
Zach Daniel
8128439f38
feat: update to latest ash 2020-08-10 03:56:24 -04:00
Zach Daniel
450183465e
feat: update to latest ash 2020-07-24 22:41:32 -04:00
Zach Daniel
9417fd3a9e
chore: update to latest git_ops 2020-07-24 17:53:55 -04:00
Zach Daniel
25c520ae4a
feat: update to latest ash 2020-07-24 17:39:27 -04:00
Zach Daniel
4e64a01d22
fix: typespecs, errant IO.inspect 2020-07-23 01:38:38 -04:00
Zach Daniel
3a994e735a
feat: support ash 13.0 aggregates 2020-07-23 01:13:47 -04:00
Zach Daniel
f26449fe3f
chore: release version v0.10.0 2020-07-15 01:45:16 -04:00
Zach Daniel
f8148ae1bb
feat: update to latest ash 2020-07-13 00:41:38 -04:00
Zach Daniel
fb46805342
feat: update to latest ash 2020-07-09 03:26:43 -04:00
Zach Daniel
69de5577b5
feat: update to latest ash 2020-07-09 03:04:55 -04:00
Zach Daniel
8c40079e1f
feat: update to latest ash, add docs 2020-07-07 20:01:01 -04:00
Zach Daniel
26028774da
feat: update to ash 0.9.1 for transactions 2020-06-30 00:16:17 -04:00
Zach Daniel
507ff2ab6b
feat: update to latest ash 2020-06-28 23:47:07 -04:00
Zach Daniel
3151e3d279
feat: upgrade to latest ash 2020-06-28 22:29:38 -04:00
Zach Daniel
8e303beb5d
feat: update to latest ash 2020-06-27 15:11:28 -04:00
Zach Daniel
111b1bc477
chore: update mix.lock 2020-06-20 21:03:49 -04:00
Zach Daniel
b077520935
feat: New filter style (#10) 2020-06-18 23:04:41 -04:00
Zach Daniel
185f509571
fix: update .formatter.exs 2020-06-15 03:05:21 -04:00
Zach Daniel
6c5265b4a1
feat: use the new DSL builder for config (#7) 2020-06-14 03:04:18 -04:00
Zach Daniel
f71886c44c
fix: update ash version dependency 2020-06-04 23:50:28 -04:00
Zach Daniel
ea6e55de96
chore: fix lint issues 2020-06-02 23:29:11 -04:00
Zach Daniel
34e5880dcd
chore: fix credo warnings 2020-06-02 22:48:12 -04:00
Zach Daniel
0c773e525f
chore: release version v0.1.2 2020-06-01 01:36:43 -04:00
Zach Daniel
458db18570
chore: remove ashton in favor of nimble_options 2020-06-01 01:14:49 -04:00
Zach Daniel
00c8ae8941
WIP 2020-04-03 23:42:15 -04:00
Zach Daniel
ceb5b4069f
WIP 2020-01-17 12:24:07 -05:00
Zach Daniel
a4f24d0cdc
WIP 2019-12-08 14:06:21 -05:00
Zach Daniel
14e8400357
WIP 2019-12-08 14:03:39 -05:00
Zach Daniel
14df4a34db
WIP 2019-12-07 02:42:37 -05:00
Zach Daniel
b33945d166
WIP 2019-12-05 13:45:42 -05:00
Zach Daniel
fe3d81c606
fix typo 2019-12-04 15:18:18 -05:00
Zach Daniel
449e401714
WIP 2019-12-04 10:26:10 -05:00
Zach Daniel
27f683fa26
WIP 2019-12-04 10:13:24 -05:00
Zach Daniel
dd42c0e6a0
WIP 2019-12-02 17:01:22 -05:00
Zach Daniel
5527c31687
WIP 2019-11-26 17:33:52 -05:00
Zach Daniel
5749aa363c
move datalayer stuff into its own repo 2019-10-06 16:36:18 -04:00