v4.14.0
版本发布时间: 2020-11-21 14:10:35
golang-migrate/migrate最新发布版本:v4.18.1(2024-09-09 06:12:22)
Changes
Source Drivers
- Add BitBucket as a source thanks to @Doctor-X (https://github.com/golang-migrate/migrate/pull/450)
- Improve error message readability when the source driver is missing thanks to @olicuzo (https://github.com/golang-migrate/migrate/pull/454)
- Add iofs source driver (Go 1.16+ only) fixing https://github.com/golang-migrate/migrate/issues/471 thanks to @johejo (https://github.com/golang-migrate/migrate/pull/472)
- This enables support for
go:embed
(https://github.com/golang/go/issues/41191)
- This enables support for
Database Drivers
- Spanner
- Add local locks for Spanner (https://github.com/golang-migrate/migrate/commit/fa3e11943a0447a728b3bc9f1feff16a146235d5)
- Run tests against in-memory emulator fixing https://github.com/golang-migrate/migrate/issues/410
- MySQL
- Fix issue (https://github.com/golang-migrate/migrate/issues/411) connecting to MySQL with custom TLS parameters. Thanks @Chronojam for the detailed bug report!
- Fix issue with
ANSI
orANSI_QUOTES
sql_mode
(https://github.com/golang-migrate/migrate/issues/475) thanks to @MacTynow (https://github.com/golang-migrate/migrate/pull/476)
- Properly handle all errors when running
drop
thanks to @hypnoglow (https://github.com/golang-migrate/migrate/pull/456) - Update dhui/dktest to update docker client which uses the module compatible version of logrus
CLI
- Add help option (
-h
) to everymigrate
command thanks to @yageek (https://github.com/golang-migrate/migrate/pull/460)
Docs
- Warn about installing
migrate
viago get
from within a module fixing https://github.com/golang-migrate/migrate/pull/257 - Document postgres
search_path
issues thanks to @veger (https://github.com/golang-migrate/migrate/pull/414) - Typo fixed thanks to @xortive (https://github.com/golang-migrate/migrate/pull/458)
- Document
-f
option for the drop command thanks to @neomantra (https://github.com/golang-migrate/migrate/pull/459)
1、 migrate.linux-amd64.tar.gz 16.29MB
2、 migrate.linux-armv7.tar.gz 14.99MB
3、 migrate.linux-arm64.tar.gz 15.21MB
4、 migrate.darwin-amd64.tar.gz 16.09MB
5、 migrate.windows-amd64.exe.tar.gz 16.26MB
6、 migrate.windows-386.exe.tar.gz 15.69MB
7、 sha256sum.txt 1.07KB
8、 dependency_tree.txt 21.17KB