github golang-migrate/migrate v4.12.0

latest releases: v4.17.1, v4.17.0, v4.16.2...
3 years ago

Breaking Changes

  • Spanner db driver no longer parses out multiple statements by default. See: #409 (comment). 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 (#386)
  • Add mongodb+srv as a scheme to support seedlists thanks to @shiwano (#391)
  • Add snowflake db driver thanks to @abhinavcohesity (#402)
    • snowflake is not officially supported due to lack of tests
  • Update spanner driver thanks to @dmivankov (#403)
  • Support stripping comments and cleaning/parsing in spanner db driver thanks to @alethenorio (#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 (#415)
  • Update go-mssqldb and spanner drivers to remove dependency on vulnerable thrift package thanks to @odeke-em (#417)

Docs

Builds

  • Stop releasing .debs for Ubuntu 18.10 and start releasing for Ubuntu 20.04

Don't miss a new migrate release

NewReleases is sending notifications on new releases.