@dhui dhui released this Oct 15, 2018 · 1 commit to master since this release

Assets 7

Changes

  • Fix logrus name collision in go.mod thanks to @albenik (#114)

@dhui dhui released this Oct 11, 2018 · 3 commits to master since this release

Assets 7

Breaking Changes

  • Opt-in to Go 1.11 modules
    • Per the Go module wiki, only Go 1.9.7+, 1.10.3+, and 1.11+ are supported
    • You'll need to use Go modules to use this release
      • Use modules: go mod init
      • Update to the latest version of migrate: go get -u github.com/golang-migrate/migrate
    • If you're updating from v3.5.2, you'll need to update all of your imports from v3 to v4
      • A command like this should update your imports:
        sed -i -e 's@"github.com/golang-migrate/migrate/v3@"github.com/golang-migrate/migrate/v4@g' $(git grep -l '"github.com/golang-migrate/migrate/v3')
    • If you're updating from any other version before v4 except for v3.5.2, you'll need to change your imports to include v4
      • A command like this should update your imports:
        sed -i -e 's@"github.com/golang-migrate/migrate@"github.com/golang-migrate/migrate/v4@g' $(git grep -l '"github.com/golang-migrate/migrate')
    • Note: BSD sed and GNU sed treat the -i option differently. Please consult your sed man page before running any of the commands above

@dhui dhui released this Oct 10, 2018 · 8 commits to master since this release

Assets 7

Breaking Changes (from v3.5.2 only)

  • Opt out of Go modules
    • Update all of your imports. e.g. github.com/golang-migrate/migrate/v3 becomes github.com/golang-migrate/migrate
    • A command like this should work:
      sed -i -e 's@"github.com/golang-migrate/migrate/v3@"github.com/golang-migrate/migrate@g' $(git grep -l '"github.com/golang-migrate/migrate/v3')
      • Note: BSD sed and GNU sed treat the -i option differently. Please consult your sed man page before running the command above.

Changes

  • Don't drop views when running migrate drop with the Postgres db driver thanks to @MikeFitzgerald (#110)

@dhui dhui released this Sep 14, 2018 · 14 commits to master since this release

Assets 7

Breaking Changes

  • Opt-in to Go 1.11 modules
    • To use this release, you'll need to:
      1. Per the Go module wiki, use Go 1.9.7+, 1.10.3+, or 1.11
      2. Update all of your imports. e.g. github.com/golang-migrate/migrate becomes github.com/golang-migrate/migrate/v3
        • A command like this should work:
          sed -i -e 's@"github.com/golang-migrate/migrate@"github.com/golang-migrate/migrate/v3@g' $(git grep -l '"github.com/golang-migrate/migrate')
          • Note: BSD sed and GNU sed treat the -i option differently. Please consult your sed man page before running the command above.
      3. Pin migrate to v3.5.2 (or later) by running: go get -u github.com/golang-migrate/migrate

Changes

  • Stop leaking *sql.DB from the mysql and postgres drivers thanks to @Kay-Zee (#98)

@dhui dhui released this Sep 5, 2018 · 21 commits to master since this release

Assets 7

Changes:

  • Support multi-line queries in ClickHouse thanks to @strangeman (#82)
  • Improved tests and docs thanks to @HaraldNordgren (#85, #88, #89)
  • Officially support Postgres 10 and drop support for Postgres 9.2
  • Get MySQL custom TLS working thanks to @stabacov (#91)
  • Upgrade to dep from v0.4.1 to v0.5.0
  • Support Go 1.11 and drop support for Go 1.10
    • Support Go modules

@dhui dhui released this Jul 25, 2018 · 40 commits to master since this release

Assets 7

Changes:

  • Revert #69
    • Allow DB connection URLs to contain escaped/encoded reserved URL characters (#78)
    • If you have reserved URL characters in your DB connection URL, you should encode them
  • Update dependencies
  • Support multiple statements in a single migration file for Cassandra thanks to @agquick (#76)
    • This is disabled by default. See the docs for the caveats and how to enable multi-statements

@dhui dhui released this Jul 16, 2018 · 58 commits to master since this release

Assets 7

Changes:

  • Allow non-alphanumeric with the MySQL db driver thanks to @RyanDeng and @bcho (#69)
    • Other db drivers may still have this issue as the fix was only applied to the MySQL db driver
  • Display more info when Postgres errors are encountered thanks to @dvic (#71)
  • Smaller docker images
  • Ensure that all release binaries are statically built