Skip to content

Releases: pressly/goose

v2.7.0-rc5: Release candidate with bunch of fixes & readme improvements

25 Aug 12:41
ad369d9
Compare
Choose a tag to compare

Notice: goose -version prints v2.7.0-rc3 incorrectly on this pre-relase.

v2.7.0-rc4: Fixes regression in SQL parser

03 May 21:15
c35094e
Compare
Choose a tag to compare

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

06 Mar 06:39
f6dca2b
Compare
Choose a tag to compare
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

06 Mar 05:41
Compare
Choose a tag to compare
  • Add semi-support for Go modules & add vendor/ directory
  • Improve Go and SQL templates on goose create
  • Add more unit tests
  • Fixes #101 - MySQL connection string
  • Fixes #98 - simplifies code in cmd and _examples
  • Fixes #146 - Redshift dialect

v2.7.0-rc1 Refactor SQL parser

05 Mar 21:09
f54a6e4
Compare
Choose a tag to compare
Pre-release

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

05 Mar 20:52
e4b9895
Compare
Choose a tag to compare
  • 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

04 Mar 19:55
9292c39
Compare
Choose a tag to compare
  • Improve custom logger: Use stdlib's existing logger variable by default #147
  • fix goose memory consumption on large migrations #93

Remove unused update queries

26 Nov 20:51
@1vn 1vn
7a98874
Compare
Choose a tag to compare
Merge pull request #133 from pressly/fix_dialect

Remove unused update query

down command now removes version row record

26 Nov 17:29
@1vn 1vn
5807a91
Compare
Choose a tag to compare

This will resolve dangling records when deploying different version codebases to the same DB

Fix missing return statement for fix command

14 Nov 17:07
@1vn 1vn
b6d4822
Compare
Choose a tag to compare
Merge pull request #126 from pressly/add-fix-return

add return here