Skip to content

Releases: golang-migrate/migrate

v4.9.0

17 Feb 10:41
51f9aab
Compare
Choose a tag to compare

Changes

Drivers

  • Add support for Neo4j thanks to @mvid (#320)
  • Support statement timeouts in postgres using the x-statement-timeout option thanks to @coolnay309 (aka @psuresh309) (#327)
  • Allow AWS S3 client to be specified thanks to @bishtawi (#334)
  • Updated cloud.google.com/go drivers to fix linting issues
  • Dropped support for Postgres 9.4 (EOL) and added support for Postgres 12

Builds

Docs

v4.8.0

13 Jan 07:33
Compare
Choose a tag to compare

Changes

Docs

Drivers

  • Add httpfs driver, making it easier to create source drivers that implement thehttp.FileSystem interface. Resolves #307 thanks to @fln (#293).
    • File and GodocVFS sources now use httpfs.PartialDriver
  • Change QL driver from github.com/cznic/ql/driver to modernc.org/ql/driver

Builds

  • Linux ARM binaries are now available with each release thanks to @pcarranza (#316)
  • Release now built using Go 1.13

v4.7.1

16 Dec 17:31
41b578a
Compare
Choose a tag to compare

Changes

v4.7.0

22 Oct 05:11
Compare
Choose a tag to compare

Changes

  • Support Go 1.13 and drop support for Go 1.11
  • Respect DB driver values specified via config structs. Fixes #262.
  • Trim whitespace for spanner migrations thanks to @jon-whit (#288)
  • Officially support Firebird SQL again thanks to @jacobalberty. Fixes #49

v4.6.2

09 Sep 16:07
Compare
Choose a tag to compare

Changes

  • Removed unnecessary debug output thanks to @ch3rub1m (#277)
  • Improved error messages when no migrations are found thanks to @dotchev (#158)

v4.6.1

22 Aug 18:50
Compare
Choose a tag to compare

Changes

  • Fix issue (#272) parsing MySQL DSNs with custom query parameters. Thanks to @mitchellh for reporting!

v4.6.0

20 Aug 19:04
Compare
Choose a tag to compare

Breaking Changes

  • Updated MongoDB driver to v1.1.0
    • If you're using migrate as a library with MongoDB, you'll need to update your MongoDB driver version as well.
  • Missing migrate CLI commands will now return a non-zero exit status thanks to @groyoh (#260)
  • Go 1.12.8 fixed a security issue where invalid URIs were being parsed. The fix broke migrate when used with MySQL. Thanks to @erikdubbelboer for the fixes and @lou-lan for discovering an issue w/ the original fix! (#265 and #271)

Changes

  • Update NewDockerContainer in unused/deprecated migrate/testing package thanks to @thaJeztah (#270)

v4.5.0

12 Jul 06:17
ff1977c
Compare
Choose a tag to compare

Breaking Changes

  1. For safety reasons, migrate down now presents a confirmation prompt instead of running all down migrations thanks to @KlotzAndrew (#236)
    • For previous behavior, use migrate down -all. Namely, if you have scripts that run migrate down, you'll now have to run migrate down -all

Changes

  • Added support for Github Enterprise sources thanks to @kasparasg (#234)

v4.4.0

04 Jun 04:39
8437fe6
Compare
Choose a tag to compare

Changes

v4.3.1

27 Apr 05:49
Compare
Choose a tag to compare

Changes

  • Additional linters were enabled thanks to @kmuratov (#206)
    • Previously many errors in deferred calls were ignored. We're now using multierror for errors arising in a deferred call, so this may break any code that relied on specific errors.
  • Official support for Firebird is dropped. For more info, see: #49 (comment)
  • Another attempt at fixing #202