@@ -5,11 +5,25 @@ See [Conventional Commits](https://www.conventionalcommits.org) for commit guide
55
66<!-- changelog -->
77
8+ ## [ v2.4.12] ( https://github.com/ash-project/ash_postgres/compare/v2.4.11...v2.4.12 ) (2024-10-30)
9+
10+ ### Bug Fixes:
11+
12+ * [ query builder] don't double add distinct clauses
13+
14+ * [ ` AshPostgres.DataLayer ` ] don't use ` cast ` for changes
15+
16+ ### Improvements:
17+
18+ * [ ` AshPostgres.Repo ` ] set ` prefer_transaction? ` to false in generated repos
19+
20+ * [ ` AshPostgres.DataLayer ` ] support prefer_transaction?
21+
822## [ v2.4.11] ( https://github.com/ash-project/ash_postgres/compare/v2.4.10...v2.4.11 ) (2024-10-23)
923
1024### Bug Fixes:
1125
12- - ensure repo_opts is passed through to ` repo.all/2 `
26+ - [ upserts ] ensure repo_opts is passed through to ` repo.all/2 `
1327
1428## [ v2.4.10] ( https://github.com/ash-project/ash_postgres/compare/v2.4.9...v2.4.10 ) (2024-10-23)
1529
@@ -19,107 +33,101 @@ See [Conventional Commits](https://www.conventionalcommits.org) for commit guide
1933
2034### Bug Fixes:
2135
22- - when an atomic update is fully skipped, run the query if it could produce errors
36+ - [ upserts ] run any query that could produce errors when performing atomic upgrade
2337
24- - run any query that could produce errors when performing atomic upgrade
25-
26- - race condition compiling migrations when concurrently creating new tenants (#406 )
38+ - [ multitenant migrations] race condition compiling migrations when concurrently creating new tenants (#406 )
2739
2840## [ v2.4.9] ( https://github.com/ash-project/ash_postgres/compare/v2.4.8...v2.4.9 ) (2024-10-16)
2941
3042### Bug Fixes:
3143
32- - fix resource generator task & tests
44+ - [ ` mix ash_postgres.gen.resources ` ] fix resource generator task & tests
3345
3446## [ v2.4.8] ( https://github.com/ash-project/ash_postgres/compare/v2.4.7...v2.4.8 ) (2024-10-11)
3547
3648### Improvements:
3749
38- - use the ` name ` parameter when generating migrations
50+ - [ migration generator ] use the ` name ` parameter when generating migrations
3951
4052## [ v2.4.7] ( https://github.com/ash-project/ash_postgres/compare/v2.4.6...v2.4.7 ) (2024-10-10)
4153
4254### Improvements:
4355
44- - adapt to fixes and optimizations around skipped upserts in ash core
56+ - [ upserts ] adapt to fixes and optimizations around skipped upserts in ash core
4557
4658## [ v2.4.6] ( https://github.com/ash-project/ash_postgres/compare/v2.4.5...v2.4.6 ) (2024-10-07)
4759
4860### Improvements:
4961
50- - with ` --yes ` assume oldest version
62+ - [ ` mix ash_postgres.install ` ] with ` --yes ` assume oldest version
5163
5264## [ v2.4.5] ( https://github.com/ash-project/ash_postgres/compare/v2.4.4...v2.4.5 ) (2024-10-06)
5365
5466### Bug Fixes:
5567
56- - ensure upsert fields are uniq
68+ - [ upserts ] ensure upsert fields are uniq
5769
5870### Improvements:
5971
60- - detect 1 arg repo use in installer
72+ - [ ` mix ash_postgres.install ` ] detect 1 arg repo use in installer
6173
62- - support to_ecto(%Ecto.Changeset{}) and from_ecto(%Ecto.Changeset{}) (#395 )
74+ - [ ` AshPostgres.Repo ` ] support to_ecto(%Ecto.Changeset{}) and from_ecto(%Ecto.Changeset{}) (#395 )
6375
6476## [ v2.4.4] ( https://github.com/ash-project/ash_postgres/compare/v2.4.3...v2.4.4 ) (2024-09-29)
6577
6678### Bug Fixes:
6779
68- - handle atomic array operations
80+ - [ atomic updates ] handle atomic array operations
6981
7082## [ v2.4.3] ( https://github.com/ash-project/ash_postgres/compare/v2.4.2...v2.4.3 ) (2024-09-27)
7183
7284### Bug Fixes:
7385
74- - support pg <= 14 in resource generator, and update tests
86+ - [ ` mix ash_postgres.gen.resources ` ] support pg <= 14 in resource generator, and update tests
7587
7688## [ v2.4.2] ( https://github.com/ash-project/ash_postgres/compare/v2.4.1...v2.4.2 ) (2024-09-24)
7789
7890### Bug Fixes:
7991
80- - typo of ` biging ` -> ` bigint `
92+ - [ migration generator ] typo of ` biging ` -> ` bigint `
8193
82- - altering attributes not properly generating foreign keys in some cases
94+ - [ migration generator ] altering attributes not properly generating foreign keys in some cases
8395
84- - installer: use correct module name in the ` DataCase ` moduledocs. (#393 )
96+ - [ ` mix ash_postres.install ` ] use correct module name in the ` DataCase ` moduledocs. (#393 )
8597
86- - trim input before passing to ` String.to_integer/1 ` . (#389 )
98+ - [ migration generator ] trim input before passing to ` String.to_integer/1 ` . (#389 )
8799
88100### Improvements:
89101
90- - add ` --repo ` option to installer, and warn on clashing existing repo
102+ - [ ` mix ash_postgres.install ` ] add ` --repo ` option to installer, and warn on clashing existing repo
91103
92- - prompt for minimum pg version
104+ - [ ` mix ash_postgres.install ` ] prompt for minimum pg version
93105
94- - adjust mix task aliases to be used with ` ash_postgres `
106+ - [ ` mix ash_postgres.install ` ] adjust mix task aliases to be used with ` ash_postgres `
95107
96- - set a name for generated migrations
108+ - [ migration generator ] set a name for generated migrations
97109
98110## [ v2.4.1] ( https://github.com/ash-project/ash_postgres/compare/v2.4.0...v2.4.1 ) (2024-09-16)
99111
100112### Bug Fixes:
101113
102- - ensure that returning is not an empty list
114+ - [ bulk updates ] ensure that returning is never an empty list
103115
104- - match on table schema as well as table name
116+ - [ ` mix ash_postgres.gen.resources ` ] match on table schema as well as table name
105117
106118## [ v2.4.0] ( https://github.com/ash-project/ash_postgres/compare/v2.3.1...v2.4.0 ) (2024-09-13)
107119
108120### Features:
109121
110- - Implement Ltree Type (#385 )
122+ - [ ` AshPostgres.Ltree ` ] Implement Ltree Type (#385 )
111123
112124### Improvements:
113125
114- - update ash to latest version
115-
116- - remove LEAKPROOF from function to prevent migration issues
117-
118- - support upcoming ` action_select ` options
126+ - [ migration generator] remove LEAKPROOF from function to prevent migration issues
119127
120- - ensure ` Repo ` is started after telemetry in igniter installer
128+ - [ ` Ash.Changeset ` ] support upcoming ` action_select ` options
121129
122- - update to latest igniter functions
130+ - [ ` mix ash.install ` ] ensure ` Repo ` is started after telemetry in igniter installer
123131
124132## [ v2.3.1] ( https://github.com/ash-project/ash_postgres/compare/v2.3.0...v2.3.1 ) (2024-09-05)
125133
0 commit comments