All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Filter registered Go migrations from the global map with corresponding .go files from the
filesystem.
- To code previously assumed all .go migrations would be in the same folder, so this should not be a breaking change.
- See #553 for more details
- Improve output log message for applied up migrations. #562
- Fix an issue where
AddMigrationNoTxContext
was registering the wrong source because it skipped too many frames. #572
v3.13.4 - 2023-07-07
- Fix pre-built binary versioning and make small improvements to GoReleaser config.
- Fix an edge case in the
sqlparser
where the last up statement may be ignored if it's unterminated with a semicolon and followed by a-- +goose Down
annotation. - Trim
Logger
interface toPrintf
andFatalf
methods only. Projects that have previously implemented theLogger
interface should not be affected, and can remove unused methods.
v3.13.1 - 2023-07-03
- Add pre-built binaries with GoReleaser and update the build process.
v3.13.0 - 2023-06-29
- Add a changelog to the project, based on Keep a Changelog.
- Update go.mod and retract all
v3.12.X
tags. They were accidentally pushed and contain a reference to the wrong Go module. - Fix
up
andup -allowing-missing
behavior. - Fix empty version in log output.
- Add new
context.Context
-aware functions and methods, for both sql and go migrations. - Return error when no migration files found or dir is not a directory.