Skip to content

DbShift v1.1.0

Choose a tag to compare

@AzimMahmud AzimMahmud released this 30 Jul 04:39
· 71 commits to main since this release

DbShift v1.1.0

A database-agnostic migration tool for .NET — PostgreSQL, SQL Server, MySQL, and SQLite from one CLI.

Installation

Linux / macOS ( Homebrew not required ):

curl -fsSL https://github.com/AzimMahmud/dbshift/releases/download/v1.1.0/install.sh | bash

Windows (PowerShell):

powershell -c "iwr -Uri https://github.com/AzimMahmud/dbshift/releases/download/v1.1.0/install.ps1 -OutFile install.ps1; .\install.ps1"

Manual: download the archive for your platform below, extract, and put dbshift (dbshift.exe) on your PATH.

Downloads

Platform Package
Windows x64 dbshift-windows-x64.zip
Linux x64 dbshift-linux-x64.tar.gz
Linux arm64 dbshift-linux-arm64.tar.gz
macOS x64 dbshift-macos-x64.tar.gz
macOS arm64 dbshift-macos-arm64.tar.gz

Self-contained .NET 10 single-file binaries — no runtime install required.

macOS: first run may be blocked by Gatekeeper — run xattr -d com.apple.quarantine dbshift (or sudo xattr -rd com.apple.quarantine /usr/local/bin/dbshift).

What's new

  • --verbose flag — information-level logs for migrations, rollbacks, and repairs.
  • strictAudit mode — audit failures are re-thrown instead of silently swallowed.
  • InvalidateCache() — force re-reading scripts from disk without restarting.
  • Async script parsingParseAsync() with cancellation token support.
  • ProviderSqlHelper — extracted 7 SQL template methods, reducing NewCommand by ~100 lines.
  • 16 SQLite integration tests — real database tests for tracker, lock, and audit.
  • Per-provider SQL conventions — SQL Server [brackets] + dbo., MySQL backticks + InnoDB, PostgreSQL/SQLite idiomatic styles.
  • SQLite lock fixReleaseAsync/RenewAsync no longer crash with SqliteException.

Verify

Checksums are in SHA256SUMS.

Changelog

See CHANGELOG.md.