Commit graph

1494 commits

Author SHA1 Message Date
Barnabas Jovanovics
6d0cca1fae
test: show error with calc depending on other exists calc (#280) 2024-05-14 08:35:40 -04:00
Zach Daniel
4b6f2baddd docs: fix link to pg docs 2024-05-13 13:27:05 -04:00
dependabot[bot]
8a69af9a4b
chore(deps-dev): bump git_ops from 2.6.0 to 2.6.1 (#278) 2024-05-13 09:17:56 -04:00
Zach Daniel
d0c7984a89 test: add tests for action filters in bulk update/destroy
fix: ensure filter is included in stale record error message
2024-05-12 16:28:48 -04:00
Zach Daniel
11e8473a7c chore: release version v2.0.1 2024-05-12 12:51:13 -04:00
Zach Daniel
2421e6fc2c fix: properly parse previous version from migration generation 2024-05-12 12:51:13 -04:00
Nicholas Moen
9e2c01693f
docs: change 'Get Started' guide for Ash 3.0 compatibility (#277) 2024-05-11 22:20:52 -04:00
dependabot[bot]
66b2cfd0c7
chore(deps): bump ash_sql from 0.1.1-rc.19 to 0.1.2 (#276)
Bumps [ash_sql](https://github.com/ash-project/ash_sql) from 0.1.1-rc.19 to 0.1.2.
- [Changelog](https://github.com/ash-project/ash_sql/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash_sql/compare/v0.1.1-rc.19...v0.1.2)

---
updated-dependencies:
- dependency-name: ash_sql
  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-05-11 02:06:05 -04:00
dependabot[bot]
58f09e41c5
chore(deps-dev): bump credo from 1.7.5 to 1.7.6 (#275) 2024-05-11 02:02:51 -04:00
Zach Daniel
df53ef8613 chore: release version v2.0.0 2024-05-10 17:20:42 -04:00
Zach Daniel
590fb64db3 fix: ensure that codegen dry run works 2024-05-09 14:31:54 -04:00
Zach Daniel
8ce969317f docs: add additional context for nothing & restrict 2024-05-08 20:30:37 -04:00
Zach Daniel
4e64c6e70a docs: revamp changelog 2024-05-08 18:45:00 -04:00
dependabot[bot]
1cd808244b
chore(deps): bump ash from 3.0.0-rc.45 to 3.0.0-rc.46 (#272) 2024-05-07 12:02:06 -04:00
Zach Daniel
f6b1aa3d29 fix: ensure we don't duplicate selects on destroy_query calls
we fixed this by combining the logic for query building for bulk destroys
and bulk updates
2024-05-06 11:27:13 -04:00
Jechol Lee
459d853d28
fix: resolve_renames that keeps columns to be renamed in list of columns to add (#269) 2024-05-06 09:02:34 -04:00
dependabot[bot]
ca141cd095
chore(deps): bump ash_sql from 0.1.1-rc.18 to 0.1.1-rc.19 (#268)
Bumps [ash_sql](https://github.com/ash-project/ash_sql) from 0.1.1-rc.18 to 0.1.1-rc.19.
- [Changelog](https://github.com/ash-project/ash_sql/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash_sql/compare/v0.1.1-rc.18...v0.1.1-rc.19)

---
updated-dependencies:
- dependency-name: ash_sql
  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-05-06 09:01:58 -04:00
Rebecca Le
35fb3c7ea7
docs: Fix typo in page title (#267) 2024-05-06 09:01:31 -04:00
Zach Daniel
fa7de43532 chore: release version v2.0.0-rc.15 2024-05-05 11:40:31 -04:00
Zach Daniel
3334999eb1 fix: properly pass old version in when migrating extensions 2024-05-05 11:40:07 -04:00
Zach Daniel
4dd588c043 fix: honor dry_run option in extension migrations 2024-05-05 11:13:30 -04:00
Frank Dugan III
bc02a4d23c
feat: add timestamptz types (#266) 2024-05-05 06:08:21 -04:00
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