diff options
Diffstat (limited to 'CHANGELOG.md')
| -rw-r--r-- | CHANGELOG.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index df79c15..303ca26 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Added + +- **Migration dependencies**: Migrations can now declare dependencies on other + migrations using `-- depends: version1, version2` at the top of the migration file. + These dependencies determine execution order. New migrations automatically depend + on current leaf migrations. + +Migration to dependencies: If you don't have _any_ '-- depends:' directives, +all migrations will be treated as 'leaf' node migrations and simply execute in +version order as before. To start using dependencies, you should backport them +to all existing dependencies before doing so. + ### Changed - Updated Go to version 1.24.0. @@ -16,6 +28,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - `github.com/mattn/go-sqlite3` from v1.14.22 to v1.14.32 - `github.com/microsoft/go-mssqldb` from v1.7.0 to v1.9.3 - Updated `github.com/BurntSushi/toml` from v1.3.2 to v1.5.0. +- Migration execution order is now determined by dependencies rather than version number. ### Removed |