Skip to content

release: v0.4.8 — production-hardening pass#90

Merged
zvndev merged 1 commit into
mainfrom
release/0.4.8
Jun 14, 2026
Merged

release: v0.4.8 — production-hardening pass#90
zvndev merged 1 commit into
mainfrom
release/0.4.8

Conversation

@zvndev

@zvndev zvndev commented Jun 14, 2026

Copy link
Copy Markdown
Collaborator

Cuts v0.4.8, shipping the gold-standard production-hardening pass (#89) to crates.io.

What's in it

  • RBAC enforces the full permission lattice (behavior-preserving — readwrite/admin keep full access incl. DDL, readonly stays read-only).
  • Resource-limit errors reach remote clients (sort/join/memory hints no longer masked).
  • Automated post-publish durability gate (scripts/smoke-release.sh, wired into release.yml) — install → PowQL flow → kill -9 → restart → assert WAL replay. The gate whose absence yanked v0.4.1–0.4.3.
  • Real MSRV build job, scoped cargo audit, TS-version CI assert, Dockerfile dep-cache fix.
  • panic = "abort" documented as deliberate crash-only design; every deploy example confirmed under auto-restart.
  • [workspace.lints], removed ~190 LOC dead mvcc.rs/tx.rs, stale-doc + CLI --help fixes.

Backward compatibility — verified

A database (heap/catalog/WAL/index/unique) and auth.json created by the published v0.4.7 binary open cleanly on v0.4.8: all rows present, unique + index intact, both named users authenticate, RBAC behaves correctly. Reverse direction (v0.4.8-created DB on v0.4.7) also works — no on-disk format bump. auth.json stores roles by name, so readwrite gaining Ddl needs no migration.

Verification

cargo build/clippy/fmt clean · full workspace tests 41 suites, 0 failures · scripts/smoke-release.sh ALL-PASS · cross-version compat ALL-PASS · cargo audit clean · version banner 0.4.8.

🤖 Generated with Claude Code


View with Codesmith Autofix with Codesmith
Need help on this PR? Tag /codesmith with what you need. Autofix is disabled.

Bumps workspace + inter-crate pins 0.4.7 → 0.4.8, moves CHANGELOG
[Unreleased] → [0.4.8], updates SECURITY.md supported-versions and the
user-facing version pins (cargo install, ghcr image tags, REPL banners).
Historical 'since 0.4.7' notes left intact.

Ships the gold-standard hardening from #89: full RBAC lattice enforcement
(behavior-preserving), resource-limit errors surfaced to remote clients,
automated post-publish durability gate, MSRV build job, scoped cargo-audit,
crash-only panic documentation, dead-code removal.

Verified: build/clippy/fmt clean, full workspace tests 41 suites 0 failures,
backward-compat (v0.4.7-created DB + auth.json open cleanly on 0.4.8, both
directions), smoke-release ALL-PASS.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@zvndev zvndev merged commit aa6b564 into main Jun 14, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant