aboutsummaryrefslogtreecommitdiffstats
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2025-10-18 10:43:39 -0400
committerEugene Triguba <hello@eugenetriguba.com>2025-11-26 11:46:57 -0500
commite5658d1f61415054029b66cd2f703f1f40138460 (patch)
treec609e209f4cebc62dd985d1b773558f47eb73bf6 /CHANGELOG.md
parentAdd is-branch main check for docs deployment (diff)
downloadcli-e5658d1f61415054029b66cd2f703f1f40138460.zip
Add support for migration dependencies
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md13
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