Skip to content

v4.1.0

Compare
Choose a tag to compare
@dhui dhui released this 27 Nov 22:42

Breaking Changes

  • The Redshift DB driver no longer exposes an embedded database.Driver.
    The decision was made to include this backwards incompatible change since it's unlikely to affect any users. e.g. the affected usage is an anti-pattern
    For more info, see: #128 (comment)
    You will not be impacted by this change unless you're using the Redshift DB driver's embedded database.Driver e.g. redshift.Redshift.Driver
    If you encounter this issue, either:
    1. Stop using the embedded database.Driver and instead use the Redshift DB driver which provides the same interface.
    2. Wrap the new Redshift DB driver and update your references to use your new wrapper
  • Debian packages install migrate to /usr/local/bin instead of /usr/bin. You'll need to update any references to the migrate binary that uses absolute paths and ensure that /usr/local/bin is in your environment PATH.

Changes

  • Support TLS connections in the Cassandra DB driver thanks to @weszeloos (#115)
  • Allow the Spanner DB driver to be customized in Go thanks to @wmetaw (#121)
  • Support migrating multiple schemas in Postgres thanks to @vporoshok (#127)
    • Fixed issue with dangling locks in unreleased version. Thanks @PawelKawecki for reporting! (#130)
  • Fix the Redshift DB driver (not sure if it ever worked...). Thanks to @sumits for reporting and investigating (#90) and @andrei-m for fixing (#128)
  • Changed CLI path so that binaries built using the Go tool chain have the namemigrate thanks to @vearutop (#131)
  • Support Debian packages across more distros (debian/stretch, debian/buster, ubuntu/xenial [16.04 LTS], ubuntu/bionic [18.04 LTS], ubuntu/cosmic [18.10])