Commit graph

781 commits

Author SHA1 Message Date
Shankar Dhanasekaran
fe1651169b
Remove IO.inspect (#376) 2024-08-28 08:05:18 -04:00
Zach Daniel
cf1207dd60 chore: fix recent type casting logic change 2024-08-26 11:10:54 -04:00
Zach Daniel
1c18bc6227 chore: fix ash_sql call 2024-08-26 10:45:33 -04:00
Zach Daniel
65adf04ee0 fix: ensure default bindings are present on data layer 2024-08-26 10:04:12 -04:00
Zach Daniel
1e286106e6 fix: properly traverse newtypes when determining types
closes #1406
2024-08-25 17:41:36 -04:00
Trond A Ekseth
cb172d274c
docs: Output valid example code in ValidateIdentityIndexNames (#373) 2024-08-22 09:05:53 -04:00
Zach Daniel
b437e3f147 fix: mix ash_postgres.install not adding ash_functions/min_pg_version 2024-08-18 07:43:06 -04:00
Zach Daniel
59d1c3d6cc fix: properly handle new igniter installer functions 2024-08-17 12:05:33 -04:00
Zach Daniel
dda21bc6c4 chore: release version v2.2.1 2024-08-16 15:44:57 -04:00
Zach Daniel
8bf9864732 improvement: include min_pg_version in new generators 2024-08-16 15:39:53 -04:00
Zach Daniel
d2b73fc3c3 fix: set a proper default for skip_unique_indexes 2024-08-15 10:43:22 -04:00
Zach Daniel
10cf60cdc1 fix: remove Agent "convenience" for determining min pg version
We need to require that users provide this function. To that end we're
adding a warning in a minor release branch telling users to define this.
The agent was acting as a bottleneck that all queries must go through,
causing nontrivial performance issues at scale.
2024-08-13 09:58:25 -04:00
Jonatan Männchen
a539f6443e
fix: handle filter condition on create (#368) 2024-08-12 14:48:45 -04:00
Zach Daniel
73c7a915e0 chore: format 2024-08-12 14:45:04 -04:00
Zach Daniel
5e8ac4bf7e fix: we missed a change when preparing for ecto 3.12 parameterized type changes 2024-08-12 14:22:21 -04:00
Jonatan Männchen
2d1c7d48ce
chore: Cleanup Test Output (#366) 2024-08-07 10:38:00 -04:00
Zach Daniel
2ddc53885b improvement: dynamically select and allow setting a repo 2024-07-31 17:48:55 -04:00
Zach Daniel
ac08104b25 fix: don't overwrite non-updated fields on update
improvement: update ash_sql for cleaner queries
2024-07-25 16:16:12 -04:00
Zach Daniel
e49b678351 fix: ensure app is compiled before using repo modules 2024-07-24 17:22:14 -04:00
Zach Daniel
cb397e9387 fix: use a subquery if any exists aggregates are in play
improvement: update ash_sql dependencies for bug fixes
2024-07-23 07:57:57 -04:00
Zach Daniel
1b687b6c2a fix: properly convert tenant to string when building lateral join 2024-07-22 15:38:42 -04:00
Zach Daniel
b00a7e6482 fix: update ash & ash_sql for fixes, test atomic alidations in destroys 2024-07-22 11:49:59 -04:00
Zach Daniel
384344ab6b fix: properly add prod config in installer 2024-07-19 15:11:44 -04:00
Zach Daniel
5d9f2cd693 chore: remove debugging code 2024-07-19 13:30:13 -04:00
Zach Daniel
b3eea1e440 chore: fix build 2024-07-19 13:28:39 -04:00
Zach Daniel
8b5b5b4b6b fix: properly perform or don't perform configuration modification code 2024-07-19 12:34:06 -04:00
Zach Daniel
142e74f026 improvement: prepend :postgres to section order 2024-07-19 08:34:34 -04:00
Jesse Williams
8f79fcb59d
fix: allow non-unique has_many source_attributes (#355)
* fix: allow non-unique has_many source_attributes

* fix composite primary key case
2024-07-18 16:37:31 -04:00
Zach Daniel
c63c988339 improvement: pluralize table name in extender
chore: get build passing & clean up code

closes #354
2024-07-18 12:53:38 -04:00
Zach Daniel
6b100a0559 chore: update changelog 2024-07-15 13:54:29 -04:00
Zach Daniel
ab97b2947b improvement: add binding() expression 2024-07-15 10:25:39 -04:00
Zach Daniel
5a9812f016 fix: ensure synthesized query aggregates have context set 2024-07-15 09:20:39 -04:00
Zach Daniel
252acd423a chore: don't use deprecated function 2024-07-14 22:11:06 -04:00
Zach Daniel
da925604a8 improvement: use latest type casting code from ash 2024-07-14 11:44:33 -04:00
Zach Daniel
cef4c8fce0 improvement: support new type determination code 2024-07-14 09:25:49 -04:00
Zach Daniel
00a9db3cc0 improvement: detect more cases when detecting types in expressions 2024-07-13 15:11:38 -04:00
Zach Daniel
ef58c78313 test: add more tests for atomic update interactions
chore: get build passing
2024-07-12 23:23:42 -04:00
Zach Daniel
7dcf19e895 fix: update ash_sql to fix select_merge behavior 2024-07-11 08:58:13 -04:00
Zach Daniel
63324c19e9 fix: properly interpolate module names in installer 2024-07-10 08:47:06 -04:00
Zach Daniel
a085303da8 chore: fix build 2024-07-09 20:52:25 -04:00
Zach Daniel
ca27613f9f chore: remove unused function 2024-07-09 20:42:04 -04:00
Zach Daniel
5b9d0ea18a
improvement: add DataCase creation for igniter installer (#346)
* improvement: add DataCase creation for igniter installer

* chore: remove kind favoring path

---------

Co-authored-by: Igor Barakaiev <ibarakaiev@gmail.com>
2024-07-09 20:40:05 -04:00
Zach Daniel
cdbb5e294f chore: ensure proper return value for installer 2024-07-09 20:28:30 -04:00
Alessio Montagnani
72b029be21
improvement: add support for :uuid_v7 type (#333) 2024-07-09 19:57:38 -04:00
Zach Daniel
7dae2408d4 chore: choose a shorter name for mix task 2024-07-09 17:43:06 -04:00
Zach Daniel
24576c168c fix: ensure that we return {:ok, zipper} from find_and_update_or_create_module
closes #345
2024-07-09 07:54:50 -04:00
Zach Daniel
d293d0f302 improvement: use Ash.Igniter.codegen 2024-07-08 15:56:58 -04:00
Barnabas Jovanovics
3385bd21f1
improvement: add storage type option (#342)
---------

Co-authored-by: Zach Daniel <zach@zachdaniel.dev>
2024-07-08 09:54:50 -04:00
Zach Daniel
f0d07a3a4d fix: ensure that from_many? relationships in lateral join are limited 2024-07-06 06:38:31 -04:00
Riccardo Binetti
3741bbc0b3
chore: fix 1.17 warning (#343) 2024-07-05 12:29:23 -04:00