ash_postgres/CHANGELOG.md

3786 lines
71 KiB
Markdown
Raw Normal View History

2020-06-01 17:36:43 +12:00
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](Https://conventionalcommits.org) for commit guidelines.
<!-- changelog -->
2023-09-01 08:03:40 +12:00
## [v1.3.46](https://github.com/ash-project/ash_postgres/compare/v1.3.45...v1.3.46) (2023-08-31)
### Bug Fixes:
* use provided values for updates
2023-09-01 05:04:34 +12:00
## [v1.3.45](https://github.com/ash-project/ash_postgres/compare/v1.3.44...v1.3.45) (2023-08-31)
### Bug Fixes:
* don't clobber loaded data on update
2023-09-01 03:48:21 +12:00
## [v1.3.44](https://github.com/ash-project/ash_postgres/compare/v1.3.43...v1.3.44) (2023-08-31)
### Bug Fixes:
* properly handle ensure nsted calls to `get_path` are jsonb
### Improvements:
* support atomics (#165)
2023-08-23 07:29:46 +12:00
## [v1.3.43](https://github.com/ash-project/ash_postgres/compare/v1.3.42...v1.3.43) (2023-08-22)
### Bug Fixes:
* properly provide constraints on all type casting
2023-08-23 06:54:15 +12:00
## [v1.3.42](https://github.com/ash-project/ash_postgres/compare/v1.3.41...v1.3.42) (2023-08-22)
### Bug Fixes:
* support non-atom named aggregates
* handle case where multiple grouped aggregates depend on further aggregates
### Improvements:
* support in-line aggregates
* specify @behaviour in AshPostgres.Type
* add `value_to_postgres_default/3` and `AshPostgres.Type`
* handle non-cast-in-type queries
2023-08-09 07:18:41 +12:00
## [v1.3.41](https://github.com/ash-project/ash_postgres/compare/v1.3.40...v1.3.41) (2023-08-08)
### Bug Fixes:
* handle interaction between distinct, join filters and sort
### Improvements:
* custom-extension implementation (#162)
* custom-extension implementation
* allow adding custom-extension by module's reference and fixes formatting
* support new `from_many?` option
* subquery after distinct to handle distinct
2023-08-01 15:51:23 +12:00
## [v1.3.40](https://github.com/ash-project/ash_postgres/compare/v1.3.39...v1.3.40) (2023-08-01)
### Bug Fixes:
* properly detect optimizable first aggregates
2023-08-01 15:43:29 +12:00
## [v1.3.39](https://github.com/ash-project/ash_postgres/compare/v1.3.38...v1.3.39) (2023-08-01)
### Bug Fixes:
* properly alter deferrability on attribute alter
### Improvements:
* update ash
* handle empty maps in migration defaults automatically
* handle empty lists in migraiton defaults automatically
* apply sort in subqueries properly
* handle `no_attributes?` better in more places
* support the new `parent/1` expr in relationships
* explicitly lock the source row
2023-07-21 14:04:01 +12:00
## [v1.3.38](https://github.com/ash-project/ash_postgres/compare/v1.3.37...v1.3.38) (2023-07-21)
### Bug Fixes:
* un-break aggregates referencing calculations
### Improvements:
* properly handle context for referenced calculations
2023-07-20 04:53:21 +12:00
## [v1.3.37](https://github.com/ash-project/ash_postgres/compare/v1.3.36...v1.3.37) (2023-07-19)
### Improvements:
* support new `distinct_sort` option
2023-07-20 02:20:45 +12:00
## [v1.3.36](https://github.com/ash-project/ash_postgres/compare/v1.3.35...v1.3.36) (2023-07-19)
### Bug Fixes:
* type casting improvements, handle manual relationships in `exists`
* protected names in conflict_target (#158)
2023-07-19 06:48:45 +12:00
## [v1.3.35](https://github.com/ash-project/ash_postgres/compare/v1.3.34...v1.3.35) (2023-07-18)
### Improvements:
* support new `distinct` features from ash core
2023-07-18 14:36:00 +12:00
## [v1.3.34](https://github.com/ash-project/ash_postgres/compare/v1.3.33...v1.3.34) (2023-07-18)
### Improvements:
* support unary `-/1` operator
2023-07-15 08:25:11 +12:00
## [v1.3.33](https://github.com/ash-project/ash_postgres/compare/v1.3.32...v1.3.33) (2023-07-14)
### Bug Fixes:
* convert `Ash.Resource.Aggregate` to `Ash.Query.Aggregate` when adding
### Improvements:
* support `deferrable` option in migration generator
* support `exists` aggregates
2023-07-13 09:06:50 +12:00
## [v1.3.32](https://github.com/ash-project/ash_postgres/compare/v1.3.31...v1.3.32) (2023-07-12)
### Improvements:
* support `at/2` expression
2023-07-13 07:33:08 +12:00
## [v1.3.31](https://github.com/ash-project/ash_postgres/compare/v1.3.30...v1.3.31) (2023-07-12)
### Bug Fixes:
* raise better error on invalid filter values
* Fixes multiple schema identities migrations (#156)
* fix Logger deprecations for elixir 1.15 (#155)
* interpolate table names with `inspect` in generated migrations (#152)
### Improvements:
* better `ash_functions` message
* support `string_split`
* add postgres expressions guide
* add `simple_join_first_aggregates` option
2023-06-06 17:34:20 +12:00
## [v1.3.30](https://github.com/ash-project/ash_postgres/compare/v1.3.29...v1.3.30) (2023-06-06)
### Bug Fixes:
* handle changing custom index names better
* validate custom index names
2023-06-06 10:43:35 +12:00
## [v1.3.29](https://github.com/ash-project/ash_postgres/compare/v1.3.28...v1.3.29) (2023-06-05)
### Bug Fixes:
* properly handle nested aggregate references
2023-05-23 13:17:52 +12:00
## [v1.3.28](https://github.com/ash-project/ash_postgres/compare/v1.3.27...v1.3.28) (2023-05-23)
### Bug Fixes:
* handle raised errors in bulk actions
2023-05-18 05:19:29 +12:00
## [v1.3.27](https://github.com/ash-project/ash_postgres/compare/v1.3.26...v1.3.27) (2023-05-17)
### Improvements:
* raise better errors on conflicting locks
2023-05-17 07:26:28 +12:00
## [v1.3.26](https://github.com/ash-project/ash_postgres/compare/v1.3.25...v1.3.26) (2023-05-16)
### Bug Fixes:
* use proper lock list again
* use proper list of row level locks
* check `changeset.action_type` not `changeset.action.type`
### Improvements:
* support more lock types
2023-05-09 07:55:05 +12:00
## [v1.3.25](https://github.com/ash-project/ash_postgres/compare/v1.3.24...v1.3.25) (2023-05-08)
### Improvements:
* support changeset.filters (for optimistic locking)
2023-05-03 14:19:25 +12:00
## [v1.3.24](https://github.com/ash-project/ash_postgres/compare/v1.3.23...v1.3.24) (2023-05-03)
### Improvements:
* support bulk upserts
2023-05-02 10:06:35 +12:00
## [v1.3.23](https://github.com/ash-project/ash_postgres/compare/v1.3.22...v1.3.23) (2023-05-01)
### Bug Fixes:
* don't incorrectly mark references as primary key references
* go back to old migration sorting algorithm
2023-04-28 13:50:13 +12:00
## [v1.3.22](https://github.com/ash-project/ash_postgres/compare/v1.3.21...v1.3.22) (2023-04-28)
### Improvements:
* support locking
2023-04-27 14:25:52 +12:00
## [v1.3.21](https://github.com/ash-project/ash_postgres/compare/v1.3.20...v1.3.21) (2023-04-27)
### Improvements:
* handle new spark versions better, more explicit snapshots
2023-04-22 19:18:25 +12:00
## [v1.3.20](https://github.com/ash-project/ash_postgres/compare/v1.3.19...v1.3.20) (2023-04-22)
### Bug Fixes:
* subquery aggregates when a distinct is being added
* don't call `.table` on `nil`
* wrap `datetime_add` in parenthesis
* handle primary key changes properly
### Improvements:
* update ash
* don't call `.table` on `nil` `snapshot`
* use digraph for operation ordering
2023-04-08 03:05:38 +12:00
## [v1.3.19](https://github.com/ash-project/ash_postgres/compare/v1.3.18...v1.3.19) (2023-04-07)
### Bug Fixes:
* properly handle newtypes, add test
* honor newtypes when determining migration type
* handle nil ash_functions_version in another place
* handle nil ash_functions_version
### Improvements:
* update ash
2023-03-24 10:20:56 +13:00
## [v1.3.18](https://github.com/ash-project/ash_postgres/compare/v1.3.17...v1.3.18) (2023-03-23)
2023-03-21 05:17:52 +13:00
## [v1.3.17](https://github.com/ash-project/ash_postgres/compare/v1.3.16...v1.3.17) (2023-03-20)
### Bug Fixes:
* properly map `parent` bindings in `exists`
2023-03-04 06:12:39 +13:00
## [v1.3.16](https://github.com/ash-project/ash_postgres/compare/v1.3.15...v1.3.16) (2023-03-03)
### Improvements:
* support new date expressions
2023-02-24 11:34:16 +13:00
## [v1.3.15](https://github.com/ash-project/ash_postgres/compare/v1.3.14...v1.3.15) (2023-02-23)
### Improvements:
* add aggregates used by sorts
2023-02-22 04:27:36 +13:00
## [v1.3.14](https://github.com/ash-project/ash_postgres/compare/v1.3.13...v1.3.14) (2023-02-21)
### Improvements:
* Implement string_join expr (#132)
2023-02-18 09:24:59 +13:00
## [v1.3.13](https://github.com/ash-project/ash_postgres/compare/v1.3.12...v1.3.13) (2023-02-17)
### Bug Fixes:
* don't use `:distinct` when `uniq?` is not `true`
2023-02-17 10:12:52 +13:00
## [v1.3.12](https://github.com/ash-project/ash_postgres/compare/v1.3.11...v1.3.12) (2023-02-16)
### Bug Fixes:
* exclude `order_by` when building aggregates
2023-02-17 09:24:20 +13:00
## [v1.3.11](https://github.com/ash-project/ash_postgres/compare/v1.3.10...v1.3.11) (2023-02-16)
### Bug Fixes:
* properly find migration directories in umbrella apps
* don't double-cast to array for list aggregates
### Improvements:
* significantly optimize aggregate queries
* better type casting for concat operator
2023-02-10 11:49:52 +13:00
## [v1.3.10](https://github.com/ash-project/ash_postgres/compare/v1.3.9...v1.3.10) (2023-02-09)
### Bug Fixes:
* sorting on optimized first aggregates
2023-02-10 10:10:06 +13:00
## [v1.3.9](https://github.com/ash-project/ash_postgres/compare/v1.3.8...v1.3.9) (2023-02-09)
### Bug Fixes:
* do limit/offset outside of query if distinct is required
* load by __order__ ascending
### Improvements:
* support new `uniq?` option on count/list aggregates
* optimized `first` aggregates where possible
2023-02-06 18:20:03 +13:00
## [v1.3.8](https://github.com/ash-project/ash_postgres/compare/v1.3.7...v1.3.8) (2023-02-06)
### Bug Fixes:
* Actually use `AshPostgres.Repo` behaviour (#129)
### Improvements:
* authorization filters are now attached by ash core
## [v1.3.7](https://github.com/ash-project/ash_postgres/compare/v1.3.6...v1.3.7) (2023-02-06)
### Bug Fixes:
* Actually use `AshPostgres.Repo` behaviour (#129)
### Improvements:
* authorization filters are now attached by ash core
2023-02-04 05:44:49 +13:00
## [v1.3.6](https://github.com/ash-project/ash_postgres/compare/v1.3.5...v1.3.6) (2023-02-03)
### Bug Fixes:
* properly set next migration name
* override `insert` function for proper ecto interop
### Improvements:
* add `migration_ignore_attributes`
2023-01-30 12:24:19 +13:00
## [v1.3.5](https://github.com/ash-project/ash_postgres/compare/v1.3.4...v1.3.5) (2023-01-29)
### Bug Fixes:
* properly convert to/from ecto, only when necessary
2023-01-28 14:54:52 +13:00
## [v1.3.4](https://github.com/ash-project/ash_postgres/compare/v1.3.3...v1.3.4) (2023-01-28)
### Bug Fixes:
* support latest ecto interop changes in ash core
### Improvements:
* properly cast division to floats for elixir-y behavior
* support for dynamically set repo
* update ash
2023-01-18 18:53:39 +13:00
## [v1.3.3](https://github.com/ash-project/ash_postgres/compare/v1.3.2...v1.3.3) (2023-01-18)
### Improvements:
* update to new docs patterns
2023-01-18 03:58:14 +13:00
## [v1.3.2](https://github.com/ash-project/ash_postgres/compare/v1.3.1...v1.3.2) (2023-01-17)
### Bug Fixes:
* nest subqueries when required for distinct
* replace `{:in, ...}` type with `{:array, ...}`
2023-01-12 01:53:33 +13:00
## [v1.3.1](https://github.com/ash-project/ash_postgres/compare/v1.3.0...v1.3.1) (2023-01-11)
### Bug Fixes:
* allow for non attribute aggregate references for first/list
2023-01-11 15:55:20 +13:00
## [v1.3.0](https://github.com/ash-project/ash_postgres/compare/v1.3.0-rc.4...v1.3.0) (2023-01-11)
### Improvements:
* update to latest ash
2023-01-10 07:56:23 +13:00
## [v1.3.0-rc.4](https://github.com/ash-project/ash_postgres/compare/v1.3.0-rc.3...v1.3.0-rc.4) (2023-01-09)
### Bug Fixes:
* properly join to all required relationships
2023-01-10 04:41:46 +13:00
## [v1.3.0-rc.3](https://github.com/ash-project/ash_postgres/compare/v1.3.0-rc.2...v1.3.0-rc.3) (2023-01-09)
### Bug Fixes:
* properly type cast in fragments (and elsewhere)
2023-01-07 11:46:38 +13:00
## [v1.3.0-rc.2](https://github.com/ash-project/ash_postgres/compare/v1.3.0-rc.1...v1.3.0-rc.2) (2023-01-06)
### Bug Fixes:
* undo changes that caused type casting bugs
2023-01-07 11:06:10 +13:00
## [v1.3.0-rc.1](https://github.com/ash-project/ash_postgres/compare/v1.3.0-rc.0...v1.3.0-rc.1) (2023-01-06)
2023-01-07 11:46:23 +13:00
### Bug Fixes:
* undo changes that caused type casting bugs
## [v1.3.0-rc.1](https://github.com/ash-project/ash_postgres/compare/v1.3.0-rc.0...v1.3.0-rc.1) (2023-01-06)
2023-01-07 11:06:10 +13:00
### Bug Fixes:
* use `parent_expr` instead of `this`
* various expression & type building fixes
2023-01-05 06:36:35 +13:00
## [v1.3.0-rc.0](https://github.com/ash-project/ash_postgres/compare/v1.2.6...v1.3.0-rc.0) (2023-01-04)
### Features:
* support latest ash
### Bug Fixes:
* honor calculation constraints
* handle lists with expressions inside
### Improvements:
* support calc constraints
* support new `cast_in_query?/2`
* support calculations as aggregate targets
2022-12-28 12:19:36 +13:00
## [v1.2.6](https://github.com/ash-project/ash_postgres/compare/v1.2.5...v1.2.6) (2022-12-27)
### Bug Fixes:
* properly set `migrations_path` default in umbrellas
* don't subquery unless we have to
2022-12-22 10:58:32 +13:00
## [v1.2.5](https://github.com/ash-project/ash_postgres/compare/v1.2.4...v1.2.5) (2022-12-21)
### Bug Fixes:
* don't group aggregates that reference relationships in their filters
* properly skip unique indexes when configured
### Improvements:
* add like and ilike
2022-12-18 20:24:31 +13:00
## [v1.2.4](https://github.com/ash-project/ash_postgres/compare/v1.2.3...v1.2.4) (2022-12-18)
### Bug Fixes:
* properly add aggregates to query when referenced from calculations
### Improvements:
* distinct on source of query, not relationship destination
2022-12-15 16:37:34 +13:00
## [v1.2.3](https://github.com/ash-project/ash_postgres/compare/v1.2.2...v1.2.3) (2022-12-15)
### Bug Fixes:
* properly combine sort + to many join filter
2022-12-15 15:48:01 +13:00
## [v1.2.2](https://github.com/ash-project/ash_postgres/compare/v1.2.1...v1.2.2) (2022-12-15)
### Improvements:
* udpate to latest ash, fix array issues
2022-12-14 11:21:15 +13:00
## [v1.2.1](https://github.com/ash-project/ash_postgres/compare/v1.2.0...v1.2.1) (2022-12-13)
### Bug Fixes:
* pattern match error in `lazy_non_matching_defaults/1`
* use attribute name not attribute for default funs
* *actually* fix `default_fun` upserts
* fix upserting update_defaults
2022-12-14 08:55:26 +13:00
## [v1.2.0](https://github.com/ash-project/ash_postgres/compare/v1.2.0-rc.1...v1.2.0) (2022-12-13)
### Bug Fixes:
* make migration generator work better for umbrellas
2022-12-11 12:54:34 +13:00
## [v1.2.0-rc.1](https://github.com/ash-project/ash_postgres/compare/v1.2.0-rc.0...v1.2.0-rc.1) (2022-12-10)
### Bug Fixes:
* don't make migration generation recursive
* nevermind, can't make migrate recursive
### Improvements:
* make migrate task recursive as well
* mark generate_migrations as recursive for umbrellas
2022-12-11 10:03:51 +13:00
## [v1.2.0-rc.0](https://github.com/ash-project/ash_postgres/compare/v1.1.3...v1.2.0-rc.0) (2022-12-10)
### Features:
* avg/min/max/custom aggregate support
### Bug Fixes:
* various broken behavior from new aggregate work
* forgot a
* fix various problems with the model behind aggregates
* properly set binding names for many to many join filters
### Improvements:
* better error messages from mix tasks
* validate that references refer to relationships
* avg/min/max/custom aggregate support
* upgrade and depend on ash version
* fix lateral many to many joins
* inform users about postgres incompatibility with multidimensional arrays
2022-12-01 14:59:48 +13:00
## [v1.1.3](https://github.com/ash-project/ash_postgres/compare/v1.1.2...v1.1.3) (2022-12-01)
### Bug Fixes:
* properly turn custom index keys into atoms
### Improvements:
* update ash, add test for transaction hooks
* support new transaction info with hooks
* add unique constraints to changeset for custom unique indexes
* separate out concurrent index creations and do them in a separate transaction
2022-11-21 21:08:47 +13:00
## [v1.1.2](https://github.com/ash-project/ash_postgres/compare/v1.1.1...v1.1.2) (2022-11-21)
### Bug Fixes:
* don't use hard-coded join assoc name (#118)
### Improvements:
* add `migration_defaults` for customizing default values
2022-10-25 17:17:58 +13:00
## [v1.1.1](https://github.com/ash-project/ash_postgres/compare/v1.1.0...v1.1.1) (2022-10-25)
### Bug Fixes:
* && operator in expressions to point to ash_elixir_and (#115)
### Improvements:
* add check for unsupported expression
2022-10-20 18:08:58 +13:00
## [v1.1.0](https://github.com/ash-project/ash_postgres/compare/v1.0.0...v1.1.0) (2022-10-20)
### Features:
* support `now()` in latest Ash
2022-10-18 06:54:19 +13:00
## [v1.0.0](https://github.com/ash-project/ash_postgres/compare/v0.43.0...v1.0.0) (2022-10-17)
### Bug Fixes:
* no unnecessary type cast on count/sum aggregates
* don't apply `filter` to `array_agg`
### Improvements:
* update to Ash 2.0
* handle UUID types better
* set lateral join source for latest ash
* use `prepend?: true` option when applying relationship sorts
2022-10-08 08:52:28 +13:00
## [v1.0.0-rc.9](https://github.com/ash-project/ash_postgres/compare/v1.0.0-rc.8...v1.0.0-rc.9) (2022-10-07)
### Bug Fixes:
* handle custom calculation selects properly
* use attribute source for identity fields
### Improvements:
* update to the latest ash
* remove the need to dynamically expand fragments
* when casting string to uuid, dump to binary
* update to latest ash
2022-09-29 16:29:33 +13:00
## [v1.0.0-rc.8](https://github.com/ash-project/ash_postgres/compare/v1.0.0-rc.7...v1.0.0-rc.8) (2022-09-29)
### Bug Fixes:
* never attempt to group custom operations
* wrap case statement in parens
### Improvements:
* `exists` filters necessitate multiple aggregate joins (for now)
2022-09-28 16:56:33 +13:00
## [v1.0.0-rc.7](https://github.com/ash-project/ash_postgres/compare/v1.0.0-rc.6...v1.0.0-rc.7) (2022-09-28)
### Bug Fixes:
* properly type cast top level fragments
### Improvements:
* update to the latest ash
* upgrade to new `exists` usage
2022-09-21 15:00:41 +12:00
## [v1.0.0-rc.6](https://github.com/ash-project/ash_postgres/compare/v1.0.0-rc.5...v1.0.0-rc.6) (2022-09-21)
### Improvements:
* support latest ash
2022-09-16 09:09:25 +12:00
## [v1.0.0-rc.5](https://github.com/ash-project/ash_postgres/compare/v1.0.0-rc.4...v1.0.0-rc.5) (2022-09-15)
### Improvements:
* update to latest ash
* implement Length function (#111)
* upgrade to latest ash
2022-09-15 09:13:49 +12:00
## [v1.0.0-rc.4](https://github.com/ash-project/ash_postgres/compare/v1.0.0-rc.3...v1.0.0-rc.4) (2022-09-14)
### Improvements:
* support latest ash
* support manual relationships with joins
2022-09-13 05:45:57 +12:00
## [v1.0.0-rc.3](https://github.com/ash-project/ash_postgres/compare/v1.0.0-rc.2...v1.0.0-rc.3) (2022-09-12)
### Bug Fixes:
* keep unique index keys in order in migrations
2022-09-07 10:35:41 +12:00
## [v1.0.0-rc.2](https://github.com/ash-project/ash_postgres/compare/v1.0.0-rc.1...v1.0.0-rc.2) (2022-09-06)
### Improvements:
* support latest ash `exists/2` expr
2022-09-04 18:40:19 +12:00
## [v1.0.0-rc.1](https://github.com/ash-project/ash_postgres/compare/v1.0.0-rc.0...v1.0.0-rc.1) (2022-09-04)
2022-08-06 07:27:53 +12:00
## [v0.43.0](https://github.com/ash-project/ash_postgres/compare/v0.42.0-rc.7...v0.43.0) (2022-08-05)
### Bug Fixes:
* properly order check constraints
* remove check constraints before adding them
### Improvements:
* fix typecasting for calculations & embed access
* add custom_statements to migration generator
* support `||` and `&&`
2022-07-15 07:09:55 +12:00
## [v0.42.0-rc.7](https://github.com/ash-project/ash_postgres/compare/v0.42.0-rc.6...v0.42.0-rc.7) (2022-07-14)
### Features:
* support `cast_in_query?/0` and `source`
### Bug Fixes:
* use new doc_index patterns
* support upsert_identity with base_filter
* support upsert_identity with base filters
* handle various join bugs
* use attribute.name if attribute.source is nil
* set attribute source properly
* ensure source is always set on attributes in snapshots
* handle paths for aggregates w/ > 2 relationships
* rename attributes correctly in down migration (#98)
* don't generate modify commands for attributes due to schema changes
* default schema to primary schema
* test and confirm behavior of schemas
* use correct bindings for filtered relationships
* cast calcs in query expressions
* explicitly type cast aggregate/calc selects
* don't try and match reference schema to table schema
* don't use `table` where we should use `schema` in migration generator
* handle combinations of distinct & sort
* ensure all single actions are explicitly marked as primary? (#95)
* only rename schema when necessary
* inspect un-defaultable value in error message
* select custom aggregates properly
* don't add reference when renaming column if unnecessary
* don't cast `nil` to `""`
* `!is_atom/1` -> `!is_boolean/1`
* sanitize lists to stringify atoms
* cast embedded atoms to strings first
* don't cast `{:in, :any}` types
* more don't cast any types
* don't cast if there is no type
* properly handle relationship filter bindings
* don't consider fields changed with only source -> name changes
* handle name -> source change in more places
* handle name -> source rename in operation ordering
* fix aggregate/base filters
* don't select more fields than necessary
* don't call `ecto_type` twice when resolving types
* place expressions in the proper order in selects
* match on count in expr
* remove incorrect param count tracking
* properly track param count
* properly reverse parameters before/after expansion
* don't use the base ecto type
* don't sort when joining
* ensure repo is compiled (#80)
* properly construct nested join relationships
* use `CiStringWrapper` type in ash_postgres
* ensure we are returning * on upserts (#79)
* handle new if types
* copy query prefix to newly created query (#74)
### Improvements:
* add default guide, and empty ash postgres guide
* set `update_defaults` on upsert results
* handle fallback ecto migration default elegantly (#94)
* add `ignore?` option to `references`
* check_migrations, rename to `--check`
* add explicit timeout capability declaration
* add static schema specification in DSL
* support static schema specification in migration generator
* implement decimal ecto migration default (#91)
* support float as Ecto migration default (#89)
* update ecto
* add atom impl for `EctoMigrationDefault`
* Add EctoMigrationDefault protocol and implement defaults (#87)
* update ecto, fix dialyzer
* support new timeouts
* make select unique before running query
* add doc_index
* add exclusion_constraint_names (#83)
* support referencing aggregates from aggregate filters
* support access syntax
* don't upsert defaults on conflict (#77)
* relax ash version requirement
* add custom migration types, and repo level override
* update to latest version of ash
2022-07-11 08:27:20 +12:00
## [v0.42.0-rc.6](https://github.com/ash-project/ash_postgres/compare/v0.42.0-rc.5...v0.42.0-rc.6) (2022-07-10)
### Features:
* support `cast_in_query?/0` and `source`
### Bug Fixes:
* use new doc_index patterns
* support upsert_identity with base_filter
* support upsert_identity with base filters
* handle various join bugs
* use attribute.name if attribute.source is nil
* set attribute source properly
* ensure source is always set on attributes in snapshots
* handle paths for aggregates w/ > 2 relationships
* rename attributes correctly in down migration (#98)
* don't generate modify commands for attributes due to schema changes
* default schema to primary schema
* test and confirm behavior of schemas
* use correct bindings for filtered relationships
* cast calcs in query expressions
* explicitly type cast aggregate/calc selects
* don't try and match reference schema to table schema
* don't use `table` where we should use `schema` in migration generator
* handle combinations of distinct & sort
* ensure all single actions are explicitly marked as primary? (#95)
* only rename schema when necessary
* inspect un-defaultable value in error message
* select custom aggregates properly
* don't add reference when renaming column if unnecessary
* don't cast `nil` to `""`
* `!is_atom/1` -> `!is_boolean/1`
* sanitize lists to stringify atoms
* cast embedded atoms to strings first
* don't cast `{:in, :any}` types
* more don't cast any types
* don't cast if there is no type
* properly handle relationship filter bindings
* don't consider fields changed with only source -> name changes
* handle name -> source change in more places
* handle name -> source rename in operation ordering
* fix aggregate/base filters
* don't select more fields than necessary
* don't call `ecto_type` twice when resolving types
* place expressions in the proper order in selects
* match on count in expr
* remove incorrect param count tracking
* properly track param count
* properly reverse parameters before/after expansion
* don't use the base ecto type
* don't sort when joining
* ensure repo is compiled (#80)
* properly construct nested join relationships
* use `CiStringWrapper` type in ash_postgres
* ensure we are returning * on upserts (#79)
* handle new if types
* copy query prefix to newly created query (#74)
### Improvements:
* set `update_defaults` on upsert results
* handle fallback ecto migration default elegantly (#94)
* add `ignore?` option to `references`
* check_migrations, rename to `--check`
* add explicit timeout capability declaration
* add static schema specification in DSL
* support static schema specification in migration generator
* implement decimal ecto migration default (#91)
* support float as Ecto migration default (#89)
* update ecto
* add atom impl for `EctoMigrationDefault`
* Add EctoMigrationDefault protocol and implement defaults (#87)
* update ecto, fix dialyzer
* support new timeouts
* make select unique before running query
* add doc_index
* add exclusion_constraint_names (#83)
* support referencing aggregates from aggregate filters
* support access syntax
* don't upsert defaults on conflict (#77)
* relax ash version requirement
* add custom migration types, and repo level override
* update to latest version of ash
2022-07-07 06:44:53 +12:00
## [v0.42.0-rc.5](https://github.com/ash-project/ash_postgres/compare/v0.42.0-rc.4...v0.42.0-rc.5) (2022-07-06)
### Features:
* support `cast_in_query?/0` and `source`
### Bug Fixes:
* support upsert_identity with base_filter
* support upsert_identity with base filters
* handle various join bugs
* use attribute.name if attribute.source is nil
* set attribute source properly
* ensure source is always set on attributes in snapshots
* handle paths for aggregates w/ > 2 relationships
* rename attributes correctly in down migration (#98)
* don't generate modify commands for attributes due to schema changes
* default schema to primary schema
* test and confirm behavior of schemas
* use correct bindings for filtered relationships
* cast calcs in query expressions
* explicitly type cast aggregate/calc selects
* don't try and match reference schema to table schema
* don't use `table` where we should use `schema` in migration generator
* handle combinations of distinct & sort
* ensure all single actions are explicitly marked as primary? (#95)
* only rename schema when necessary
* inspect un-defaultable value in error message
* select custom aggregates properly
* don't add reference when renaming column if unnecessary
* don't cast `nil` to `""`
* `!is_atom/1` -> `!is_boolean/1`
* sanitize lists to stringify atoms
* cast embedded atoms to strings first
* don't cast `{:in, :any}` types
* more don't cast any types
* don't cast if there is no type
* properly handle relationship filter bindings
* don't consider fields changed with only source -> name changes
* handle name -> source change in more places
* handle name -> source rename in operation ordering
* fix aggregate/base filters
* don't select more fields than necessary
* don't call `ecto_type` twice when resolving types
* place expressions in the proper order in selects
* match on count in expr
* remove incorrect param count tracking
* properly track param count
* properly reverse parameters before/after expansion
* don't use the base ecto type
* don't sort when joining
* ensure repo is compiled (#80)
* properly construct nested join relationships
* use `CiStringWrapper` type in ash_postgres
* ensure we are returning * on upserts (#79)
* handle new if types
* copy query prefix to newly created query (#74)
### Improvements:
2022-07-07 06:45:55 +12:00
* set `update_defaults` on upsert results. For most users, this means that where previously `updated_at` would not get set on an upsert that ultimately resulted in an update, it will now.
2022-07-07 06:44:53 +12:00
* handle fallback ecto migration default elegantly (#94)
* add `ignore?` option to `references`
* check_migrations, rename to `--check`
* add explicit timeout capability declaration
* add static schema specification in DSL
* support static schema specification in migration generator
* implement decimal ecto migration default (#91)
* support float as Ecto migration default (#89)
* update ecto
* add atom impl for `EctoMigrationDefault`
* Add EctoMigrationDefault protocol and implement defaults (#87)
* update ecto, fix dialyzer
* support new timeouts
* make select unique before running query
* add doc_index
* add exclusion_constraint_names (#83)
* support referencing aggregates from aggregate filters
* support access syntax
* don't upsert defaults on conflict (#77)
* relax ash version requirement
* add custom migration types, and repo level override
* update to latest version of ash
2022-06-29 07:57:50 +12:00
## [v0.42.0-rc.4](https://github.com/ash-project/ash_postgres/compare/v0.42.0-rc.3...v0.42.0-rc.4) (2022-06-28)
### Features:
* support `cast_in_query?/0` and `source`
### Bug Fixes:
* use attribute.name if attribute.source is nil
* set attribute source properly
* ensure source is always set on attributes in snapshots
* handle paths for aggregates w/ > 2 relationships
* rename attributes correctly in down migration (#98)
* don't generate modify commands for attributes due to schema changes
* default schema to primary schema
* test and confirm behavior of schemas
* use correct bindings for filtered relationships
* cast calcs in query expressions
* explicitly type cast aggregate/calc selects
* don't try and match reference schema to table schema
* don't use `table` where we should use `schema` in migration generator
* handle combinations of distinct & sort
* ensure all single actions are explicitly marked as primary? (#95)
* only rename schema when necessary
* inspect un-defaultable value in error message
* select custom aggregates properly
* don't add reference when renaming column if unnecessary
* don't cast `nil` to `""`
* `!is_atom/1` -> `!is_boolean/1`
* sanitize lists to stringify atoms
* cast embedded atoms to strings first
* don't cast `{:in, :any}` types
* more don't cast any types
* don't cast if there is no type
* properly handle relationship filter bindings
* don't consider fields changed with only source -> name changes
* handle name -> source change in more places
* handle name -> source rename in operation ordering
* fix aggregate/base filters
* don't select more fields than necessary
* don't call `ecto_type` twice when resolving types
* place expressions in the proper order in selects
* match on count in expr
* remove incorrect param count tracking
* properly track param count
* properly reverse parameters before/after expansion
* don't use the base ecto type
* don't sort when joining
* ensure repo is compiled (#80)
* properly construct nested join relationships
* use `CiStringWrapper` type in ash_postgres
* ensure we are returning * on upserts (#79)
* handle new if types
* copy query prefix to newly created query (#74)
### Improvements:
* handle fallback ecto migration default elegantly (#94)
* add `ignore?` option to `references`
* check_migrations, rename to `--check`
* add explicit timeout capability declaration
* add static schema specification in DSL
* support static schema specification in migration generator
* implement decimal ecto migration default (#91)
* support float as Ecto migration default (#89)
* update ecto
* add atom impl for `EctoMigrationDefault`
* Add EctoMigrationDefault protocol and implement defaults (#87)
* update ecto, fix dialyzer
* support new timeouts
* make select unique before running query
* add doc_index
* add exclusion_constraint_names (#83)
* support referencing aggregates from aggregate filters
* support access syntax
* don't upsert defaults on conflict (#77)
* relax ash version requirement
* add custom migration types, and repo level override
* update to latest version of ash
2022-06-29 07:10:58 +12:00
## [v0.42.0-rc.3](https://github.com/ash-project/ash_postgres/compare/v0.42.0-rc.2...v0.42.0-rc.3) (2022-06-28)
### Features:
* support `cast_in_query?/0` and `source`
### Bug Fixes:
* set attribute source properly
* ensure source is always set on attributes in snapshots
* handle paths for aggregates w/ > 2 relationships
* rename attributes correctly in down migration (#98)
* don't generate modify commands for attributes due to schema changes
* default schema to primary schema
* test and confirm behavior of schemas
* use correct bindings for filtered relationships
* cast calcs in query expressions
* explicitly type cast aggregate/calc selects
* don't try and match reference schema to table schema
* don't use `table` where we should use `schema` in migration generator
* handle combinations of distinct & sort
* ensure all single actions are explicitly marked as primary? (#95)
* only rename schema when necessary
* inspect un-defaultable value in error message
* select custom aggregates properly
* don't add reference when renaming column if unnecessary
* don't cast `nil` to `""`
* `!is_atom/1` -> `!is_boolean/1`
* sanitize lists to stringify atoms
* cast embedded atoms to strings first
* don't cast `{:in, :any}` types
* more don't cast any types
* don't cast if there is no type
* properly handle relationship filter bindings
* don't consider fields changed with only source -> name changes
* handle name -> source change in more places
* handle name -> source rename in operation ordering
* fix aggregate/base filters
* don't select more fields than necessary
* don't call `ecto_type` twice when resolving types
* place expressions in the proper order in selects
* match on count in expr
* remove incorrect param count tracking
* properly track param count
* properly reverse parameters before/after expansion
* don't use the base ecto type
* don't sort when joining
* ensure repo is compiled (#80)
* properly construct nested join relationships
* use `CiStringWrapper` type in ash_postgres
* ensure we are returning * on upserts (#79)
* handle new if types
* copy query prefix to newly created query (#74)
### Improvements:
* handle fallback ecto migration default elegantly (#94)
* add `ignore?` option to `references`
* check_migrations, rename to `--check`
* add explicit timeout capability declaration
* add static schema specification in DSL
* support static schema specification in migration generator
* implement decimal ecto migration default (#91)
* support float as Ecto migration default (#89)
* update ecto
* add atom impl for `EctoMigrationDefault`
* Add EctoMigrationDefault protocol and implement defaults (#87)
* update ecto, fix dialyzer
* support new timeouts
* make select unique before running query
* add doc_index
* add exclusion_constraint_names (#83)
* support referencing aggregates from aggregate filters
* support access syntax
* don't upsert defaults on conflict (#77)
* relax ash version requirement
* add custom migration types, and repo level override
* update to latest version of ash
2022-05-19 05:48:17 +12:00
## [v0.42.0-rc.2](https://github.com/ash-project/ash_postgres/compare/v0.42.0-rc.1...v0.42.0-rc.2) (2022-05-18)
### Features:
* support `cast_in_query?/0` and `source`
### Bug Fixes:
* don't try and match reference schema to table schema
* don't use `table` where we should use `schema` in migration generator
* handle combinations of distinct & sort
* ensure all single actions are explicitly marked as primary? (#95)
* only rename schema when necessary
* inspect un-defaultable value in error message
* select custom aggregates properly
* don't add reference when renaming column if unnecessary
* don't cast `nil` to `""`
* `!is_atom/1` -> `!is_boolean/1`
* sanitize lists to stringify atoms
* cast embedded atoms to strings first
* don't cast `{:in, :any}` types
* more don't cast any types
* don't cast if there is no type
* properly handle relationship filter bindings
* don't consider fields changed with only source -> name changes
* handle name -> source change in more places
* handle name -> source rename in operation ordering
* fix aggregate/base filters
* don't select more fields than necessary
* don't call `ecto_type` twice when resolving types
* place expressions in the proper order in selects
* match on count in expr
* remove incorrect param count tracking
* properly track param count
* properly reverse parameters before/after expansion
* don't use the base ecto type
* don't sort when joining
* ensure repo is compiled (#80)
* properly construct nested join relationships
* use `CiStringWrapper` type in ash_postgres
* ensure we are returning * on upserts (#79)
* handle new if types
* copy query prefix to newly created query (#74)
### Improvements:
* check_migrations, rename to `--check`
* add explicit timeout capability declaration
* add static schema specification in DSL
* support static schema specification in migration generator
* implement decimal ecto migration default (#91)
* support float as Ecto migration default (#89)
* update ecto
* add atom impl for `EctoMigrationDefault`
* Add EctoMigrationDefault protocol and implement defaults (#87)
* update ecto, fix dialyzer
* support new timeouts
* make select unique before running query
* add doc_index
* add exclusion_constraint_names (#83)
* support referencing aggregates from aggregate filters
* support access syntax
* don't upsert defaults on conflict (#77)
* relax ash version requirement
* add custom migration types, and repo level override
* update to latest version of ash
2022-05-19 05:22:37 +12:00
## [v0.42.0-rc.1](https://github.com/ash-project/ash_postgres/compare/v0.42.0-rc.0...v0.42.0-rc.1) (2022-05-18)
### Features:
* support `cast_in_query?/0` and `source`
### Bug Fixes:
* don't use `table` where we should use `schema` in migration generator
* handle combinations of distinct & sort
* ensure all single actions are explicitly marked as primary? (#95)
* only rename schema when necessary
* inspect un-defaultable value in error message
* select custom aggregates properly
* don't add reference when renaming column if unnecessary
* don't cast `nil` to `""`
* `!is_atom/1` -> `!is_boolean/1`
* sanitize lists to stringify atoms
* cast embedded atoms to strings first
* don't cast `{:in, :any}` types
* more don't cast any types
* don't cast if there is no type
* properly handle relationship filter bindings
* don't consider fields changed with only source -> name changes
* handle name -> source change in more places
* handle name -> source rename in operation ordering
* fix aggregate/base filters
* don't select more fields than necessary
* don't call `ecto_type` twice when resolving types
* place expressions in the proper order in selects
* match on count in expr
* remove incorrect param count tracking
* properly track param count
* properly reverse parameters before/after expansion
* don't use the base ecto type
* don't sort when joining
* ensure repo is compiled (#80)
* properly construct nested join relationships
* use `CiStringWrapper` type in ash_postgres
* ensure we are returning * on upserts (#79)
* handle new if types
* copy query prefix to newly created query (#74)
### Improvements:
* check_migrations, rename to `--check`
* add explicit timeout capability declaration
* add static schema specification in DSL
* support static schema specification in migration generator
* implement decimal ecto migration default (#91)
* support float as Ecto migration default (#89)
* update ecto
* add atom impl for `EctoMigrationDefault`
* Add EctoMigrationDefault protocol and implement defaults (#87)
* update ecto, fix dialyzer
* support new timeouts
* make select unique before running query
* add doc_index
* add exclusion_constraint_names (#83)
* support referencing aggregates from aggregate filters
* support access syntax
* don't upsert defaults on conflict (#77)
* relax ash version requirement
* add custom migration types, and repo level override
* update to latest version of ash
2022-04-27 03:05:38 +12:00
## [v0.42.0-rc.0](https://github.com/ash-project/ash_postgres/compare/v0.41.7...v0.42.0-rc.0) (2022-04-26)
### Features:
* support `cast_in_query?/0` and `source`
### Bug Fixes:
* select custom aggregates properly
* don't add reference when renaming column if unnecessary
* don't cast `nil` to `""`
* `!is_atom/1` -> `!is_boolean/1`
* sanitize lists to stringify atoms
* cast embedded atoms to strings first
* don't cast `{:in, :any}` types
* more don't cast any types
* don't cast if there is no type
* properly handle relationship filter bindings
* don't consider fields changed with only source -> name changes
* handle name -> source change in more places
* handle name -> source rename in operation ordering
* fix aggregate/base filters
* don't select more fields than necessary
* don't call `ecto_type` twice when resolving types
* place expressions in the proper order in selects
* match on count in expr
* remove incorrect param count tracking
* properly track param count
* properly reverse parameters before/after expansion
* don't use the base ecto type
* don't sort when joining
* ensure repo is compiled (#80)
* properly construct nested join relationships
* use `CiStringWrapper` type in ash_postgres
* ensure we are returning * on upserts (#79)
* handle new if types
* copy query prefix to newly created query (#74)
### Improvements:
* update ecto
* add atom impl for `EctoMigrationDefault`
* Add EctoMigrationDefault protocol and implement defaults (#87)
* update ecto, fix dialyzer
* support new timeouts
* make select unique before running query
* add doc_index
* add exclusion_constraint_names (#83)
* support referencing aggregates from aggregate filters
* support access syntax
* don't upsert defaults on conflict (#77)
* relax ash version requirement
* add custom migration types, and repo level override
* update to latest version of ash
2021-12-22 08:23:12 +13:00
## [v0.41.7](https://github.com/ash-project/ash_postgres/compare/v0.41.6...v0.41.7) (2021-12-21)
### Bug Fixes:
* ensure repo is compiled (#80)
* properly construct nested join relationships
* use `CiStringWrapper` type in ash_postgres
* ensure we are returning * on upserts (#79)
* handle new if types
* copy query prefix to newly created query (#74)
### Improvements:
* don't upsert defaults on conflict (#77)
* relax ash version requirement
* add custom migration types, and repo level override
* update to latest version of ash
2021-12-22 06:26:49 +13:00
## [v0.41.6](https://github.com/ash-project/ash_postgres/compare/v0.41.5...v0.41.6) (2021-12-21)
### Bug Fixes:
* properly construct nested join relationships
* use `CiStringWrapper` type in ash_postgres
* ensure we are returning * on upserts (#79)
* handle new if types
* copy query prefix to newly created query (#74)
### Improvements:
* don't upsert defaults on conflict (#77)
* relax ash version requirement
* add custom migration types, and repo level override
* update to latest version of ash
2021-11-26 15:35:47 +13:00
## [v0.41.5](https://github.com/ash-project/ash_postgres/compare/v0.41.4...v0.41.5) (2021-11-26)
### Bug Fixes:
* ensure we are returning * on upserts (#79)
* handle new if types
* copy query prefix to newly created query (#74)
### Improvements:
* don't upsert defaults on conflict (#77)
* relax ash version requirement
* add custom migration types, and repo level override
* update to latest version of ash
2021-11-25 13:36:07 +13:00
## [v0.41.4](https://github.com/ash-project/ash_postgres/compare/v0.41.3...v0.41.4) (2021-11-25)
### Bug Fixes:
* handle new if types
* copy query prefix to newly created query (#74)
### Improvements:
* don't upsert defaults on conflict (#77)
* relax ash version requirement
* add custom migration types, and repo level override
* update to latest version of ash
2021-11-14 08:48:47 +13:00
## [v0.41.3](https://github.com/ash-project/ash_postgres/compare/v0.41.2...v0.41.3) (2021-11-13)
### Bug Fixes:
* handle new if types
* copy query prefix to newly created query (#74)
### Improvements:
* relax ash version requirement
* add custom migration types, and repo level override
* update to latest version of ash
2021-11-10 22:19:36 +13:00
## [v0.41.2](https://github.com/ash-project/ash_postgres/compare/v0.41.1...v0.41.2) (2021-11-10)
### Bug Fixes:
* copy query prefix to newly created query (#74)
### Improvements:
* add custom migration types, and repo level override
* update to latest version of ash
2021-11-04 10:51:30 +13:00
## [v0.41.1](https://github.com/ash-project/ash_postgres/compare/v0.41.0-rc.9...v0.41.1) (2021-11-03)
### Bug Fixes:
* copy query prefix to newly created query (#74)
### Improvements:
* update to latest version of ash
2021-11-01 21:45:39 +13:00
## [v0.41.0-rc.9](https://github.com/ash-project/ash_postgres/compare/v0.41.0-rc.8...v0.41.0-rc.9) (2021-11-01)
### Bug Fixes:
* use proper ecto types everywhere
* try to fix missing paren issue in array_agg
* fix can? for :joins (#73)
* remove unused default value
* use proper identity names for polymorphic resources
* set identity names propertly for polymorphic resources
* handle nil values in snapshots better
* remove unused field from snapshot parsing
### Improvements:
* support `default` on aggregates
* support `custom_indexes`
2021-10-26 11:54:01 +13:00
## [v0.41.0-rc.8](https://github.com/ash-project/ash_postgres/compare/v0.41.0-rc.7...v0.41.0-rc.8) (2021-10-25)
### Bug Fixes:
* fix can? for :joins (#73)
* remove unused default value
* use proper identity names for polymorphic resources
* set identity names propertly for polymorphic resources
* handle nil values in snapshots better
* remove unused field from snapshot parsing
### Improvements:
* support `default` on aggregates
* support `custom_indexes`
2021-10-25 07:31:04 +13:00
## [v0.41.0-rc.7](https://github.com/ash-project/ash_postgres/compare/v0.41.0-rc.6...v0.41.0-rc.7) (2021-10-24)
### Bug Fixes:
* fix can? for :joins (#73)
* remove unused default value
* use proper identity names for polymorphic resources
* set identity names propertly for polymorphic resources
* handle nil values in snapshots better
* remove unused field from snapshot parsing
### Improvements:
* support `custom_indexes`
2021-09-27 01:15:51 +13:00
## [v0.41.0-rc.6](https://github.com/ash-project/ash_postgres/compare/v0.41.0-rc.5...v0.41.0-rc.6) (2021-09-26)
### Bug Fixes:
* remove unused default value
* use proper identity names for polymorphic resources
* set identity names propertly for polymorphic resources
* handle nil values in snapshots better
* remove unused field from snapshot parsing
### Improvements:
* support `custom_indexes`
2021-09-22 07:10:43 +12:00
## [v0.41.0-rc.5](https://github.com/ash-project/ash_postgres/compare/v0.41.0-rc.4...v0.41.0-rc.5) (2021-09-21)
### Bug Fixes:
* use proper identity names for polymorphic resources
* set identity names propertly for polymorphic resources
* handle nil values in snapshots better
* remove unused field from snapshot parsing
### Improvements:
* support `custom_indexes`
2021-09-22 05:42:33 +12:00
## [v0.41.0-rc.4](https://github.com/ash-project/ash_postgres/compare/v0.41.0-rc.3...v0.41.0-rc.4) (2021-09-21)
### Bug Fixes:
* set identity names propertly for polymorphic resources
* handle nil values in snapshots better
* remove unused field from snapshot parsing
### Improvements:
* support `custom_indexes`
2021-09-21 12:48:33 +12:00
## [v0.41.0-rc.3](https://github.com/ash-project/ash_postgres/compare/v0.41.0-rc.2...v0.41.0-rc.3) (2021-09-21)
### Bug Fixes:
* handle nil values in snapshots better
* remove unused field from snapshot parsing
### Improvements:
* support `custom_indexes`
2021-09-21 12:40:42 +12:00
## [v0.41.0-rc.2](https://github.com/ash-project/ash_postgres/compare/v0.41.0-rc.1...v0.41.0-rc.2) (2021-09-21)
### Bug Fixes:
* remove unused field from snapshot parsing
### Improvements:
* support `custom_indexes`
2021-09-21 08:38:51 +12:00
## [v0.41.0-rc.1](https://github.com/ash-project/ash_postgres/compare/v0.41.0-rc.0...v0.41.0-rc.1) (2021-09-20)
### Improvements:
* support `custom_indexes`
2021-09-14 05:01:52 +12:00
## [v0.41.0-rc.0](https://github.com/ash-project/ash_postgres/compare/v0.40.11...v0.41.0-rc.0) (2021-09-13)
2021-09-14 04:58:45 +12:00
### Breaking Changes:
* update to latest ash/ecto versions w/ parameterized types
### Improvements:
* Support default tenant migration path in releases (#69)
2021-07-28 15:03:49 +12:00
## [v0.40.11](https://github.com/ash-project/ash_postgres/compare/v0.40.10...v0.40.11) (2021-07-28)
### Bug Fixes:
* set subquery prefix properly
2021-07-28 11:15:42 +12:00
## [v0.40.10](https://github.com/ash-project/ash_postgres/compare/v0.40.9...v0.40.10) (2021-07-27)
### Bug Fixes:
* set subquery source correctly
* create parameter for ci strings
* explicitly set prefix at each level
* interaction w/ attribute and context tenancy
### Improvements:
* info on migration generator output
* use match: :full on attr multitenancy
* update to latest ash
* update to latest ash
* upgrade ash dep
2021-07-23 03:03:53 +12:00
## [v0.40.9](https://github.com/ash-project/ash_postgres/compare/v0.40.8...v0.40.9) (2021-07-22)
### Bug Fixes:
* don't add a non-list to a list
### Improvements:
* add sort + select test
2021-07-20 06:35:18 +12:00
## [v0.40.8](https://github.com/ash-project/ash_postgres/compare/v0.40.7...v0.40.8) (2021-07-19)
### Bug Fixes:
* ensure source table is sorted in lateral join
### Improvements:
* fix significant performance issue in lateral joins
2021-07-12 18:43:52 +12:00
## [v0.40.7](https://github.com/ash-project/ash_postgres/compare/v0.40.6...v0.40.7) (2021-07-12)
### Improvements:
* support default_prefix configuration
2021-07-09 06:52:58 +12:00
## [v0.40.6](https://github.com/ash-project/ash_postgres/compare/v0.40.5...v0.40.6) (2021-07-08)
### Bug Fixes:
* fix migrator mix tasks w/ only/except tenants
* drop foreign keys after table create properly
* drop foreign keys before dropping table
* left_lateral_join for many_to_many aggregates
* properly reference nested aggregate fields for join
* properly determine fallback table for polymorphic resources
* ensure non-tenant resources can be aggregates
* properly set aggregate query sources
* retain parent as bindings
* don't add `rel_source` at all
* properly build atoms list
* horribly hack ecto for dynamic bindings
* properly coalesce aggregate values
* always add nullability flag
* sort references only after other same-table ops
* generate multitenant foreign keys properly
### Improvements:
* `--name` when generating migrations
* add `mix ash_postgres.rollback`
* update to latest ash
* update to latest ash
* leverage new `private_vars` for errs
2021-07-09 06:32:57 +12:00
## [v0.40.5](https://github.com/ash-project/ash_postgres/compare/v0.40.4...v0.40.5) (2021-07-08)
### Bug Fixes:
* fix migrator mix tasks w/ only/except tenants
* drop foreign keys after table create properly
* drop foreign keys before dropping table
* left_lateral_join for many_to_many aggregates
* properly reference nested aggregate fields for join
* properly determine fallback table for polymorphic resources
* ensure non-tenant resources can be aggregates
* properly set aggregate query sources
* retain parent as bindings
* don't add `rel_source` at all
* properly build atoms list
* horribly hack ecto for dynamic bindings
* properly coalesce aggregate values
* always add nullability flag
* sort references only after other same-table ops
* generate multitenant foreign keys properly
### Improvements:
* add `mix ash_postgres.rollback`
* update to latest ash
* update to latest ash
* leverage new `private_vars` for errs
2021-07-06 06:32:32 +12:00
## [v0.40.4](https://github.com/ash-project/ash_postgres/compare/v0.40.3...v0.40.4) (2021-07-05)
### Bug Fixes:
* left_lateral_join for many_to_many aggregates
* properly reference nested aggregate fields for join
* properly determine fallback table for polymorphic resources
* ensure non-tenant resources can be aggregates
* properly set aggregate query sources
* retain parent as bindings
* don't add `rel_source` at all
* properly build atoms list
* horribly hack ecto for dynamic bindings
* properly coalesce aggregate values
* always add nullability flag
* sort references only after other same-table ops
* generate multitenant foreign keys properly
### Improvements:
* update to latest ash
* update to latest ash
* leverage new `private_vars` for errs
2021-07-03 17:14:17 +12:00
## [v0.40.3](https://github.com/ash-project/ash_postgres/compare/v0.40.2...v0.40.3) (2021-07-03)
### Bug Fixes:
* ensure non-tenant resources can be aggregates
* properly set aggregate query sources
* retain parent as bindings
* don't add `rel_source` at all
* properly build atoms list
* horribly hack ecto for dynamic bindings
* properly coalesce aggregate values
* always add nullability flag
* sort references only after other same-table ops
* generate multitenant foreign keys properly
### Improvements:
* update to latest ash
* leverage new `private_vars` for errs
2021-07-03 04:41:58 +12:00
## [v0.40.2](https://github.com/ash-project/ash_postgres/compare/v0.40.1...v0.40.2) (2021-07-02)
### Bug Fixes:
* properly set aggregate query sources
* retain parent as bindings
* don't add `rel_source` at all
* properly build atoms list
* horribly hack ecto for dynamic bindings
* properly coalesce aggregate values
* always add nullability flag
* sort references only after other same-table ops
* generate multitenant foreign keys properly
### Improvements:
* update to latest ash
* leverage new `private_vars` for errs
2021-07-02 15:04:36 +12:00
## [v0.40.1](https://github.com/ash-project/ash_postgres/compare/v0.40.0-rc5...v0.40.1) (2021-07-02)
### Bug Fixes:
* properly coalesce aggregate values
* always add nullability flag
* sort references only after other same-table ops
* generate multitenant foreign keys properly
### Improvements:
* update to latest ash
* leverage new `private_vars` for errs
2021-07-02 07:29:33 +12:00
## [v0.40.0-rc5](https://github.com/ash-project/ash_postgres/compare/v0.40.0-rc4...v0.40.0-rc5) (2021-07-01)
### Bug Fixes:
* properly coalesce aggregate values
* always add nullability flag
* sort references only after other same-table ops
* generate multitenant foreign keys properly
### Improvements:
* leverage new `private_vars` for errs
2021-06-24 09:21:29 +12:00
## [v0.40.0-rc4](https://github.com/ash-project/ash_postgres/compare/v0.40.0-rc3...v0.40.0-rc4) (2021-06-23)
### Bug Fixes:
* always add nullability flag
* sort references only after other same-table ops
* generate multitenant foreign keys properly
### Improvements:
* leverage new `private_vars` for errs
2021-06-16 08:05:10 +12:00
## [v0.40.0-rc3](https://github.com/ash-project/ash_postgres/compare/v0.40.0-rc2...v0.40.0-rc3) (2021-06-15)
### Bug Fixes:
* always add nullability flag
* sort references only after other same-table ops
* generate multitenant foreign keys properly
2021-06-09 09:42:29 +12:00
## [v0.40.0-rc2](https://github.com/ash-project/ash_postgres/compare/v0.40.0-rc1...v0.40.0-rc2) (2021-06-08)
### Bug Fixes:
* sort references only after other same-table ops
* generate multitenant foreign keys properly
2021-09-14 05:01:52 +12:00
## [v0.40.0-rc1](https://github.com/ash-project/ash_postgres/compare/v0.40.0-rc.0...v0.40.0-rc1) (2021-06-05)
2021-06-06 10:21:24 +12:00
2021-09-14 05:01:52 +12:00
## [v0.39.0-rc.0](https://github.com/ash-project/ash_postgres/compare/v0.38.11...v0.39.0-rc.0) (2021-06-04)
2021-06-04 17:49:08 +12:00
### Features:
* support expression based calculations
* support concat + if expressions
### Improvements:
* various other improvements
2021-05-23 15:57:48 +12:00
## [v0.38.11](https://github.com/ash-project/ash_postgres/compare/v0.38.10...v0.38.11) (2021-05-23)
### Bug Fixes:
* set prefix to "public" for fkeys to public schema
### Improvements:
* set explicit prefix on join filters
2021-05-19 15:04:56 +12:00
## [v0.38.10](https://github.com/ash-project/ash_postgres/compare/v0.38.9...v0.38.10) (2021-05-19)
### Improvements:
* support new ash upsert specifying targets
* update to latest ash
2021-05-13 05:17:43 +12:00
## [v0.38.9](https://github.com/ash-project/ash_postgres/compare/v0.38.8...v0.38.9) (2021-05-12)
### Bug Fixes:
* properly group many_to_many aggregates
2021-05-10 09:44:54 +12:00
## [v0.38.8](https://github.com/ash-project/ash_postgres/compare/v0.38.7...v0.38.8) (2021-05-09)
### Improvements:
* update to the latest ash version
2021-05-09 15:28:30 +12:00
## [v0.38.7](https://github.com/ash-project/ash_postgres/compare/v0.38.6...v0.38.7) (2021-05-09)
### Improvements:
* support latest ash/filtering on related aggregates
2021-05-08 04:11:22 +12:00
## [v0.38.6](https://github.com/ash-project/ash_postgres/compare/v0.38.5...v0.38.6) (2021-05-07)
### Bug Fixes:
* properly construct sources for lateral joins
* copy the correct data for lateral join queries
* better errors in error cases
### Improvements:
* update to latest ash
2021-05-07 17:49:21 +12:00
## [v0.38.5](https://github.com/ash-project/ash_postgres/compare/v0.38.4...v0.38.5) (2021-05-07)
### Bug Fixes:
* don't cast booleans to string in last_ditch_cast
2021-05-07 17:12:30 +12:00
## [v0.38.4](https://github.com/ash-project/ash_postgres/compare/v0.38.3...v0.38.4) (2021-05-07)
### Improvements:
* support latest ash version resource sorts
2021-05-07 09:37:48 +12:00
## [v0.38.3](https://github.com/ash-project/ash_postgres/compare/v0.38.2...v0.38.3) (2021-05-06)
### Improvements:
* update to latest ash
* document script to iterate migrations (#65)
2021-05-04 18:14:50 +12:00
## [v0.38.2](https://github.com/ash-project/ash_postgres/compare/v0.38.1...v0.38.2) (2021-05-04)
### Bug Fixes:
* join to join table in lateral join query
* multitenancy + lateral join sources
* don't distinct in lateral joins
2021-05-04 17:12:17 +12:00
## [v0.38.1](https://github.com/ash-project/ash_postgres/compare/v0.38.0...v0.38.1) (2021-05-04)
### Bug Fixes:
* fix fragment processing broken (#64)
2021-04-30 09:31:38 +12:00
## [v0.38.0](https://github.com/ash-project/ash_postgres/compare/v0.37.8...v0.38.0) (2021-04-29)
### Features:
* support new side load improvements
### Improvements:
* Preserve attribute order (#63)
2021-04-28 09:17:38 +12:00
## [v0.37.8](https://github.com/ash-project/ash_postgres/compare/v0.37.7...v0.37.8) (2021-04-27)
### Bug Fixes:
* simpler index names
* don't prefix unique indices with prefix()
* sort index operations last
### Improvements:
* custom index names
2021-04-28 05:16:54 +12:00
## [v0.37.7](https://github.com/ash-project/ash_postgres/compare/v0.37.6...v0.37.7) (2021-04-27)
### Bug Fixes:
* remove inspects that were left in by accident
2021-04-28 05:03:20 +12:00
## [v0.37.6](https://github.com/ash-project/ash_postgres/compare/v0.37.5...v0.37.6) (2021-04-27)
### Bug Fixes:
* type cast atoms to strings in last ditch cast
* properly type cast
* Remove duplicate file extension (#60)
2021-04-28 04:09:09 +12:00
## [v0.37.5](https://github.com/ash-project/ash_postgres/compare/v0.37.4...v0.37.5) (2021-04-27)
### Bug Fixes:
* properly type cast
2021-04-27 08:45:58 +12:00
## [v0.37.4](https://github.com/ash-project/ash_postgres/compare/v0.37.3...v0.37.4) (2021-04-26)
### Improvements:
* support `list` aggregate
2021-04-27 05:25:43 +12:00
## [v0.37.3](https://github.com/ash-project/ash_postgres/compare/v0.37.2...v0.37.3) (2021-04-26)
### Bug Fixes:
* stringify struct defaults in migration generator
* properly comment out extension uninstallation code
2021-04-22 05:50:17 +12:00
## [v0.37.2](https://github.com/ash-project/ash_postgres/compare/v0.37.1...v0.37.2) (2021-04-21)
### Improvements:
* support ash enums
2021-04-20 09:47:15 +12:00
## [v0.37.1](https://github.com/ash-project/ash_postgres/compare/v0.37.0...v0.37.1) (2021-04-19)
### Bug Fixes:
* include type in references (because it is *not* automatic)
2021-04-20 06:27:04 +12:00
## [v0.37.0](https://github.com/ash-project/ash_postgres/compare/v0.36.5...v0.37.0) (2021-04-19)
### Features:
* add check_constraints, both for validation and migrations
2021-04-14 04:39:45 +12:00
## [v0.36.5](https://github.com/ash-project/ash_postgres/compare/v0.36.4...v0.36.5) (2021-04-13)
### Bug Fixes:
* always drop constraints before modifying
* properly compare old references and new references
2021-04-13 06:14:59 +12:00
## [v0.36.4](https://github.com/ash-project/ash_postgres/compare/v0.36.3...v0.36.4) (2021-04-12)
### Bug Fixes:
* don't explicitly set type in `references`
### Improvements:
* default integers to `:bigint`
2021-04-13 04:30:42 +12:00
## [v0.36.3](https://github.com/ash-project/ash_postgres/compare/v0.36.2...v0.36.3) (2021-04-12)
### Improvements:
* primary autoincrement key as bigserial (#54)
2021-04-09 16:54:04 +12:00
## [v0.36.2](https://github.com/ash-project/ash_postgres/compare/v0.36.1...v0.36.2) (2021-04-09)
### Improvements:
* support new ash select feature
2021-04-05 08:25:56 +12:00
## [v0.36.1](https://github.com/ash-project/ash_postgres/compare/v0.36.0...v0.36.1) (2021-04-04)
### Bug Fixes:
* raise when `all_tenants/0` default impl is called
### Improvements:
* add sum aggregate (#53)
2021-04-01 19:20:15 +13:00
## [v0.36.0](https://github.com/ash-project/ash_postgres/compare/v0.35.5...v0.36.0) (2021-04-01)
### Features:
* support configuring references
* support configuring polymorphic references
* support `distinct` Ash queries
2021-03-30 02:27:47 +13:00
## [v0.35.5](https://github.com/ash-project/ash_postgres/compare/v0.35.4...v0.35.5) (2021-03-29)
### Bug Fixes:
* Made AshPostgres.Repo.init/2 overridable (#51)
### Improvements:
* only count resources w/ create action for nullability
* better error message on missing table
2021-03-22 06:24:17 +13:00
## [v0.35.4](https://github.com/ash-project/ash_postgres/compare/v0.35.3...v0.35.4) (2021-03-21)
### Bug Fixes:
* reroute `Ash.Type.UUID` to `:uuid` in migrations
* force create extensions snapshot
### Improvements:
* consistent foreign key names
* support custom foreign key error messages
2021-03-20 11:42:02 +13:00
## [v0.35.3](https://github.com/ash-project/ash_postgres/compare/v0.35.2...v0.35.3) (2021-03-19)
### Bug Fixes:
* force create extensions snapshot
* more conservative inner join checks
* add back in inner join detection logic
### Improvements:
* consistent foreign key names
* support custom foreign key error messages
2021-03-05 16:55:29 +13:00
## [v0.35.2](https://github.com/ash-project/ash_postgres/compare/v0.35.1...v0.35.2) (2021-03-05)
### Bug Fixes:
* more conservative inner join checks
* add back in inner join detection logic
2021-03-03 06:49:27 +13:00
## [v0.35.1](https://github.com/ash-project/ash_postgres/compare/v0.35.0...v0.35.1) (2021-03-02)
### Bug Fixes:
* don't start the whole app in migrate
2021-03-03 06:33:37 +13:00
## [v0.35.0](https://github.com/ash-project/ash_postgres/compare/v0.34.7...v0.35.0) (2021-03-02)
### Features:
* automatically install extensions from repo
2021-03-03 05:39:11 +13:00
## [v0.34.7](https://github.com/ash-project/ash_postgres/compare/v0.34.6...v0.34.7) (2021-03-02)
### Bug Fixes:
* typo in references for multitenancy
* `null: true` when attr isn't on all resources for a table
2021-02-25 08:01:52 +13:00
## [v0.34.6](https://github.com/ash-project/ash_postgres/compare/v0.34.5...v0.34.6) (2021-02-24)
### Bug Fixes:
* better embedded filters, switch to latest ash
2021-02-23 17:54:01 +13:00
## [v0.34.5](https://github.com/ash-project/ash_postgres/compare/v0.34.4...v0.34.5) (2021-02-23)
### Improvements:
* support latest ash
2021-02-09 09:30:10 +13:00
## [v0.34.4](https://github.com/ash-project/ash_postgres/compare/v0.34.3...v0.34.4) (2021-02-08)
### Bug Fixes:
* trim when choosing new attribute name
2021-02-07 10:03:30 +13:00
## [v0.34.3](https://github.com/ash-project/ash_postgres/compare/v0.34.2...v0.34.3) (2021-02-06)
### Bug Fixes:
* don't reference polymorphic tables to belongs_to relationships
2021-02-07 09:53:09 +13:00
## [v0.34.2](https://github.com/ash-project/ash_postgres/compare/v0.34.1...v0.34.2) (2021-02-06)
### Bug Fixes:
* set up references properly
2021-02-07 09:22:45 +13:00
## [v0.34.1](https://github.com/ash-project/ash_postgres/compare/v0.34.0...v0.34.1) (2021-02-06)
### Bug Fixes:
* reference the configured table if set
2021-02-06 13:00:13 +13:00
## [v0.34.0](https://github.com/ash-project/ash_postgres/compare/v0.33.1...v0.34.0) (2021-02-06)
### Features:
* support polymorphic relationships
2021-01-27 13:37:59 +13:00
## [v0.33.1](https://github.com/ash-project/ash_postgres/compare/v0.33.0...v0.33.1) (2021-01-27)
### Bug Fixes:
* actually insert the tracking row
2021-01-27 13:21:13 +13:00
## [v0.33.0](https://github.com/ash-project/ash_postgres/compare/v0.32.2...v0.33.0) (2021-01-27)
### Features:
* add `mix ash_postgres.create`
* add `mix ash_postgres.migrate`
* add `mix ash_postgres.migrate --tenants`
* add `mix ash_postgres.drop`
### Bug Fixes:
* rework the way multitenant migrations work
2021-01-27 09:08:14 +13:00
## [v0.32.2](https://github.com/ash-project/ash_postgres/compare/v0.32.1...v0.32.2) (2021-01-26)
### Bug Fixes:
* un-break the `in` filter type casting code
### Improvements:
* better errors for multitenant unique constraints
2021-01-25 07:25:12 +13:00
## [v0.32.1](https://github.com/ash-project/ash_postgres/compare/v0.32.0...v0.32.1) (2021-01-24)
### Bug Fixes:
* `ago` was adding, not subtracting
2021-01-24 16:45:29 +13:00
## [v0.32.0](https://github.com/ash-project/ash_postgres/compare/v0.31.1...v0.32.0) (2021-01-24)
### Features:
* support latest ash + contains
2021-01-23 10:58:16 +13:00
## [v0.31.1](https://github.com/ash-project/ash_postgres/compare/v0.31.0...v0.31.1) (2021-01-22)
### Improvements:
* update to latest ash
2021-01-23 10:48:31 +13:00
## [v0.31.0](https://github.com/ash-project/ash_postgres/compare/v0.30.1...v0.31.0) (2021-01-22)
### Features:
* support fragments
* support type casting
* update to latest ash to support expressions
### Bug Fixes:
* update CI versions
2021-01-13 14:53:41 +13:00
## [v0.30.1](https://github.com/ash-project/ash_postgres/compare/v0.30.0...v0.30.1) (2021-01-13)
2021-01-13 14:48:38 +13:00
## [v0.30.0](https://github.com/ash-project/ash_postgres/compare/v0.29.6...v0.30.0) (2021-01-13)
### Features:
* Add check_migrated option to migration generator (#40) (#43)
2021-01-13 08:22:02 +13:00
## [v0.29.6](https://github.com/ash-project/ash_postgres/compare/v0.29.5...v0.29.6) (2021-01-12)
### Bug Fixes:
* rename out of phase, small migration fix
2021-01-11 05:00:10 +13:00
## [v0.29.5](https://github.com/ash-project/ash_postgres/compare/v0.29.4...v0.29.5) (2021-01-10)
### Improvements:
* Use ecto_sql formatter settings (#38)
2021-01-10 13:57:22 +13:00
## [v0.29.4](https://github.com/ash-project/ash_postgres/compare/v0.29.3...v0.29.4) (2021-01-10)
### Improvements:
* Omit field opts if they are default values (#37)
2021-01-09 06:14:59 +13:00
## [v0.29.3](https://github.com/ash-project/ash_postgres/compare/v0.29.2...v0.29.3) (2021-01-08)
### Improvements:
* support latest ash
2021-01-08 16:54:47 +13:00
## [v0.29.2](https://github.com/ash-project/ash_postgres/compare/v0.29.1...v0.29.2) (2021-01-08)
### Improvements:
* Make integer serial if generated
2021-01-08 16:53:32 +13:00
## [v0.29.1](https://github.com/ash-project/ash_postgres/compare/v0.29.0...v0.29.1) (2021-01-08)
### Improvements:
* support latest ash version
2021-01-08 16:52:24 +13:00
## [v0.29.0](https://github.com/ash-project/ash_postgres/compare/v0.28.1...v0.29.0) (2021-01-08)
### Features:
* retain snapshot history
### Improvements:
* support latest ash version
2021-01-07 16:51:41 +13:00
## [v0.28.1](https://github.com/ash-project/ash_postgres/compare/v0.28.0...v0.28.1) (2021-01-07)
### Improvements:
* Add :binary migration type (#33)
2020-12-29 13:26:58 +13:00
## [v0.28.0](https://github.com/ash-project/ash_postgres/compare/v0.27.0...v0.28.0) (2020-12-29)
### Features:
* support latest Ash version
2020-12-24 09:29:03 +13:00
## [v0.27.0](https://github.com/ash-project/ash_postgres/compare/v0.26.2...v0.27.0) (2020-12-23)
### Features:
* support refs on both sides of operators
### Bug Fixes:
* bump ash version
2020-12-06 14:18:43 +13:00
## [v0.26.2](https://github.com/ash-project/ash_postgres/compare/v0.26.1...v0.26.2) (2020-12-06)
### Bug Fixes:
* properly accept the `tenant_migration_path`
2020-12-01 19:58:56 +13:00
## [v0.26.1](https://github.com/ash-project/ash_postgres/compare/v0.26.0...v0.26.1) (2020-12-01)
### Bug Fixes:
* set default properly when modifying
2020-11-25 13:09:05 +13:00
## [v0.26.0](https://github.com/ash-project/ash_postgres/compare/v0.25.5...v0.26.0) (2020-11-25)
### Features:
* don't drop columns unless explicitly told to
### Bug Fixes:
* various migration generator bug fixes
2020-11-18 12:41:58 +13:00
## [v0.25.5](https://github.com/ash-project/ash_postgres/compare/v0.25.4...v0.25.5) (2020-11-17)
### Bug Fixes:
* drop constraints outside of phases (#29)
2020-11-07 18:01:36 +13:00
## [v0.25.4](https://github.com/ash-project/ash_postgres/compare/v0.25.3...v0.25.4) (2020-11-07)
### Bug Fixes:
* only alter the things that have changed
2020-11-06 15:20:47 +13:00
## [v0.25.3](https://github.com/ash-project/ash_postgres/compare/v0.25.2...v0.25.3) (2020-11-06)
### Improvements:
* add utc_datetime migration type
2020-11-03 18:41:55 +13:00
## [v0.25.2](https://github.com/ash-project/ash_postgres/compare/v0.25.1...v0.25.2) (2020-11-03)
### Bug Fixes:
* access data_layer_query with function
2020-10-29 17:18:03 +13:00
## [v0.25.1](https://github.com/ash-project/ash_postgres/compare/v0.25.0...v0.25.1) (2020-10-29)
### Improvements:
* mark repo as not requiring compile-time dep
2020-10-29 17:09:42 +13:00
## [v0.25.0](https://github.com/ash-project/ash_postgres/compare/v0.24.0...v0.25.0) (2020-10-29)
### Features:
* multitenancy (#25)
### Bug Fixes:
* verify repo using ensure_compiled
2020-10-18 12:24:22 +13:00
## [v0.24.0](https://github.com/ash-project/ash_postgres/compare/v0.23.2...v0.24.0) (2020-10-17)
### Features:
* support latest ash
2020-10-07 18:46:14 +13:00
## [v0.23.2](https://github.com/ash-project/ash_postgres/compare/v0.23.1...v0.23.2) (2020-10-07)
2020-10-06 18:50:15 +13:00
## [v0.23.1](https://github.com/ash-project/ash_postgres/compare/v0.23.0...v0.23.1) (2020-10-06)
2020-10-06 18:40:15 +13:00
## [v0.23.0](https://github.com/ash-project/ash_postgres/compare/v0.22.1...v0.23.0) (2020-10-06)
### Features:
* update to latest ash, trigram filter
2020-10-01 15:44:31 +13:00
## [v0.22.1](https://github.com/ash-project/ash_postgres/compare/v0.22.0...v0.22.1) (2020-10-01)
### Bug Fixes:
* don't group alters with creates (#22)
* add jason dependency, clean lockfile (#21)
2020-09-24 13:05:05 +12:00
## [v0.22.0](https://github.com/ash-project/ash_postgres/compare/v0.21.0...v0.22.0) (2020-09-24)
### Features:
* fix error when filtering with `true`
### Bug Fixes:
* broken types for `in` operator
2020-09-20 10:08:35 +12:00
## [v0.21.0](https://github.com/ash-project/ash_postgres/compare/v0.20.1...v0.21.0) (2020-09-19)
### Features:
* support base_filter (#18)
2020-09-11 15:49:20 +12:00
## [v0.20.1](https://github.com/ash-project/ash_postgres/compare/v0.20.0...v0.20.1) (2020-09-11)
### Bug Fixes:
* document/update migration path logic
2020-09-11 15:00:39 +12:00
## [v0.20.0](https://github.com/ash-project/ash_postgres/compare/v0.19.0...v0.20.0) (2020-09-11)
### Features:
* snapshot-based migration generator
2020-09-02 16:07:26 +12:00
## [v0.19.0](https://github.com/ash-project/ash_postgres/compare/v0.18.0...v0.19.0) (2020-09-02)
### Features:
2020-09-03 20:18:11 +12:00
- support inner joins when possible (#15)
2020-09-02 16:07:26 +12:00
### Bug Fixes:
2020-09-03 20:18:11 +12:00
- better support for aggregates/calculations when delegating
2020-09-02 16:07:26 +12:00
2020-09-03 20:18:11 +12:00
- don't fail w/ no extensions configured
2020-09-02 16:07:26 +12:00
2020-08-26 16:29:20 +12:00
## [v0.18.0](https://github.com/ash-project/ash_postgres/compare/v0.17.0...v0.18.0) (2020-08-26)
### Features:
2020-09-03 20:18:11 +12:00
- update to ash 1.11 (#13)
2020-08-26 16:29:20 +12:00
2020-09-03 20:18:11 +12:00
- support Ash v1.10 (#12)
2020-08-26 16:29:20 +12:00
2020-09-03 20:18:11 +12:00
- support latest ash
2020-08-26 16:29:20 +12:00
2020-09-03 20:18:11 +12:00
- update to latest ash
2020-08-26 16:29:20 +12:00
2020-08-26 16:29:13 +12:00
## [v0.17.0](https://github.com/ash-project/ash_postgres/compare/v0.16.1...v0.17.0) (2020-08-26)
### Features:
2020-09-03 20:18:11 +12:00
- update to ash 1.11 (#13)
2020-08-26 16:29:13 +12:00
2020-09-03 20:18:11 +12:00
- support Ash v1.10 (#12)
2020-08-26 16:29:13 +12:00
2020-09-03 20:18:11 +12:00
- support latest ash
2020-08-26 16:29:13 +12:00
2020-09-03 20:18:11 +12:00
- update to latest ash
2020-08-26 16:29:13 +12:00
2020-08-19 17:19:25 +12:00
## [v0.16.1](https://github.com/ash-project/ash_postgres/compare/v0.16.0...v0.16.1) (2020-08-19)
### Bug Fixes:
2020-09-03 20:18:11 +12:00
- fix compile/dialyzer issues
2020-08-19 17:19:25 +12:00
2020-08-19 16:53:29 +12:00
## [v0.16.0](https://github.com/ash-project/ash_postgres/compare/v0.15.0...v0.16.0) (2020-08-19)
### Features:
2020-09-03 20:18:11 +12:00
- update to latest ash
2020-08-19 16:53:29 +12:00
2020-09-03 20:18:11 +12:00
- update to latest version of ash
2020-08-19 16:53:29 +12:00
2020-08-18 17:54:21 +12:00
## [v0.15.0](https://github.com/ash-project/ash_postgres/compare/v0.14.0...v0.15.0) (2020-08-18)
### Features:
2020-09-03 20:18:11 +12:00
- update to latest version of ash
2020-08-18 17:54:21 +12:00
2020-08-17 18:47:15 +12:00
## [v0.14.0](https://github.com/ash-project/ash_postgres/compare/v0.13.0...v0.14.0) (2020-08-17)
### Features:
2020-09-03 20:18:11 +12:00
- support ash 1.7
2020-08-17 18:47:15 +12:00
2020-09-03 20:18:11 +12:00
- support named aggregates
2020-08-17 18:47:15 +12:00
2020-07-25 14:42:39 +12:00
## [v0.13.0](https://github.com/ash-project/ash_postgres/compare/v0.12.1...v0.13.0) (2020-07-25)
### Features:
2020-09-03 20:18:11 +12:00
- update to latest ash
2020-07-25 14:42:39 +12:00
2020-09-03 20:18:11 +12:00
- support latest ash
2020-07-25 14:42:39 +12:00
2020-07-25 10:01:26 +12:00
## [v0.12.1](https://github.com/ash-project/ash_postgres/compare/v0.12.0...v0.12.1) (2020-07-24)
### Bug Fixes:
2020-09-03 20:18:11 +12:00
- add can? for `:aggregate`
2020-07-25 10:01:26 +12:00
2020-07-25 09:39:36 +12:00
## [v0.12.0](https://github.com/ash-project/ash_postgres/compare/0.11.2...v0.12.0) (2020-07-24)
### Features:
2020-09-03 20:18:11 +12:00
- update to latest ash
2020-07-25 09:39:36 +12:00
2020-07-23 17:38:54 +12:00
## [v0.11.2](https://github.com/ash-project/ash_postgres/compare/0.11.1...v0.11.2) (2020-07-23)
### Bug Fixes:
## [v0.11.1](https://github.com/ash-project/ash_postgres/compare/0.11.0...v0.11.1) (2020-07-23)
### Bug Fixes:
2020-07-23 17:14:26 +12:00
## [v0.11.0](https://github.com/ash-project/ash_postgres/compare/0.10.0...v0.11.0) (2020-07-23)
### Features:
2020-09-03 20:18:11 +12:00
- support ash 13.0 aggregates
2020-07-23 17:14:26 +12:00
2020-07-15 17:45:16 +12:00
## [v0.10.0](https://github.com/ash-project/ash_postgres/compare/0.9.0...v0.10.0) (2020-07-15)
### Features:
2020-09-03 20:18:11 +12:00
- update to latest ash
2020-07-15 17:45:16 +12:00
2020-07-13 16:41:46 +12:00
## [v0.9.0](https://github.com/ash-project/ash_postgres/compare/0.8.0...v0.9.0) (2020-07-13)
### Features:
2020-09-03 20:18:11 +12:00
- update to latest ash
2020-07-13 16:41:46 +12:00
2020-07-09 19:26:57 +12:00
## [v0.8.0](https://github.com/ash-project/ash_postgres/compare/0.7.0...v0.8.0) (2020-07-09)
### Features:
2020-09-03 20:18:11 +12:00
- update to latest ash
2020-07-09 19:26:57 +12:00
2020-07-09 19:05:28 +12:00
## [v0.7.0](https://github.com/ash-project/ash_postgres/compare/0.6.0...v0.7.0) (2020-07-09)
### Features:
2020-09-03 20:18:11 +12:00
- update to latest ash
2020-07-09 19:05:28 +12:00
2020-09-03 20:18:11 +12:00
- update to latest ash, add docs
2020-07-09 19:05:28 +12:00
2020-09-03 20:18:11 +12:00
- update to ash 0.9.1 for transactions
2020-07-09 19:05:28 +12:00
2020-06-29 15:47:20 +12:00
## [v0.6.0](https://github.com/ash-project/ash_postgres/compare/0.5.0...v0.6.0) (2020-06-29)
### Features:
2020-09-03 20:18:11 +12:00
- update to latest ash
2020-06-29 15:47:20 +12:00
2020-06-29 14:29:53 +12:00
## [v0.5.0](https://github.com/ash-project/ash_postgres/compare/0.4.0...v0.5.0) (2020-06-29)
### Features:
2020-09-03 20:18:11 +12:00
- upgrade to latest ash
2020-06-29 14:29:53 +12:00
2020-06-28 07:11:42 +12:00
## [v0.4.0](https://github.com/ash-project/ash_postgres/compare/0.3.0...v0.4.0) (2020-06-27)
### Features:
2020-09-03 20:18:11 +12:00
- update to latest ash
2020-06-28 07:11:42 +12:00
2020-06-19 15:05:18 +12:00
## [v0.3.0](https://github.com/ash-project/ash_postgres/compare/0.2.1...v0.3.0) (2020-06-19)
### Features:
2020-09-03 20:18:11 +12:00
- New filter style (#10)
2020-06-19 15:05:18 +12:00
2020-06-15 19:05:55 +12:00
## [v0.2.1](https://github.com/ash-project/ash_postgres/compare/0.2.0...v0.2.1) (2020-06-15)
### Bug Fixes:
2020-09-03 20:18:11 +12:00
- update .formatter.exs
2020-06-15 19:05:55 +12:00
2020-06-14 19:04:38 +12:00
## [v0.2.0](https://github.com/ash-project/ash_postgres/compare/0.1.4...v0.2.0) (2020-06-14)
### Features:
2020-09-03 20:18:11 +12:00
- use the new DSL builder for config (#7)
2020-06-14 19:04:38 +12:00
2020-06-05 15:51:04 +12:00
## [v0.1.4](https://github.com/ash-project/ash_postgres/compare/0.1.3...v0.1.4) (2020-06-05)
### Bug Fixes:
2020-09-03 20:18:11 +12:00
- update ash version dependency
2020-06-05 15:51:04 +12:00
2020-09-03 20:18:11 +12:00
- account for removal of name
2020-06-05 15:51:04 +12:00
2020-06-03 15:44:49 +12:00
## [v0.1.3](https://github.com/ash-project/ash_postgres/compare/0.1.2...v0.1.3) (2020-06-03)
This release was a test of our automatic hex.pm package deployment
2020-06-01 17:37:00 +12:00
## Begin Changelog