Skip to content

v0.42.0-rc.3

@zachdaniel zachdaniel tagged this 28 Jun 19:10
[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
Assets 2
Loading