Skip to content

DataCraft v0.1.0

Choose a tag to compare

@RealRauch RealRauch released this 10 Nov 20:11
· 467 commits to main since this release

DataCraft is a clean-room, pure-Rust reimplementation of the classic Microsoft Access workflow: a desktop shell (eframe/egui), a headless command bus, a JSON-RPC/MCP endpoint and a CLI — all speaking the same command vocabulary. It reads Jet3/Jet4 .mdb, ACE .accdb, SQLite databases and CSV directories, and writes verified Jet4/ACE and SQLite table/row paths. No COM, no OLE DB, no winapi, no async runtime; macros and VBA are inventoried, extracted and statically analyzed — never executed.

Downloads

Archive Platform
datacraft-0.1.0-x86_64-pc-windows-msvc.zip Windows (x64)
datacraft-0.1.0-aarch64-apple-darwin.tar.gz macOS (Apple Silicon)
datacraft-0.1.0-x86_64-unknown-linux-gnu.tar.gz Linux (x64)

Each archive carries the binaries, the shipped sample databases and the third-party notices. Verify with:

sha256sum --check checksums-sha256.txt

Every artifact was built and smoked per platform by release.yml (Jet fixture open, samples demo, CSV directory — from the extracted archive) before the checksums were generated.

What's in 0.1.0

Added

  • core: DriverCapabilities::none() — the conservative declaration a minimal
    driver starts from; StoragePort::driver_id/::capabilities are required
    trait methods now (M22).
  • core: Support, PortError and Command are #[non_exhaustive] — adding
    vocabulary variants no longer breaks out-of-tree drivers and clients (M22).
  • release: tag-triggered release.yml — Windows/macOS/Linux archives with
    binaries, samples and third-party notices, per-artifact smoke (Jet fixture,
    samples demo, CSV directory), sha256 checksums, draft GitHub release
    reviewed by a human before publication (M13, steps 26.1–26.2).
  • jet/sqlite: writes across every capable source — ACCDB update/delete/alter/
    drop with byte preservation (25); design-time schema editing, index creation
    and relationship/foreign-key creation (32).
  • core: native saved-query execution over the fenced Access dialect (27);
    encrypted Save-As and password change (27); CreateDatabase and
    CreateDatabaseFromTemplate with the shipped sample registry and sidecar
    auto-load (29); undo/redo history and recent databases (28).
  • core/ui: the driver model — declarative capabilities, registry and
    core-computed affordances with localized disabled reasons — proven
    out-of-tree by the CSV directory driver; registered drivers are visible in
    the snapshot (30/36).
  • ui: datasheet workflow — keyboard record navigation, horizontal scrolling
    with frozen columns, row deletion, in-place cell editing (40); first-class
    column filters with a status chip and the filter dialog in a window (44/45);
    record navigation reads the cursor the arrows write and the new-record row
    stays above the status bar (48).
  • ui: designer affordances — relationship create/delete, expression window,
    VBA static-analysis viewer, report grouping picker (41); runtime control
    rects on the designer canvas (46); the contextual ribbon tab follows object
    activation (47).
  • ui: visual overhaul — original iconography, backstage restyle, native file
    and message dialogs, window chrome polish (38); honest failure surfacing for
    corrupted date pictures, SQL dialect divergence and unsupported QBE
    criteria (39).
  • jet: page-0 tail emit/maintenance on the create path — DataCraft-created
    files open in real Access; the recover_mdb example re-encodes
    engine-refused files (49).
  • jet: Access co-existence — a sibling Access lock file (.ldb/.laccdb)
    opens the database read-only, names the lock file in the snapshot (CLI/
    MCP data), the status bar and the Info page, and answers a precise
    refusal on every write; DataCraft never creates or deletes lock files
    (53).
  • core/ui: the Import File flow — an external CSV file becomes a table in
    the open Jet4/SQLite database over one bus chain (ImportFile: parse,
    L7-inferred column kinds, create + row inserts over the ordinary write
    path, capability-gated); the window previews fields and leading rows and
    the source file stays byte-identical (58).
  • core/ui: every dispatch failure carries a stable machine-readable code
    from the new FailureCode vocabulary alongside the English reason
    (wire-additive; capability refusals map onto the affordance vocabulary);
    the UI localizes known codes and keeps the English text otherwise (62).

Changed

  • workspace: datacraft-storage split into datacraft-jet (clean-room
    pure-Rust Jet/ACE backend) and datacraft-sqlite (rusqlite backend);
    datacraft-storage remains as the driver composite (detection + samples)
    (step 31.2, M19).
  • core: rusqlite is optional behind the default-on sql-engine feature;
    SqlResult/Source moved to datacraft_core::sql_types — the state and
    wire vocabulary stay C-free, and datacraft-jet builds without rusqlite
    (step 31.2).
  • mcp: the headless stdio JSON-RPC endpoint is the standalone
    datacraft-mcp binary crate (step 31.3).
  • core: journal batches gate on the declared atomic_batch capability (33);
    design-time schema edits and QBE projection respect the capability gates
    and the schema whitelist (42); CSV drivers infer column types beyond text
    (36).
  • jet: a crafted tri-state Boolean NULL write answers a precise boundary
    message naming column, consequence and alternative, while SQLite keeps
    tri-state NULL — the cross-driver difference is deliberate and documented
    (36).
  • jet: the retired Northwind fixture is replaced by a self-created,
    hash-pinned inventory (37).

Fixed

  • jet: Jet3 fixture test renamed away from the retired engine-boundary name
    (step 31.1).
  • ui: ribbon group stretch and the status-bar panel overlap (44); the
    datasheet's trailing panels — including the new-record row — stay above the
    footer (48); record-arrow reading order (45); the close-database affordance
    and the contextual design view (44).

Licensed under MIT OR Apache-2.0. The repository carries the full documentation: architecture, Jet/ACE format notes, testing strategy and the compatibility roadmap.