NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Go modules, #170 by repository stars
Latest stable
v4.20.1
Last release 13 days ago
16 Nov 2026
Release timing varies
gaps range from 8 days to 4 months
Nearly every release is documented
notes for 46 of 46 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
336 releases · first in 2018
Drag across the ruler to compare, or tap a release to open it.
For safety reasons, migrate down now presents a confirmation prompt instead of running all down migrations thanks to @KlotzAndrew
migrate down now presents a confirmation prompt instead of running all down migrations thanks to @KlotzAndrew (https://github.com/golang-migrate/migrate/pull/236)
migrate down -all. Namely, if you have scripts that run migrate down, you'll now have to run migrate down -allNothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Support MS SQL Server thanks to @bwiggs, @nathan-c, and @zhevron
Nothing published for this version
Nothing published for this version
Additional linters were enabled thanks to @kmuratov
Fixed bug (#164) introduced by #150 by not re-creating the schema version table thanks to @lukaspj
Migrate.Drop() is run.Nothing published for this version
Support MongoDB in Docker image thanks to @plutov
migrate thanks to @jszwedko (https://github.com/golang-migrate/migrate/pull/176)Correctly use configured migration table in SQLite db driver. Fixes https://github.com/golang-migrate/migrate/issues/165 thanks to @bcho
ErrNilDocument issue when using newer versions of mongo-go-driver thanks to @arpando (https://github.com/golang-migrate/migrate/pull/167)Fix issue (https://github.com/golang-migrate/migrate/issues/55) with postgres db driver failing when run concurrently due to lack of locking when the
Add support for MongoDB migrations thanks to @bobrovde
Nothing published for this version
## Changes * Fix release packaging issue
Update github.com/docker/docker checksum in go.sum which is computed differently in Go 1.11.4
github.com/docker/docker checksum in go.sum which is computed differently in Go 1.11.4
github.com/go-sql-driver/mysql from v1.4.0 to v1.4.1 to fix issue with connecting to a MySQL RDBMS w/o a password. Thanks to @fsouza for reporting (https://github.com/golang-migrate/migrate/issues/139) and fixing (https://github.com/golang-migrate/migrate/pull/141) the issue.NilVersion in ClickHouse db driver thanks to @bobrovde (https://github.com/golang-migrate/migrate/pull/145/)
ALTER the version column in the schema version table. e.g. ALTER schema_migrations MODIFY COLUMN version Int64Nothing published for this version
The Redshift DB driver no longer exposes an embedded database.Driver. The decision was made to include this backwards incompatible change since it's u…
database.Driver.
The decision was made to include this backwards incompatible change since it's unlikely to affect any users. e.g. the affected usage is an anti-pattern
For more info, see: https://github.com/golang-migrate/migrate/pull/128#issuecomment-436171722
You will not be impacted by this change unless you're using the Redshift DB driver's embedded database.Driver e.g. redshift.Redshift.Driver
If you encounter this issue, either:
database.Driver and instead use the Redshift DB driver which provides the same interface.migrate to /usr/local/bin instead of /usr/bin. You'll need to update any references to the migrate binary that uses absolute paths and ensure that /usr/local/bin is in your environment PATH.migrate thanks to @vearutop (https://github.com/golang-migrate/migrate/pull/131)## Changes * Update dependencies
Fix logrus name collision in go.mod thanks to @albenik
logrus name collision in go.mod thanks to @albenik (https://github.com/golang-migrate/migrate/pull/114)Per the Go module wiki, only Go 1.9.7+, 1.10.3+, and 1.11+ are supported
go mod initgo get -u github.com/golang-migrate/migratesed -i -e 's@"github.com/golang-migrate/migrate/v3@"github.com/golang-migrate/migrate/v4@g' $(git grep -l '"github.com/golang-migrate/migrate/v3')sed -i -e 's@"github.com/golang-migrate/migrate@"github.com/golang-migrate/migrate/v4@g' $(git grep -l '"github.com/golang-migrate/migrate')sed and GNU sed treat the -i option differently. Please consult your sed man page before running any of the commands aboveNothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.