Skip to content

v3.5.2

Compare
Choose a tag to compare
@dhui dhui released this 14 Sep 21:34
· 767 commits to master since this release

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)