Commit graph

1458 commits

Author SHA1 Message Date
Zach Daniel
a930457d87 docs: move new note to what-is-ash-postgres.md 2024-07-09 11:20:36 -04:00
Zach Daniel
1f370b6357 docs: update readme with note on version support 2024-07-09 11:19:46 -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
Rebecca Le
afe4a657e9
docs: Add note that nulls_distinct requires PostgreSQL 15 (#341)
Unfortunately it's not an option on indexes in PostgreSQL 14 :( 

https://www.postgresql.org/docs/14/sql-createindex.html
2024-07-04 07:45:42 -04:00
Igor Barakaiev
ffbfc1c23a
fix: default_repo_contents in ash_postgres.install (#340) 2024-07-03 12:12:37 -04:00
Zach Daniel
bc42cce55b chore: generate migrations 2024-07-03 11:52:01 -04:00
Zach Daniel
e42be38183 chore: update to latest igniter goodies 2024-07-02 18:07:50 -04:00
Zach Daniel
ffd3ff5a81 test: rollback change for uuid -> string type in tests 2024-07-02 13:01:54 -04:00
Zach Daniel
7d41e69a11 chore: gen migrations 2024-07-02 12:46:03 -04:00
Zach Daniel
185e9bea83 test: adjustments for tests 2024-07-02 12:30:25 -04:00
Zach Daniel
e42665b14c chore: update to latest igniter 2024-07-01 21:34:47 -04:00
Dmitry Maganov
ead7db2af7
improvement: order keys in snapshot json (#339) 2024-06-29 09:20:41 -04:00
Igor Barakaiev
58311f7152
fix: check for existing installed_extensions/0 in ash_postgres.install (#338) 2024-06-27 17:05:53 -04:00
Zach Daniel
844d9b0717 chore: fix 1.17 warning 2024-06-27 13:49:03 -04:00
dependabot[bot]
c21cb69979
chore(deps): bump ash_sql in the production-dependencies group (#337)
Bumps the production-dependencies group with 1 update: [ash_sql](https://github.com/ash-project/ash_sql).


Updates `ash_sql` from 0.2.6 to 0.2.7
- [Changelog](https://github.com/ash-project/ash_sql/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash_sql/compare/v0.2.6...v0.2.7)

---
updated-dependencies:
- dependency-name: ash_sql
  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-06-27 09:26:22 -04:00
Igor Barakaiev
75a87e854a
fix: typo in configure_runtime/3 (#336) 2024-06-26 11:40:17 -04:00
Igor Barakaiev
278b2a31a5
fix: configure_runtime/3 in ash_postgres.install (#335) 2024-06-26 08:00:35 -04:00
Zach Daniel
c31c8685b9 docs: remove unused code from docs 2024-06-25 08:25:17 -04:00
Zach Daniel
e520ddfc35 chore: get build passing
fix: properly delete args passed from migrate to ecto
2024-06-24 10:20:16 -04:00
dependabot[bot]
804a32ef28
chore(deps): bump ash from 3.0.15 to 3.0.16 (#334)
Bumps [ash](https://github.com/ash-project/ash) from 3.0.15 to 3.0.16.
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v3.0.15...v3.0.16)

---
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-06-24 08:20:37 -04:00
Zach Daniel
6e60f1aea3 ci: dependabot weekly 2024-06-24 08:20:09 -04:00
Zach Daniel
6b1f6bae2a improvement: add mix ash_postgres.install (mix igniter.install ash_postgres) 2024-06-21 19:49:47 -04:00
Zach Daniel
46279527bf chore: update changelog 2024-06-20 17:43:20 -04:00
Zach Daniel
9b82696dbf chore: release version v2.0.12 2024-06-20 17:43:05 -04:00
Zach Daniel
bd8657e593 fix: only add references indexes if they've changed 2024-06-20 17:32:04 -04:00
Zach Daniel
b53ef4f281 chore: update docs description 2024-06-20 12:02:47 -04:00
Zach Daniel
51c5c3c846 chore: release version v2.0.11 2024-06-19 20:03:27 -04:00
Zach Daniel
95a3ff3c00 fix: store fallback_basis for type detection 2024-06-19 19:49:33 -04:00
Zach Daniel
10f106490c fix: rework expression type detection 2024-06-19 19:30:36 -04:00
Emad Shaaban
8bf1e2ede9
fix: ensure index keys are atoms in generated migrations (#332)
---------

Co-authored-by: Zach Daniel <zach@zachdaniel.dev>
2024-06-19 14:22:21 -04:00
Zach Daniel
94f7c2f582 chore: update ash_sql 2024-06-18 16:38:19 -04:00
Zach Daniel
c539e53f12 chore: release version v2.0.10 2024-06-18 16:37:56 -04:00
Zach Daniel
526020e26c improvement: better type handling using new type inference 2024-06-18 16:37:32 -04:00
Zach Daniel
846a8fca06 chore: fix migration code 2024-06-18 09:16:06 -04:00
Barnabas Jovanovics
2a1bc993eb
test: update tests to show many_to_many filter problem (#309) 2024-06-18 09:03:24 -04:00
Zach Daniel
860d085386 fix: update ash_sql to fix query generation issues 2024-06-18 07:50:54 -04:00
Barnabas Jovanovics
14938f9f47
test: add test to show error with building a reference (#330) 2024-06-18 06:23:27 -04:00
Zach Daniel
cacf71cd55 fix: ensure that parens are always added to calculation generated SQL 2024-06-17 15:34:05 -04:00
Zach Daniel
2287b45a59 chore: don't wrap the sql in parens 2024-06-17 15:26:04 -04:00
Zach Daniel
54c88a882c fix: properly get calculation sql 2024-06-17 15:07:05 -04:00
Zach Daniel
97e538bf63 improvement: identities w/ calculations and where clauses in upserts 2024-06-17 11:39:26 -04:00
dependabot[bot]
0db1b29c23
chore(deps): bump ash from 3.0.11 to 3.0.12 (#329)
Bumps [ash](https://github.com/ash-project/ash) from 3.0.11 to 3.0.12.
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v3.0.11...v3.0.12)

---
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-06-17 09:04:09 -04:00
dependabot[bot]
c3190fe49c
chore(deps): bump ash_sql from 0.2.4 to 0.2.5 (#328) 2024-06-14 10:50:14 -04:00
dependabot[bot]
da4aae676e
chore(deps): bump ecto_sql from 3.11.2 to 3.11.3 (#327) 2024-06-14 10:50:02 -04:00
Jechol Lee
a3a2905c68
Fix Elixir 1.17 warnings (#326) 2024-06-13 19:54:22 -04:00
Zach Daniel
555ea28e21 chore: bump ash_sql version 2024-06-13 09:54:34 -04:00