Releases: golang-migrate/migrate
Releases · golang-migrate/migrate
v4.7.1
v4.7.0
v4.6.2
v4.6.1
v4.6.0
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.
- If you're using
- 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/deprecatedmigrate/testing
package thanks to @thaJeztah (#270)
v4.5.0
Breaking Changes
- 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 runmigrate down
, you'll now have to runmigrate down -all
- For previous behavior, use
Changes
- Added support for Github Enterprise sources thanks to @kasparasg (#234)
v4.4.0
v4.3.1
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
v4.3.0
Changes
- Fixed bug (#164) introduced by #150 by not re-creating the schema version table thanks to @lukaspj (#173)
- This change was made to all DB drivers and may break your dev workflow if you expect the schema version table to exist after
Migrate.Drop()
is run.
- This change was made to all DB drivers and may break your dev workflow if you expect the schema version table to exist after
- Support Go 1.12.x and drop support for Go 1.10.x
- Distributed CLI binaries are now built with Go 1.12.x
- Updated dependencies
- Fixes issue with dependencies using wrong golint import path (#202)
- Support gitlab as a migration source thanks to @bpatyi (#184)
- Support migrations for the Firebird database thanks to @kmuratov (#191)