Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 25 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
pull_request:
branches: [main]

permissions:
contents: read

env:
CARGO_TERM_COLOR: always
RUSTFLAGS: "-Dwarnings"
Expand All @@ -26,10 +29,17 @@ jobs:
rust: "1.75"
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@master
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ matrix.rust }}
- uses: Swatinem/rust-cache@v2

- name: Install system dependencies (Ubuntu)
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y libssl-dev pkg-config
- run: cargo build --locked
- run: cargo test --locked

Expand All @@ -42,7 +52,13 @@ jobs:
with:
components: clippy
- uses: Swatinem/rust-cache@v2
- run: cargo clippy --all-targets -- -D warnings

- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y libssl-dev pkg-config
- run: cargo clippy --all-targets --all-features -- -D warnings

fmt:
name: Formatting
Expand All @@ -61,6 +77,12 @@ jobs:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- run: cargo doc --no-deps --document-private-items

- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y libssl-dev pkg-config
- run: cargo doc --no-deps --document-private-items --all-features
env:
RUSTDOCFLAGS: "-Dwarnings"
10 changes: 7 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,15 @@ jobs:
with:
targets: ${{ matrix.target }}

- name: Install cross-compilation tools
if: matrix.target == 'aarch64-unknown-linux-gnu'
- name: Install system dependencies (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y gcc-aarch64-linux-gnu
sudo apt-get install -y libssl-dev pkg-config
- name: Install cross-compilation tools
if: matrix.target == 'aarch64-unknown-linux-gnu'
run: sudo apt-get install -y gcc-aarch64-linux-gnu

- name: Install musl tools
if: matrix.target == 'x86_64-unknown-linux-musl'
Expand Down
19 changes: 18 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/).

## [Unreleased]

## [0.2.0] - 2026-04-06

### Added

- `.dbdiff.yml` configuration file with table/column ignore patterns
- `--config <FILE>` CLI flag (defaults to `.dbdiff.yml`)
- MySQL/MariaDB schema introspection via `information_schema`
- SQLite schema introspection via `PRAGMA` commands
- Cargo feature flags: `postgres`, `mysql`, `sqlite` (all enabled by default)
- Column ignore patterns: `*.column`, `table.*`, `table.column`

### Changed

- Database backends are now optional via feature flags
- `tokio-postgres` is now an optional dependency (feature `postgres`)

## [0.1.0] - 2024-04-06

### Added
Expand All @@ -24,5 +40,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
- Locking warnings for dangerous ALTER operations
- `.dbdiff.yml` configuration file support (ignore tables/columns)

[Unreleased]: https://github.com/rekurt/dbdiff/compare/v0.1.0...HEAD
[Unreleased]: https://github.com/rekurt/dbdiff/compare/v0.2.0...HEAD
[0.2.0]: https://github.com/rekurt/dbdiff/compare/v0.1.0...v0.2.0
[0.1.0]: https://github.com/rekurt/dbdiff/releases/tag/v0.1.0
Loading