v4.11.0
版本发布时间: 2020-05-04 14:48:48
golang-migrate/migrate最新发布版本:v4.18.1(2024-09-09 06:12:22)
Breaking Changes
- Fix
neo4j.WithInstance()
method signature to actually include an instance of the neo4j driver thanks to @dynastymasra (https://github.com/golang-migrate/migrate/pull/373)
Changes
Core Library
- Update
hashicorp/go-multierror
tov1.1.0
to fix https://github.com/golang-migrate/migrate/issues/369 thanks to @jmramos02 (https://github.com/golang-migrate/migrate/pull/375)
Database Driver
- Properly handle first down migration failures (https://github.com/golang-migrate/migrate/issues/330)
- Affected drivers: cassandra, cockroachdb, firebird, mysql, neo4j, postgres, ql, redshift, sqlite, and sqlserver
- Schema migration apply times are now tracked in Neo4j
- Affected drivers: cassandra, cockroachdb, firebird, mysql, neo4j, postgres, ql, redshift, sqlite, and sqlserver
Source Driver
- Add support for
pkger
thanks to @hnnsgstfssn (https://github.com/golang-migrate/migrate/pull/377)
CLI
- Prompt before running the
drop
command thanks to @niksoper (https://github.com/golang-migrate/migrate/pull/360)
Docs
- Provide guidance on how to handle dirty database version errors fixing https://github.com/golang-migrate/migrate/issues/337 thanks to @mknycha (https://github.com/golang-migrate/migrate/pull/361)
- Fix command for building and installing the CLI. Thanks to @JKKGBE for reporting.
1、 migrate.linux-amd64.tar.gz 15.88MB
2、 migrate.linux-armv7.tar.gz 14.71MB
3、 migrate.linux-arm64.tar.gz 14.88MB
4、 migrate.darwin-amd64.tar.gz 15.68MB
5、 migrate.windows-amd64.exe.tar.gz 15.7MB
6、 migrate.windows-386.exe.tar.gz 15.01MB
7、 sha256sum.txt 1.07KB
8、 dependency_tree.txt 15.87KB