aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Triguba <eugenetriguba@gmail.com>2024-03-02 10:32:42 -0500
committerEugene Triguba <eugenetriguba@gmail.com>2024-03-02 10:32:42 -0500
commitd45be1a75e6c55a7b1037f14c9e163be9a1ce214 (patch)
treeaef5d4252c4ddb71619cd7268bc3489d3ff1e0df
parentClean up fs repo and fs repo tests (diff)
downloadcli-d45be1a75e6c55a7b1037f14c9e163be9a1ce214.zip
Update docs and changelog
-rw-r--r--CHANGELOG.md6
-rw-r--r--README.md6
2 files changed, 12 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f57ab94..52c1ff9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -11,11 +11,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Documentation on `bolt version` command.
- Ability to use sequentially versioned or timestamp-based migration versions.
+- More detailed error messages to help understand when things go wrong.
### Changed
- Moved `cli.Run` from `pkg` to `internal`
+### Fixed
+
+- A handful of unhandled errors which were leading to some silent failures.
+- The migration version wasn't being parsed out and converted to its native type during sort. That is now being done, for either version style (sequential or timestamp).
+
## [0.2.1] - 2024-01-14
### Fixed
diff --git a/README.md b/README.md
index 002ac97..39b818a 100644
--- a/README.md
+++ b/README.md
@@ -261,6 +261,12 @@ or in any parent directory.
# the current working directory. You may also use an absolute
# path.
directory_path = "migrations"
+# The migration versioning style you prefer. Supported options
+# are "timestamp" and "sequential". Defaults to "timestamp".
+#
+# Note: It is not supported to change migration version styles
+# once one is picked and migrations have been applied.
+version_style = "timestamp"
# Connection parameters for the database Bolt will be
# applying migrations to. All connection parameters are