migrate version history
10 releases tracked, newest first.
v4.19.1
Nov 29, 2025- Updated Docker image to use Go 1.25 to address vulnerabilities.
- Bumped dependencies including `github.com/dvsekhvalnov/jose2go` and `golang.org/x/crypto`.
- Fixed linter issues and renamed `databaseName` to `databaseDriverName`.
- Removed dependency on `hashicorp/go-multierror`.
14 downloads
v4.19.0
Aug 29, 2025## What's Changed
* Fixed sqlserver not actually getting a lock if lock is already set by @urbim in https://github.com/golang-migrate/migrate/pull/1186
* Bump golang.org/x/oauth2 from 0.18.0 to 0.27.0 by @dependabot[bot] in https://github.com/golang-migrate/migrate/pull/1299
* Update apt-key to gpg by @sandhilt in https://github.com/golang-migrate/migrate/pull/1277
* Update dktest to v0.4.6 for docker vuln fix by @dhui in https://github.com/golang-migrate/migrate/pull/1309
* refactor: Remove go.uber.org/atomic in favor of std sync/atomic by @romshark in https://github.com/golang-migrate/migrate/pull/1303
* Ensure bufferWriter is always closed in Migration.Buffer and propagate close errors by @ckantcs in https://github.com/golang-migrate/migrate/pull/1308
* Add support for Go 1.25 and drop support for 1.23 by @dhui in https://github.com/golang-migrate/migrate/pull/1310
## New Contributors
* @urbim made their first contribution in https://github.com/golang-migrate/migrate/pull/1186
* @sandhilt made their first contribution in https://github.com/golang-migrate/migrate/pull/1277
* @romshark made their first contribution in https://github.com/golang-migrate/migrate/pull/130
14 downloads
v4.18.3
Apr 24, 2025## Changelog
* a4d0a1b Bump github.com/golang-jwt/jwt/v4 from 4.5.1 to 4.5.2
* f37ef79 Bump golang.org/x/crypto from 0.31.0 to 0.35.0
* 5b97c92 Bump golang.org/x/net from 0.33.0 to 0.38.0
* e6d84f6 Drop support for Go 1.22 and add support for Go 1.24
* fccd197 Mention CLI install instructions in main README
* 34c2b4a Remove redundant build tags
* a868033 Update FAQ.md - typo
* 7269490 Update golangci-lint version used in GitHub Actions
* c5137c4 Update migrate -help output for the readme file
* 033835a Update to dktest v0.4.5
* 8b09191 fix: typo limited not limitted
* 60d73be refactor: replace github.com/pkg/errors with stdlib
* 36d17ba tests: fix various tests (#1209)
14 downloads
v4.18.2
Jan 28, 2025## Changelog
* e145cde Bump github.com/golang-jwt/jwt/v4 from 4.4.2 to 4.5.1
* e22d012 Don't output sensitive information on error
* e5a152b Drop support for Azure SQL Edge
* 12c619e Fix CI (#1222)
* bc06922 Update dktest from v0.4.3 to v0.4.4
* 7651c8a linter fixes
14 downloads
v4.18.1
Sep 8, 2024## Changes
* Update dktest from v0.4.2 to v0.4.3
**Full Changelog**: https://github.com/golang-migrate/migrate/compare/v4.18.0...v4.18.1
14 downloads
v4.18.0
Sep 8, 2024## What's Changed
* Bump golang.org/x/net from 0.21.0 to 0.23.0 by @dependabot in https://github.com/golang-migrate/migrate/pull/1074
* Make MySQL SetVersion compatible with sql_safe_update by @maxmati in https://github.com/golang-migrate/migrate/pull/1070
* #1104 Fix golanglint-ci lint config & lint errors by @Shion1305 in https://github.com/golang-migrate/migrate/pull/1105
* 🧑💻 improve error message for invalid source, database, resolves: #1102 by @Shion1305 in https://github.com/golang-migrate/migrate/pull/1103
* Upgrade go-sqlite3 to v1.14.22 by @gjabell in https://github.com/golang-migrate/migrate/pull/1098
* Fix redshift tests by @dhui in https://github.com/golang-migrate/migrate/pull/1151
* chore: remove deprecated `rand.Seed()` in testing.docker by @joschi in https://github.com/golang-migrate/migrate/pull/1149
* build: use Go 1.23 to build the project by @joschi in https://github.com/golang-migrate/migrate/pull/1133
* fix(tests): fix Docker imports by @joschi in https://github.com/golang-migrate/migrate/pull/1153
* test(postgres): run tests with PostgreSQL 16 by @joschi in https://github.com/golang-migrate/migrate/pull/1126
* test(mysql): run tests with MySQL
14 downloads
v4.17.1
Apr 19, 2024## Changelog
* 4bc6777 Add dktesting.Cleanup() method
* bead4a9 Added documentation and test for lock strategy
* 129922a Added support for pgx locking table
* a860f0c Bump github.com/dvsekhvalnov/jose2go from 1.5.0 to 1.6.0
* d1df97b Bump github.com/jackc/pgx/v4 from 4.18.1 to 4.18.2
* a78d1ab Bump github.com/jackc/pgx/v5 from 5.3.1 to 5.5.4
* 2e0872f Bump google.golang.org/protobuf from 1.31.0 to 1.33.0
* 1b707a7 Cleanup cassandra images after tests run
* 49cac86 Cleanup mongodb images after tests run
* 2884a8e Cleanup postgres images after tests run
* b1d02e2 Cleanup sqlserver images after tests run
* 06614d9 Cleanup yugabytedb images after tests run
* e913336 Drop support for Go 1.20 and add support for Go 1.22
* f4950c1 Fallback to dktest.DefaultCleanupTimeout if the dktest.Options doesn't have one specified
* 5aa4670 Fix GoReleaser deprecations
* d63a5c2 Only test against YugabyteDB LTS releases
* 091ad5d Quote locktable from config in queries
* 1a002d0 Set golangci-lint to 1.54.2 (latest is broken) (#1046)
* f100226 Update dktest from v0.4.0 to v0.4.1 to fix docker vulnerability
* ff8a961 Update yugabyte test images
* 0350a00 [sqlserver] Always access ver
14 downloads
v4.17.0
Dec 20, 2023## Changelog
* cf03803 Add rqlite 8.0.0 to tested database versions
* 12968a7 Add syntax highlighting to Postgres example
* 50112e7 Add to clickhouse README.md database creation
* 5ded96d Bump golang.org/x/crypto from 0.14.0 to 0.17.0
* c3ebd52 Bump google.golang.org/grpc from 1.55.0 to 1.56.3
* 5026488 Clean up require directive grouping
* 3b02b18 Correct a spelling mistake
* cd17c5a Drop support for Go 1.19 and add support for Go 1.21
* 839421e Leverage quoteIdentifier from pgx
* bad30b5 Mention migradaptor
* fb22436 Merge remote-tracking branch 'origin/master' into upgrade-spanner
* bfedabb Merge remote-tracking branch 'upstream/master'
* 92dec35 Move supported go version to standard place
* 4078ef8 New release prep
* 9fe7383 Quote in drop as well
* 691f687 Reformat ScyllaDB/Cassandra docs
* 90a3ac4 Remove cluster adaptation for tables to pass tests
* 64755d0 Update README.md
* f2c4b52 Update aws-sdk-go from v1.44.301 to v1.49.6
* 876a13d Update aws-sdk-go to adress vulerabilitiy
* b567287 Update from alpine 3.18 to 3.19
* f2e0b33 Update lib/pq to fix cert permissions issues
* 208ac53 Update spanner to fix security issue See also: https://github.com/golang
14 downloads
v4.16.2
Jun 12, 2023## Changelog
* 383386b Bump github.com/snowflakedb/gosnowflake from 1.6.3 to 1.6.19
* 315a205 Update Dockerfiles
14 downloads
v4.16.1
Jun 5, 2023## Changelog
* d72e5c6 Fix typo
* 23d8d33 Support .deb packages for Ubuntu Jammy Jellyfish and Debian bookworm
* 0b3b628 Use pgx5 connection string in README
14 downloads