v4.12.0
版本发布时间: 2020-07-27 14:47:42
golang-migrate/migrate最新发布版本:v4.18.1(2024-09-09 06:12:22)
Breaking Changes
- Spanner db driver no longer parses out multiple statements by default. See: https://github.com/golang-migrate/migrate/pull/409#discussion_r445188826. Thanks to @wyardley for pointing out that the breaking change wasn't documented in the release notes!
Changes
Core Library
- Add
multistmt
package to handle splitting multiple statements in a migration
Database Driver
- Fix Cassandra SSL URL param handling thanks to @KadenLNelson (https://github.com/golang-migrate/migrate/pull/386)
- Add
mongodb+srv
as a scheme to support seedlists thanks to @shiwano (https://github.com/golang-migrate/migrate/pull/391) - Add snowflake db driver thanks to @abhinavcohesity (https://github.com/golang-migrate/migrate/pull/402)
- snowflake is not officially supported due to lack of tests
- Update spanner driver thanks to @dmivankov (https://github.com/golang-migrate/migrate/pull/403)
- Support stripping comments and cleaning/parsing in spanner db driver thanks to @alethenorio (https://github.com/golang-migrate/migrate/pull/409)
- Update clickhouse, cassandra, and neo4j db drivers to use new
multistmt
package - Update neo4j driver to no longer require CGO thanks to @arjantop-cai (https://github.com/golang-migrate/migrate/pull/415)
- Update go-mssqldb and spanner drivers to remove dependency on vulnerable thrift package thanks to @odeke-em (https://github.com/golang-migrate/migrate/pull/417)
Docs
- Add example
pkger
source driver usage thanks to @hnnsgstfssn (https://github.com/golang-migrate/migrate/pull/397) - Typo fixed thanks to @RichardLindhout (https://github.com/golang-migrate/migrate/pull/407)
Builds
- Stop releasing .debs for Ubuntu 18.10 and start releasing for Ubuntu 20.04
1、 dependency_tree.txt 20.85KB