Commit graph

1522 commits

Author SHA1 Message Date
Zach Daniel
6cd11def01 chore: update ash_sql 2024-05-05 06:00:22 -04:00
Zach Daniel
8eef44951c test additional bulk action tests 2024-05-03 21:26:08 -04:00
Lukas Ender
f405225731
feat: test with calculations using exists (#240) 2024-05-03 12:31:42 -04:00
Zach Daniel
1bf01f14a2 chore: update ash 2024-05-03 00:03:22 -04:00
Zach Daniel
77b824e23d fix: update ash & fix subquery sort references 2024-05-03 00:02:04 -04:00
Zach Daniel
56f3a5eb2f fix: fix calculate when exprs aren't dynamics
test: add test for datetimes
2024-05-02 21:29:21 -04:00
Riccardo Binetti
65f93561d8
chore: add failing test for bulk actions and non-null violations (#260)
- bulk_create returns a Postgrex error instead of Ash.Error.Changes.Required
like the non-bulk create does
- bulk_update with :stream strategy does the same
- bulk_update with :atomic strategy doesn't trim the empty string and writes it
to the database
2024-05-02 20:31:35 -04:00
Zach Daniel
3e95715be8 chore: update ash_sql for bug fix 2024-05-02 01:40:32 -04:00
Zach Daniel
8beacf0b38 chore: fix link to ash_postgres 2024-05-01 16:23:51 -04:00
Zach Daniel
a4bd02535f chore: update package description 2024-05-01 15:22:28 -04:00
Zach Daniel
9c60027506 chore: remove unnecessary 2024-05-01 14:45:42 -04:00
Zach Daniel
c26fdf358f chore: update documentation with new standards 2024-05-01 14:40:16 -04:00
Zach Daniel
a6c1dedffb test: add tests for fix in ash_sql around actor refs in relationships 2024-05-01 08:27:49 -04:00
dependabot[bot]
098a8f845e
chore(deps): bump ash from 3.0.0-rc.38 to 3.0.0-rc.39 (#257) 2024-05-01 07:15:43 -04:00
dependabot[bot]
38b6c92526
chore(deps): bump ash_sql from 0.1.1-rc.13 to 0.1.1-rc.15 (#255) 2024-04-30 09:43:16 -04:00
Zach Daniel
2c1ae04630 chore: release version v2.0.0-rc.14 2024-04-29 17:05:45 -04:00
Zach Daniel
8ca1383b7b improvement: support latest ash & calculate/3 capability 2024-04-29 17:05:23 -04:00
dependabot[bot]
e1a9af2d87
chore(deps): bump ash from 3.0.0-rc.32 to 3.0.0-rc.36 (#254) 2024-04-29 07:01:37 -04:00
Zach Daniel
76cfa7b5bb chore: release version v2.0.0-rc.13 2024-04-27 11:20:42 -04:00
Zach Daniel
203b4ca287 fix: ensure limit/offset triggers joining for update/destroy query 2024-04-27 09:49:47 -04:00
Zach Daniel
c8d9dfa826 fix: only reference sub if a subquery is created 2024-04-27 09:44:35 -04:00
dependabot[bot]
5cfba7c6fa
chore(deps): bump ash from 3.0.0-rc.29 to 3.0.0-rc.32 (#253)
Bumps [ash](https://github.com/ash-project/ash) from 3.0.0-rc.29 to 3.0.0-rc.32.
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v3.0.0-rc.29...v3.0.0-rc.32)

---
updated-dependencies:
- dependency-name: ash
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-26 23:56:55 -04:00
Zach Daniel
5de491dc1b chore: update ash 2024-04-26 23:55:01 -04:00
Zach Daniel
ba8465e037 chore: release version v2.0.0-rc.12 2024-04-26 23:53:43 -04:00
Zach Daniel
a2083ff736 fix: update ash_sql for inner join fixes
closes #252

chore: small test fixes
2024-04-26 23:51:29 -04:00
Riccardo Binetti
4bad5990c8
fix: fix argument order in AshSql.Bindings.default_bindings/4 (#251) 2024-04-26 19:32:42 -04:00
Zach Daniel
49548bb964 chore: update ash_sql 2024-04-26 03:23:31 -04:00
Zach Daniel
0fedb25de0 chore: release version v2.0.0-rc.11 2024-04-24 11:50:45 -04:00
Zach Daniel
1524501236 fix: properly honor limit in bulk operations 2024-04-24 10:17:05 -04:00
Albin Kocheril Chacko
731a9faad3
docs: align ash.codegen params with current version (#246) 2024-04-24 08:56:56 -04:00
dependabot[bot]
d44c057345
chore(deps): bump ash from 3.0.0-rc.28 to 3.0.0-rc.29 (#245) 2024-04-24 06:28:50 -04:00
Zach Daniel
673cd0312f fixs: fix dialyzer warning 2024-04-23 14:15:33 -04:00
Zach Daniel
090193f4ca chore: loosen dependency requirements 2024-04-23 10:57:45 -04:00
Zach Daniel
fba7a9e4f8 chore: release version v2.0.0-rc.10 2024-04-23 10:38:47 -04:00
Zach Daniel
1ad3cd4ba0 fix: undo change that expresses that atomics cant be done without ash-functions 2024-04-23 10:30:13 -04:00
Zach Daniel
1b844d7412 chore: update mix.lock 2024-04-22 20:43:06 -04:00
Zach Daniel
5875b17407 chore: release version v2.0.0-rc.9 2024-04-22 20:42:44 -04:00
Zach Daniel
3c4a3d30a5 fix: handle missing aggregate relationships and fields better in transformers
fix: update ash_sql for bug fixes
2024-04-22 20:42:11 -04:00
32448ea5de
chore: Add failing test for tenanted aggregate bug. (#244) 2024-04-22 19:06:06 -04:00
Zach Daniel
ec91e2ee9b fix: reproduce issue around atomic updates & validations 2024-04-22 18:58:57 -04:00
Zach Daniel
d26a189946 improvement: warn on missing ash-functions at compile time
closes #242
2024-04-22 12:08:30 -04:00
Zach Daniel
1b44e3199a chore: release version v2.0.0-rc.8 2024-04-22 11:34:04 -04:00
Zach Daniel
3007ebf1bf chore: update ash_sql dependency 2024-04-22 11:31:13 -04:00
Zach Daniel
7f3661ce42 chore: support adapter option to use AshPostgres.Repo 2024-04-21 11:11:00 -04:00
Zach Daniel
90ae9aeef9 chore: add mix_audit 2024-04-21 09:56:19 -04:00
Zach Daniel
8f1ae86db9 test: add some explicit destroy/soft destroy tests 2024-04-21 09:35:47 -04:00
Zach Daniel
a66a0f694c chore: update deps 2024-04-20 15:20:59 +01:00
Zach Daniel
48a31b17da chore: fix dep 2024-04-20 14:44:19 +01:00
Zach Daniel
4957ed28f3 fix: ensure that exists with a filter paired with from_many? functions properly 2024-04-20 14:39:53 +01:00
dependabot[bot]
4d18f56baf
chore(deps): bump ash from 3.0.0-rc.21 to 3.0.0-rc.25 (#241) 2024-04-19 19:31:53 +01:00