Releases: rafaelespinoza/godfish
v0.10.0
- Some updates in response to various CI-related issues or security warnings that have come up since last release.
- More notable: adjust the sqlite3 driver to not rely on CGO. There's nothing in this driver that particularly needs CGO. Now it's a
bit easier to build for a sqlite3 DB.
Commits
ff86e72 Update golang.org/x/crypto
46d46f9 ci: Update machine, action versions
242722e ci: Update postgres versions to 14, 15
ae2f913 fix(ci): Address some plumbing issues
2fdc3ab build(sqlite3): Switch to modernc.org/sqlite
v0.9.0
- Lots of developer-facing updates: CI, automation, documentation
- Add driver implementation for SQL Server
Commits
8d3f108 ci: Test more db versions, cleanup Makefile
d4c63a9 ci: Update cassandra versions and Makefile
6991ba7 ci: Simplify dockerfiles, add go vet steps, fix ldflag vals for alpine
dfb659d ci: Add code coverage
2982a55 build: Update go version in go.mod
13adafc test: Clean up tests, improve coverage
e882801 chore: Add more badges and fix a typo in comment
8995fc8 Apply security-related changes, update codecov config
49cc201 ci: Update GitHub Actions for security scanning, update README
97d4847 ci: Move static analysis checks into one GitHub Action
6c773a9 feat: Add SQL Server driver
v0.8.1
Fix cassandra driver for cassandra v4. Maintain compatibility with cassandra v3. Test both.
While we're here, upgrade github.com/gocql/gocql
to the latest version available at the time.
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
v0.7.0
Make this tool easier to use, build, test.
- Add go modules.
- Fix DB connection problems.
- Add CI, Github Actions. The entire test suite can also run on your machine using docker.
Breaking changes
- To connect to DB, use one env var (
DB_DSN
) instead of several. Previously specified env vars (DB_HOST
,DB_NAME
,DB_PASSWORD
,DB_PORT
,DB_USER
) are ignored. See issue #7 for details. Also removed some identifiers that were made obsolete because theDB_DSN
value is used directly now. - Removed the
dump-schema
subcommand and supporting code.
Commits
6991485 build: Add go modules
5bd0958 refactor: Change NewMigrationParams signature, fix tests
6ba4d3e build: Cleanup Makefile
1dc54d9 fix: Connect using DB_DSN env var
69e9fc4 refactor: Remove DumpSchema
c0524c4 refactor: Simplify stuff
b01af18 ci: Add Docker for test suite