Releases: golang-migrate/migrate
Releases · golang-migrate/migrate
v4.3.0
Changes
- Fixed bug (#164) introduced by #150 by not re-creating the schema version table thanks to @lukaspj (#173)
- This change was made to all DB drivers and may break your dev workflow if you expect the schema version table to exist after
Migrate.Drop()
is run.
- This change was made to all DB drivers and may break your dev workflow if you expect the schema version table to exist after
- Support Go 1.12.x and drop support for Go 1.10.x
- Distributed CLI binaries are now built with Go 1.12.x
- Updated dependencies
- Fixes issue with dependencies using wrong golint import path (#202)
- Support gitlab as a migration source thanks to @bpatyi (#184)
- Support migrations for the Firebird database thanks to @kmuratov (#191)
v4.2.5
v4.2.4
v4.2.3
v4.2.2
v4.2.1
v4.2.0
Breaking Changes
- Update
github.com/docker/docker
checksum ingo.sum
which is computed differently in Go 1.11.4- If you're using Go modules, you'll need to use Go 1.11.4 with this version.
Changes
- Update
github.com/go-sql-driver/mysql
fromv1.4.0
tov1.4.1
to fix issue with connecting to a MySQL RDBMS w/o a password. Thanks to @fsouza for reporting (#139) and fixing (#141) the issue. - More tolerant URL parsing by file source driver thanks to @coolaj86 (#143)
- Support
NilVersion
in ClickHouse db driver thanks to @bobrovde (#145)- To use this, you'll need to manually
ALTER
theversion
column in the schema version table. e.g.ALTER schema_migrations MODIFY COLUMN version Int64
- To use this, you'll need to manually
v4.1.0
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 embeddeddatabase.Driver
e.g.redshift.Redshift.Driver
If you encounter this issue, either:- Stop using the embedded
database.Driver
and instead use the Redshift DB driver which provides the same interface. - Wrap the new Redshift DB driver and update your references to use your new wrapper
- Stop using the embedded
- Debian packages install
migrate
to/usr/local/bin
instead of/usr/bin
. You'll need to update any references to themigrate
binary that uses absolute paths and ensure that/usr/local/bin
is in your environmentPATH
.
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 name
migrate
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])