Skip to content

v3.28.0

Latest

Choose a tag to compare

@github-actions github-actions released this 02 Sep 08:34
43d2d9c

Added

  • CLI: azuresql driver for Azure SQL with Microsoft Entra ID (Azure AD) authentication via
    fedauth connection string parameters, e.g.
    goose azuresql "sqlserver://host?database=mydb&fedauth=ActiveDirectoryDefault" status.
    Excluded when building with the no_mssql or no_azuresql tags (#1109)
  • MySQL/MariaDB table-based Locker via lock.NewMySQLTableLocker, the MySQL counterpart to the
    Postgres table locker from #993, accepting the same TableLockerOption set (#1075)

Changed

  • Minimum Go version is now 1.26
  • ClickHouse: new goose_db_version tables are created with ORDER BY (version_id) instead of
    ORDER BY (date). Existing tables are unchanged (#1085)
  • MySQL/TiDB: the tstamp column is now DATETIME instead of TIMESTAMP, 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 create returns a clear "file exists" error, including the path, instead of %!w(<nil>)
    when the migration file already exists (#1104)