Releases: pressly/goose
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
v2.7.0-rc5: Release candidate with bunch of fixes & readme improvements
Notice: goose -version
prints v2.7.0-rc3
incorrectly on this pre-relase.
v2.7.0-rc4: Fixes regression in SQL parser
Fixes #158
Notice: goose -version
prints v2.7.0-rc3
incorrectly on this pre-relase.
v2.7.0-rc3 Remove unnecessary mysql dependency from goose pkg
Merge pull request #157 from pressly/remove_goose_pkg_deps Remove goose pkg deps
v2.7.0-rc2 Add vendor/ directory; Fix bunch of issues
v2.7.0-rc1 Refactor SQL parser
Refactors SQL parser pretty much from scratch, adds a super simple state machine parser, to fix bunch of reported issues:
Fixes #87
Fixes #132
Fixes #122
Fixes #138
We have tested this release against our pre-production environments and against a test suite of ~100 .sql and ~50 .go migrations. The above issues look to be fixed; at least from the unit test perspective.
Please, help us test this release against your migration files on pre-production environments to ensure this release candidate is in a good shape and has no regressions!
v2.6.0 Improve error handling, --version & -v flags
- Improve error handling
- use errors.Wrap() and propagate error context, ie. print SQL statement that caused the rollback
- add missing error checks
- remove log.Fatal() calls from the goose pkg - everything returns error and can be used as import library
- Add --version flag to print current version of the binary
- Add -v flag for "verbose" mode - for debugging purposes
- Don't create goose_db_table on
goose status
v2.5.0 - fix large .sql migrations; use default std logger
Remove unused update queries
Merge pull request #133 from pressly/fix_dialect Remove unused update query
down command now removes version row record
This will resolve dangling records when deploying different version codebases to the same DB