Releases: pressly/goose
v3.5.1
v3.5.0
v3.4.1
v3.3.1
v3.3.0
Changelog
8ed5f63: Add the ability to apply missing (out-of-order) migrations (#280) (@mfridman)
NOTE. The default behaviour in goose
was to ignore missing migrations. Example:
Suppose migration 1 and 4 are applied and then version 2, 3, 5 are introduced. Previously goose will ignore version 2, 3 and apply only 5.
In the new implementation goose will raise and error (because 2 and 3 are lower than the current max version: 4), unless you explicitly set the -allow-missing
flag (CLI) or functional option goose.WithAllowMissing()
(library) to Up, UpTo or UpByOne.
With this goose detects missing (i.e., out-of-order) migrations 2, 3 and applies them, followed by migration 5. Which means the applied order of migrations will be: 1, 4, 2, 3, 5
Lastly, a missing migration is one that has not been applied and is lower that the current max version_id
in the database.
9f88133: Update dependencies; go mod tidy and verify (@mfridman)
6bef64a: Update readme (@mfridman)
v3.2.0
Changelog
97eae09: Add CI workflows to generate GitHub Releases and binaries on new tag push (#277) (@mfridman)
48f48dc: Add container-based database tests for postgres and mysql (#276) (@mfridman)
0e770f8: Add goose logo (#274) (@mfridman)
f24b19c: Update readme with mysql multiStatements (@mfridman)
e976a73: fix clickhouse goose table name (#270) (@qonsth)
872d9e9: fixed a typo in the OpenDBWithDriver() description. (#253) (@kaatinga)
v3.1.0
v3.0.1
v3.0.0
v2.7.0
The v2.7.0 release is a long overdue one. We've been running the release candidates internally and have not observed issues.
There are a number of fixes and improvements in this release.
Fixes #87
Fixes #98
Fixes #101
Fixes #122
Fixes #132
Fixes #138
Fixes #146
Fixes #158
Merge #157 - Remove goose pkg deps
Merge #224 - Do not require MySQL when --tags="no_mysql",
Merge #227 - Update github.com/lib/pq from v1 to v1.1
Merge #215 - New flag -s
to create sequential versioning files