[0.9.0] - 2026-02-02
Added
- Precompiled NIF Binaries - Users no longer need Rust, cmake, or pkg-config installed. First compile drops from 5-10 minutes to seconds using prebuilt NIF downloads for 6 targets (2 macOS, 4 Linux). Force local compilation if required with
ECTO_LIBSQL_BUILD=true. (Thanks @ricardo-valero for PR #70!) - GitHub Actions Release Workflow - Automated NIF builds on tag push for all supported targets using
philss/rustler-precompiled-action, with version validation againstmix.exs
Fixed
Repo.exists?Generates Valid SQL - Fixed empty SELECT clause generating invalid SQL (SELECT FROM "users"instead ofSELECT 1 FROM "users"), causing syntax errors. (Thanks @ricardo-valero for PR #69!)- NIF Cross-Compilation Workflow - Fixed multiple issues preventing successful cross-compilation in GitHub Actions:
- Fixed Cargo workspace target directory mismatch — build output goes to the workspace root
target/directory, not the crate subdirectory - Moved
.cargo/config.tomlto workspace root so musl-crt-staticrustflags are found when building from workspace root - Added
Cross.tomlforRUSTLER_NIF_VERSIONenvironment passthrough to cross containers - Consolidated macOS runners to macos-15 (Apple Silicon) for both architectures
- Fixed Cargo workspace target directory mismatch — build output goes to the workspace root
Changed
- Dependency Updates - Bumped
actions/checkoutto v6,actions/upload-artifactto v6, updated Cargo and Credo dependencies
New Contributors
- @ricardo-valero made their first contribution in #69
Full Changelog: 0.8.9...0.9.0