Commit graph

1546 commits

Author SHA1 Message Date
Zach Daniel
769f8bfccf fix: update ash_sql for exists aggregate fixes 2024-08-09 16:09:49 -04:00
Zach Daniel
cc7a761512 chore: make test assertion clearer to debug CI 2024-08-08 10:01:33 -04:00
dependabot[bot]
cdd94a8b93
chore(deps): bump the production-dependencies group with 3 updates (#367)
Bumps the production-dependencies group with 3 updates: [ash](https://github.com/ash-project/ash), [igniter](https://github.com/ash-project/igniter) and [postgrex](https://github.com/elixir-ecto/postgrex).


Updates `ash` from 3.3.2 to 3.3.3
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v3.3.2...v3.3.3)

Updates `igniter` from 0.3.16 to 0.3.17
- [Changelog](https://github.com/ash-project/igniter/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/igniter/compare/v0.3.16...v0.3.17)

Updates `postgrex` from 0.18.0 to 0.19.0
- [Release notes](https://github.com/elixir-ecto/postgrex/releases)
- [Changelog](https://github.com/elixir-ecto/postgrex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/elixir-ecto/postgrex/compare/v0.18.0...v0.19.0)

---
updated-dependencies:
- dependency-name: ash
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: production-dependencies
- dependency-name: igniter
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: production-dependencies
- dependency-name: postgrex
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: production-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-08 08:53:03 -04:00
Jonatan Männchen
2d1c7d48ce
chore: Cleanup Test Output (#366) 2024-08-07 10:38:00 -04:00
dependabot[bot]
bc0cb6babd
chore(deps): bump the production-dependencies group with 2 updates (#365)
Bumps the production-dependencies group with 2 updates: [ash](https://github.com/ash-project/ash) and [igniter](https://github.com/ash-project/igniter).


Updates `ash` from 3.3.1 to 3.3.2
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v3.3.1...v3.3.2)

Updates `igniter` from 0.3.14 to 0.3.16
- [Changelog](https://github.com/ash-project/igniter/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/igniter/compare/v0.3.14...v0.3.16)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-01 12:23:46 -04:00
Zach Daniel
2ddc53885b improvement: dynamically select and allow setting a repo 2024-07-31 17:48:55 -04:00
Zach Daniel
cba3966569 improvement: update ash_sql for latest fixes
test: add test for exists w/ from_many? relationship
2024-07-30 17:15:39 -04:00
Zach Daniel
b84713cca7 chore: release version v2.1.17 2024-07-27 17:13:49 -04:00
Zach Daniel
fb5e57cccf improvement: update ash & ash_sql for various fixes 2024-07-27 17:06:58 -04:00
Robert Timis
793d27ddd1
test: replicate type mismatch bug (#364) 2024-07-27 14:27:02 -04:00
Zach Daniel
07d84d4034 chore: release version v2.1.16 2024-07-25 16:18:43 -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
Robert Timis
be7329d21a
docs: Update migrations-and-tasks.md (#363)
Add missing filter to account for resources without repo
2024-07-25 10:46:14 -04:00
Zach Daniel
2b4befedf1 chore: add igniter.install version of getting started guide 2024-07-25 07:02: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
de2d344de7 chore: release version v2.1.15 2024-07-23 08:11:00 -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
Barnabas Jovanovics
306dc84ac2
test validation aggregates individually as well (#360)
* test aggregates individually as well

* test with atomic and non atomic actions

* test atomic and non atomic actions

* use message in context
2024-07-23 06:55:44 -04:00
Barnabas Jovanovics
9e4efa7b9b remove Logger config and enable aggregates in validation again 2024-07-23 10:00:52 +02:00
Barnabas Jovanovics
0a6f890907 add update case to validation test 2024-07-23 09:39:18 +02:00
Zach Daniel
605703c2e5 chore: release version v2.1.14 2024-07-22 15:41:55 -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
8cd441a646 chore: release version v2.1.13 2024-07-22 11:50:22 -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
Barnabas Jovanovics
a672c89697
test: test more aggregates (#359) 2024-07-22 11:25:00 -04:00
Barnabas Jovanovics
ece56c2bc9
test: add test for list aggregate in atomic validation (#358) 2024-07-22 10:29:00 -04:00
Zach Daniel
01edc539fc chore: release version v2.1.12 2024-07-19 15:12:46 -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
938611f4ba chore: release version v2.1.11 2024-07-19 12:35:44 -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
Zach Daniel
ff7b854c3e chore: update changelog 2024-07-18 18:51:04 -04:00
Zach Daniel
a1d0d7a97a chore: release version v2.1.10 2024-07-18 18:48:40 -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
c47ed40a55 chore: release version v2.1.9 2024-07-18 12:57:04 -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
dependabot[bot]
4cb3a72c54
chore(deps-dev): bump mix_audit in the dev-dependencies group (#353)
Bumps the dev-dependencies group with 1 update: [mix_audit](https://github.com/mirego/mix_audit).


Updates `mix_audit` from 2.1.3 to 2.1.4
- [Changelog](https://github.com/mirego/mix_audit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mirego/mix_audit/compare/v2.1.3...v2.1.4)

---
updated-dependencies:
- dependency-name: mix_audit
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-18 08:34:08 -04:00
dependabot[bot]
0cac01fe30
chore(deps): bump ash in the production-dependencies group (#352)
Bumps the production-dependencies group with 1 update: [ash](https://github.com/ash-project/ash).


Updates `ash` from 3.2.1 to 3.2.2
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v3.2.1...v3.2.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-18 08:33:38 -04:00
Zach Daniel
0bf9c4e9ec fix: update ash_sql for parent_as binding fix 2024-07-17 11:41:42 -04:00
Zach Daniel
10983856b1 chore: update tests/migrations 2024-07-17 11:40:17 -04:00
Robert Timis
64740bac18
test: replicate error when using calculation over nested relationship (#351) 2024-07-17 08:09:45 -04:00
Zach Daniel
455106be7e chore: update changelog 2024-07-16 23:10:18 -04:00
Zach Daniel
aedbaeeb10 chore: release version v2.1.8 2024-07-16 23:01:10 -04:00
Zach Daniel
d5f5bae117 test: add tests for include_nil? on first aggregates as well 2024-07-16 22:58:14 -04:00
Zach Daniel
67ab07abce fix: update to latest ash version for aggregate fix 2024-07-16 22:42:53 -04:00
Zach Daniel
7cf06f3956 fix: update ash_sql for include_nil? fix and test it 2024-07-16 22:40:15 -04:00
Zach Daniel
2393c2c633 chore: update tests to account for non-keepable-atom-keys 2024-07-16 18:22:23 -04:00
Robert Timis
1e637f9205
test: replicate error when building json object and using inline aggregate (#350) 2024-07-16 15:39:04 -04:00