ash_postgres/CHANGELOG.md

79 lines
2.8 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 -->
2024-05-23 09:49:49 +12:00
## [v2.0.3](https://github.com/ash-project/ash_postgres/compare/v2.0.2...v2.0.3) (2024-05-22)
### Bug Fixes:
* handle complex maps/list on update
* support anonymous aggregates in sorts
* ensure parent_as bindings properly reference binding names
* add and remove custom indexes in tandem properly
### Improvements:
* support `on_delete: :nilify` for specific columns (#289)
2024-05-16 09:53:32 +12:00
## [v2.0.2](https://github.com/ash-project/ash_postgres/compare/v2.0.1...v2.0.2) (2024-05-15)
### Bug Fixes:
* [update_query/destroy_query] rework the update and destroy query builder to support multiple kinds of joining
* [mix ash_postgres.migrate] remove duplicate repo flags (#285)
* [Ash.Error.Changes.StaleRecord] ensure filter is included in stale record error messages we return
* [AshPostgres.MigrationGenerator] properly parse previous version from migration generation
2024-05-13 04:50:58 +12:00
## [v2.0.1](https://github.com/ash-project/ash_postgres/compare/v2.0.0...v2.0.1) (2024-05-12)
### Bug Fixes:
- [AshPostgres.MigrationGenerator] properly parse previous version of custom extensions when generating migrations
2024-05-09 10:40:08 +12:00
## [v2.0.0](https://github.com/ash-project/ash_postgres/compare/v2.0.0...2.0)
2024-04-13 01:08:49 +12:00
2024-05-09 10:40:08 +12:00
The changelog is starting over. Please see `/documentation/1.0-CHANGELOG.md` in GitHub for previous changelogs.
2024-03-28 10:29:10 +13:00
2024-03-28 10:30:30 +13:00
### Breaking Changes:
2024-03-28 10:29:10 +13:00
2024-05-09 10:40:08 +12:00
- [Ash.Type.UUID] change defaults in migrations for uuids to `gen_random_uuid()`
- [Ash.Type.DateTime] Use UTC for default generated timestamps (#131)
- [AshPostgres.DataLayer] must now know the min_pg_version that will be used. By default we check this at repo startup by asking the database, but you can also define it yourself.
- [AshPostgres.DataLayer] Now requires postgres version 14 or higher
2024-03-28 10:29:10 +13:00
### Features:
2024-05-09 10:40:08 +12:00
- [AshPostgres.Timestamptz] add timestamptz types (#266)
- [AshPostgres.Repo] add `create?` and `drop?` callbacks to `AshPostgres.Repo` (#143)
- [AshPostgres.DataLayer] support `c:AshDataLayer.calculate/3` capability
2024-03-06 03:20:32 +13:00
### Bug Fixes:
2024-05-09 10:40:08 +12:00
- [AshPostgres.MigrationGenerator] honor dry_run option in extension migrations
- [AshPostgres.MigrationGenerator] don't wait for shell input when checking migrations
- [AshPostgres.DataLayer] ensure limit/offset triggers joining for update/destroy query
- [AshPostgres.DataLayer] properly honor `limit` in bulk operations
- [AshPostgres.DataLayer] ensure that `exists` with a filter paired with `from_many?` functions properly
2024-03-01 14:20:47 +13:00
### Improvements:
2024-05-09 10:40:08 +12:00
- [AshPostgres.Repo] warn on missing ash-functions at compile time
- [AshPostgres.Repo] add default implementation for pg_version, and rename to `min_pg_version`
- [mix ash.rollback] support `mix ash.rollback` with interactive rollback
- [AshSql] move many internals out to `AshSql` package to be shared