mirror of
https://github.com/ash-project/ash_postgres.git
synced 2024-09-20 13:33:50 +12:00
44 lines
2 KiB
Markdown
44 lines
2 KiB
Markdown
# Change Log
|
|
|
|
All notable changes to this project will be documented in this file.
|
|
See [Conventional Commits](Https://conventionalcommits.org) for commit guidelines.
|
|
|
|
<!-- changelog -->
|
|
|
|
## [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
|
|
|
|
## [v2.0.0](https://github.com/ash-project/ash_postgres/compare/v2.0.0...2.0)
|
|
|
|
The changelog is starting over. Please see `/documentation/1.0-CHANGELOG.md` in GitHub for previous changelogs.
|
|
|
|
### Breaking Changes:
|
|
|
|
- [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
|
|
|
|
### Features:
|
|
|
|
- [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
|
|
|
|
### Bug Fixes:
|
|
|
|
- [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
|
|
|
|
### Improvements:
|
|
|
|
- [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
|