Releases: jdkaplan/squill
Releases · jdkaplan/squill
v0.7.0
v0.6.0
v0.5.1
v0.5.0
This release is a full rewrite of this entire project to be (hopefully) more idiomatic Rust code than a Rust port of Go code (which is what it was).
I don't have any easy upgrade instructions, but looking at the changes to main.rs
from #47 should give you a place to start. I don't expect that anyone discovered this and started using it as a library, but if you did and want help migrating, please open an issue!
Features
- Now with modules and types!
- Derive useful standard library traits on types
- Replace
anyhow::Result
with operation-specific error enums
Fixes
init
,new
,renumber
/align-ids
: Allow filesystem-only commands without DB configstatus
: Avoid printing duplicate rows for applied migrationsstatus
: Print local migration directory name if presentstatus
: Remove redundant "comment" fieldinit
,new
: Error if migration ID already exists- Make
-v
/--verbosity
a global flag
Changes
- Rename the
renumber --write
subcommand toalign-ids --execute
. The old subcommand and flag
will be available as hidden aliases until the next set of breaking changes.
Docs
- Update the init migration comment text to clarify what the
no-transaction
directive does. - Add help text for all CLI subcommands and flags
Development
- Now with tests!
- Ignore CLI files when running the command from this repo
- Add
docker-compose.yml
for local integration testing
v0.4.2
Fixes
-
Update
tempfile
dependency, which removes a dependency onremove_dir_all
.
See GHSA-mc8h-8q98-g5hr -
Update
time
dependency and use it directly instead of throughchrono
.
See GHSA-wcg3-cvx6-7396
Full Changelog: v0.4.1...v0.4.2
v0.4.1
v0.4.0
Features
- Split into binary and library crates.
Fixes
- Remove blank line from the end of the embedded
init.up.sql
template.
Changes
- Change table formatting for
status
andrenumber
commands.
Full Changelog: v0.3.0...v0.4.0