github golang-migrate/migrate v4.15.0-beta.1

latest releases: v4.18.1, v4.18.0, v4.17.1...
pre-release3 years ago

Breaking Changes

  • When updating to this version of migrate with postgres, you need to ensure that no migrations are currently running and no old versions of migrate will run at the same time as new versions. The inputs for generating the advisory lock changed so this version will lock with a different key than previous versions.

Changes

Builds

  • Use GoReleaser and GitHub Actions for releases thanks to @johejo and @Fontinalis (#604)
  • Fix test on windows (#482) by @johejo
  • Upgrade dktest from v0.3.3 to v.0.3.4 by @dhui
  • Support Go 1.16 and drop support for Go 1.15 by @dhui
  • Update docker builds to use Go 1.16 and Alpine Linux 3.13 (#560) by @dhui

Source Drivers

  • GitLab
    • Fix issue when gitlab return only first 20 migrations (#497) by @mef13
  • GitHub
  • iofs

Database Drivers

  • used uber atomic bool instead standard in lock/unlock db (#580) by @prinkov
  • sqlite3
  • postgres & pgx
  • clubhouse
  • spanner
    • fix (spanner): upgrade spanner client to v1.18.0 to support NUMERIC types (#565) by @kylechadha
  • snowflake
    • Update snowflake DB driver to update to non-vulnarable jwt downstream package (#569) by @dhui
  • mssql
  • mysql
    • Added a method to create a mysql database from a connection object (#583) by @Seb-C
  • cockroachdb
    • use github.com/cockroachdb/cockroach-go/v2/crdb (for better go module support) (#595) by @DGollings
  • mongodb
    • Update MongoDB db driver to fix security issue by @dhui

CLI

  • Allow the abillity to pass timezone when generating migration files (#509) by @nronas
  • fix: move -all flag usage from drop to down (#522) by @Juneezee

Docs

  • Point docs link to v4 (#524) by @jeffwidman
  • Update sqlite and sqlite3 docs with comparison by @dhui

Don't miss a new migrate release

NewReleases is sending notifications on new releases.