v0.8.0
- Add support for sqlite3, cassandra
- Modify output of
info
subcommand; now in json, tsv formats - Add alternate names for direction in filename when creating migration (#9)
- Move, refactor test suite
- Use a library for cli, improve usage funcs
- Write any adhoc informational messages to stderr
- Simplify and reduce the exported API of pkg
godfish
, many breaking changes
Breaking changes
- Move identifiers to pkg
internal
unless they're needed by aDriver
implementation or a subcommand's Run func. - Modify signatures of
ApplyMigration
,Info
,Migrate
funcs to be simpler and also not reference pkginternal
- Remove any unused identifiers (like
CreateSchemaMigrationsTable
) Driver
interface- Removed the direct dependency on
database/sql
from the Driver interface. It was not used in the library anyways. - Change signature of
UpdateSchemaMigrations
to go along with previously-mentioned goal of being simple, not referencing pkginternal
.
- Removed the direct dependency on
Commits
a658a52 refactor: Remove database/sql from Driver interface
71372d0 feat: Add sqlite3 driver
9196510 refactor: Re-arrange Driver tests
2affc38 feat: Add cassandra driver, ci setup
77a911e test: Adjust driver tests to accept custom migration content
0c07e70 refactor(cmd): Update command line stuff
b88267c fix(ci): Specify cassandra:3.11.11
b0f9ecc refactor: Move some internal test types to stub package
21e26df Change Info output to json, tsv formats
a4ac74b feat: Customize direction name in migration files
8d6ada0 refactor: Make API simpler
28476fb refactor: Make output for cmd help, adhoc data more consistent