Releases: pressly/goose
Releases · pressly/goose
Release list
v3.28.0
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)
v3.27.3
Changed
- Various dependency upgrades
v3.27.2
Changed
- Upgrade
golang.org/x/cryptoandgolang.org/x/netto address security advisories (CVE fixes) - Various dependency upgrades
v3.27.1
v3.27.0
What's Changed
Added
- Preliminary Spanner dialect support (#966)
Changed
- Minimum Go version is now 1.25
- SQL migration templates no longer include
StatementBeginandStatementEndannotations. These are only needed for complex statements containing semicolons (e.g., stored procedures). See docs for details. - Various dependency upgrades
Other
- Added formatting for YDB table names to include folder (#1007)
- Fix tests for StarRocks 3.5 (#1024)
- CI improvements (#1000, #1005, #1008)
Full Changelog: v3.26.0...v3.27.0
v3.26.0
What's Changed
- Add
*slog.Loggersupport to goose provider via optionWithSlog(#989) - Add convenience
WithTableNameprovider option (#985) - Minor bug fixes and dependency upgrades
- Add general purpose
Lockerinterface to support DB locking with a table-based Postgres
implementation vialock.NewPostgresTableLocker(#993 for more details)- Unlike
SessionLocker, this uses the*sql.DBconnection pool - Add
WithLockeroption to goose provider
- Unlike
New Contributors
- @emmanuel-ferdman made their first contribution in #983
- @jamesleeht made their first contribution in #982
Full Changelog: v3.25.0...v3.26.0
v3.25.0
What's Changed
- Upgrade go deps (#976)
- Remove references/tests for vertica and add deprecation warnings (#978)
- Add Aurora DSQL as a new database dialect to goose
Provider(#971) - Add DDL isolation support for Aurora DSQL compatibility (#970)
- Update Apply to respect no versioning option (#950)
- Expose dialect
Querier(#939)
New Contributors
Full Changelog: v3.24.3...v3.25.0
v3.24.3
What's Changed
- Add
GOOSE_TABLEenvironment variable -- lower priority than-tableflag, but higher than the
default table name. (#932) - Dependency updates
New Contributors
Full Changelog: v3.24.2...v3.24.3
v3.24.2
What's Changed
- Add
TableExiststable existence check for the mysql dialect (#895) - Upgrade minimum Go version to 1.23
- Various dependency updates
New Contributors
- @eest made their first contribution in #878
- @WilliamNHarvey made their first contribution in #895
- @BorzdeG made their first contribution in #901
- @R0masik made their first contribution in #862
Full Changelog: v3.24.1...v3.24.2
v3.24.1
What's Changed
- Fix regression (
v3.23.1andv3.24.0) in postgres migration table existence check for
non-default schema. (#882, #883, #884).
New Contributors
- @matthewrobinsondev made their first contribution in #885
- @AndersSoee made their first contribution in #884
Full Changelog: v3.24.0...v3.24.1