Skip to content

Releases: jdkaplan/squill

v0.7.0

23 Feb 23:45
7cf6fb5
Compare
Choose a tag to compare

Changed

  • Remove deprecated aliases for align-ids #143

Development

  • Set up cargo-dist for publishing binary releases

v0.6.0

23 Feb 20:50
c7ece39
Compare
Choose a tag to compare

Fixed

  • [breaking] Handle long verbosity flag correctly (#140)

v0.5.1

18 Jul 18:22
46363c2
Compare
Choose a tag to compare

Fixes

  • migrate: Print the count of pending migrations to avoid empty output

v0.5.0

18 Jul 17:59
Compare
Choose a tag to compare

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 config
  • status: Avoid printing duplicate rows for applied migrations
  • status: Print local migration directory name if present
  • status: Remove redundant "comment" field
  • init, new: Error if migration ID already exists
  • Make -v/--verbosity a global flag

Changes

  • Rename the renumber --write subcommand to align-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

20 Mar 05:05
Compare
Choose a tag to compare

Fixes

  • Update tempfile dependency, which removes a dependency on remove_dir_all.
    See GHSA-mc8h-8q98-g5hr

  • Update time dependency and use it directly instead of through chrono.
    See GHSA-wcg3-cvx6-7396

Full Changelog: v0.4.1...v0.4.2

v0.4.1

20 Mar 03:37
Compare
Choose a tag to compare

Dev Changes

  • Configure Dependabot.
  • Update to clap v4.

Full Changelog: v0.4.0...v0.4.1

v0.4.0

20 Mar 03:35
Compare
Choose a tag to compare

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 and renumber commands.

Full Changelog: v0.3.0...v0.4.0

v0.3.0

20 Mar 03:35
Compare
Choose a tag to compare

Full Changelog: https://github.com/jdkaplan/squill/commits/v0.3.0