Added
- CLI:
azuresqldriver for Azure SQL with Microsoft Entra ID (Azure AD) authentication via
fedauthconnection string parameters, e.g.
goose azuresql "sqlserver://host?database=mydb&fedauth=ActiveDirectoryDefault" status.
Excluded when building with theno_mssqlorno_azuresqltags (#1109) - MySQL/MariaDB table-based
Lockervialock.NewMySQLTableLocker, the MySQL counterpart to the
Postgres table locker from #993, accepting the sameTableLockerOptionset (#1075)
Changed
- Minimum Go version is now 1.26
- ClickHouse: new
goose_db_versiontables are created withORDER BY (version_id)instead of
ORDER BY (date). Existing tables are unchanged (#1085) - MySQL/TiDB: the
tstampcolumn is nowDATETIMEinstead ofTIMESTAMP, which is capped at
2038-01-19 (#1053). Only newly created tables are affected; existing tables can be updated with:ALTER TABLE goose_db_version MODIFY tstamp datetime NULL DEFAULT CURRENT_TIMESTAMP;
- Various dependency upgrades
Fixed
goose createreturns a clear "file exists" error, including the path, instead of%!w(<nil>)
when the migration file already exists (#1104)