Repository navigation
Releases
DataCraft v0.2.2
Release note: 0.2.1 was published incompletely —
datacraft-mcpcould not
build against the registry tarball because the PDF font lived outside the
datacraft-corepackage. The 0.2.1 versions are yanked; use 0.2.2.
Fixed
- core: the PDF export font now travels inside the
datacraft-corecrate
(assets/fonts/with its OFL text), so a consumer enabling the
pdf-exportfeature builds from the published tarball; the dependent
datacraft-mcprelease resolves again.
Added
- core/sqlite/ui/cli/mcp: SQLite SQL pushdown (98, M129) — the SQL window
now executes statements natively on a SQLite source: full dialect
(window functions, CTEs), real indexes, native views, typed results and
EXPLAIN QUERY PLAN. The port keeps it read-only through the engine's
own statement flag, so every write form (includingWITH … DELETEand
PRAGMA writes) answers a precise capability refusal; Jet/ACE/CSV stay
on the shadow engine unchanged. The snapshot names the dialect and the
SQL window shows it plus a Query plan toggle that renders SQLite's
plan in the result grid; CLI and MCP dispatch the same command. - core/ui/cli/mcp: PDF report export (97, M128) — a report's print
preview exports to a new PDF file as its second render target: one PDF
page per preview page, the report's own page geometry, text kept as
text through an embedded Type0 Inter font with a ToUnicode map, and
byte-identical re-export (fixed metadata, stable object order). The
pure-Rust writer sits behind the optional corepdf-exportfeature
(the shipped clients enable it), the preview toolbar gains an Export
PDF… button with the save dialog and a completion notice, and CLI/MCP
dispatch the same command. An existing target is refused; the source
database and sidecar stay untouched. - xlsx/core/ui/cli/mcp: Excel workbooks as read-only sources (96, M127) —
a newdatacraft-xlsxdriver (calamine, core-only dependency) opens
.xlsx,.xlsm,.xlsand.xlsbas a database of sheets: the first
row names the columns, kinds are inferred conservatively and every cell
maps onto the domain values (empty → Null, formulas → their cached
value, macros never read); all four families deliver identical kinds
and values. The composite registry now carries multiple out-of-tree
fallbacks, the snapshot disables every write affordance with the
localized reason, and the datasheet renders the sheets like tables.
Import File accepts Excel workbooks through a core-owned reader seam
(preview and the ordinary create/insert chain). ODF and
password-protected workbooks refuse precisely; fixtures are built by
the newtools/xlsx-fixtures/build.ps1and pinned. - jet/ace/core/ui/cli/mcp: maintenance — health facts and Compact (95,
M126) — every Jet/ACE open now carries page-0 facts (version, page
size/count, byte size, code page, encryption, password) and a bounded
page-type scan whose damage findings fill the snapshot'shealth
without blocking the open;CompactDatabaserewrites the open Jet4/ACE
database from the embedded engine-written template, restores rows with
their AutoNumber identities and user relationships, verifies the fresh
file against the source, swaps it atomically at the same path and
refreshes the session (identical input → identical bytes; real Access
opens both the compacted.mdband.accdb). The Info page renders
the facts and a capability-gated Compact button with a localized reason
and a completion notice; CLI and MCP dispatch the same command. Jet3,
password-protected, Office-encrypted and Access-locked sessions refuse
precisely; SQLite/CSV declare the capability as unavailable. Also fixes
the detecting composite dropping the session's file facts, view/index/
trigger/native-object inventory, relationship groups and the native
view path (F15). - ui: the dock rollout and the details Type column (93, M125/L64) —
the Relationships mapper and the Expression window dock through the
pane host like the SQL window (dock right/bottom or float, per-surface
geometry in ui.json, the workspace never overlaps a docked pane, the
pane header localizes its title), and the Object Details list renders
each row's localized kind as a trailing Type column while keeping the
nav sort, the search narrowing and the multi-select semantics. - ui: the open-items sweep (92, M99/M108/L48/L51) — platform-chord
keyboard shortcuts (⌘S/⌘W/⌘Z/⌘⇧Z on macOS, Ctrl+S/W/Z/Y elsewhere,
with the help page and tooltips rendering ⌘ through one
platform-aware formatter), the docked task-pane host piloted by the
SQL window (dock right/bottom with resizable bounds or float, per-
surface geometry in ui.json, the workspace never overlaps a docked
pane), a navigation-pane search across categories, multi-select with
Ctrl/Shift clicks and a selection-aware context menu, the flat Object
Details view beside the category tree with local groups and palette
colours persisted per database, and the low-power/RDP rendering mode
(an Options tri-state over the detection; zero animations, no blurred
shadows, ~30 fps interaction repaints, idle repaint at zero). - cli/core/ui: version reporting across all three clients (91, M109) —
the CLI answers--version/-Vwithdatacraft-cli <version>on
stdout (exit 0, before any database work, flag position irrelevant),
the JSON-RPC transport gains the additiveversionmethod answering
name and version, and the backstage Info page shows the row above the
database facts — with and without an open database. One shared source
(datacraft_core::VERSION, the lockstep workspace version); the label
is localized, the value stays locale-neutral. - ui/core: the import surface is honest about wrong-surface files
(91, M111/M112/L53) — a Jet/ACE or SQLite file chosen in the Import
File window answers a format-naming rejection naming the right surface
("open it via File → Open") instead of a decoder byte error or a
silently imported garbage table (Jet bytes decode as text); the
open-file pickers filter to their surfaces' extensions (text import:
csv/txt/tsv, database open: mdb/accdb/sqlite/sqlite3/db, localized
"Supported files"); composed import errors carry the source path
exactly once; every path field names the chosen file prominently with
the full path on hover. - ui/core: shell chrome keeps every action reachable at narrow widths
(88, M98/L45/L49) - ribbon groups collapse whole trailing groups behind
one localized overflow control when the row runs out of width (the fit
math lives in core, the menu stacks the hidden groups' own buttons so
dispatch, disabled states and tooltips stay identical; no command
leaves the window silently), the tab strip scrolls horizontally and
scrolls the selected tab back into view on every activation, and the
tab context menu gains Close Tabs to the Left/Right as bus commands
(CloseTabsToLeft/CloseTabsToRightover the wire, activation moves
to the anchor only when it was on the closed side); activating an
already-open object re-activates its tab, now matched case-insensitively,
and never touches a tab with a staged batch; a headless glyph-coverage
contract walks both catalog languages and hostile names against the
shipped font stack (T11). - ui/core: datasheet selection, clipboard, fill and the cell value viewer
(86, M101/M102) - a multi-cell selection model (anchor rectangle,
Shift+arrows/Shift+click extension, whole-column selection through the
header, Ctrl+A; the selection survives scroll untouched and clamps into a
smaller row set after sort/filter changes); Ctrl+C copies the selection as
spreadsheet-compatible TSV and Ctrl+V validates the pasted matrix's fit and
every value before any cell changes, then writes through the tab's normal
path (the H61 batch on an atomic-batch driver, direct row writes
otherwise); Ctrl+D fills the selection from its top row and Del over an
extended selection clears the cells to NULL - both as one command and one
undo step; Shift+F2, Alt+click and the cell context menu open a value
viewer (JSON indents only when it parses, binary values show a bounded hex
view naming the truncation) whose multiline editor writes editable long
text through the same path. - ui/core: datasheet foreign-key navigation and the structured filter
builder (87, M103/M104) - a key cell's context menu and F4 follow the
declared key (composite constraints stay paired over the port's
constraint groupings), the inferred<table>_idreference or the
reverse referenced-by target: the target opens or activates with the
row's key values as exact-equality filters whose encoding the real
criteria parser validates, empty keys and unencodable values answer
precisely, and drivers without relationship support hide the
affordance; the datasheet's trailing row carries Back/Forward over the
per-tab navigation stacks (a closed source reopens with its stored
filter, a source with pending edits only activates); the reverse menu
entries carry capped referenced-by counts (window-capped separate
reads, the truncation named, counts cleared with the tab); the Filter
Builder window edits a per-tab draft that serializes onto the existing
criteria map through the core model (OR groups and duplicate columns
fence precisely), the text mode stays the raw-criteria escape hatch
including the bare wildcard's implicit Like.
Changed
- ui/core: the datasheet sort order is total (91, M113) — NULLs sort
first ascending and last descending (the Access convention), mixed
families follow the documentedFieldValuedeclaration-order rank,
non-finite floats tier after their family's comparable values, and a
renamed-away sort field clears its state instead of claiming an order
the rows do not follow; the semantics are documented in FEATURES and
a COMPATIBILITY matrix row. - ui: the L47 design-review fix sweep (91...
DataCraft v0.2.0
Added
- ui/core: the empty-shell landing and the two-step New-database flow (75,
L41–L43) — a cold start and the close of the last database land on the File
backstage; the workspace returns with the next open, and the Back row still
reaches the ribbon. The New page asks what to create first (blank or a
shipped template) and where second, keeping the choice across Back. A blank
database chooses its family explicitly — Jet4 (.mdb, the default) or
SQLite — throughCreateDatabase; a path whose known extension contradicts
the chosen format answers a preciseInvalidInputbefore the port, for GUI,
CLI and MCP alike. - types/expr/query/core: the crate-family split (76, L36–L37) — three new
published cratesdatacraft-types,datacraft-expranddatacraft-query
now carry the value/schema vocabulary, the expression engine and the
query layer beneathdatacraft-core, which re-exports every existing path
(datacraft_core::{schema, expr, qbe, query_engine, native_exec, sql_types}and the native-query port vocabulary) unchanged. The shadow
SQL engine's rusqlite dependency moved behinddatacraft-query's
sql-enginefeature. - import: the Access migration tool (78, M88) —
datacraft-importreads
native Jet4/ACE.mdb/.accdbform/report designs through the pinned
pure-Rustjetdbcrate, without Microsoft Access, and merges the supported
subset (label, text box, check box, combo box, command button, subform)
into the.datacraftsidecar. The database is never written; unsupported
controls and properties are reported per object and--strictexits 1 on
them. Access 97 form/report designs stay unsupported; combo row sources
and controls whose geometry Access stored only as a default are first-cut
limitations (reported, never guessed).
Changed
- core: the
sql-enginefeature is off by default and forwards to
datacraft-query/sql-engine(76, L37). Consumers that relied on the
default build forRunSqlmust enable the feature explicitly; a
default-feature core is now C-free (no rusqlite in its graph). This is a
breaking change, hence the minor version.
DataCraft v0.1.3
Added
- sqlite/ui: SQLite depth stage 0 (73, M90–M92) — a foreign
.sqlitefile
now shows what it contains and reports its state honestly. The file's own
views open as read-only objects (nav-pane Views group, datasheet, SQL
path; sidecar designs keep the writable authority), indexes and triggers
get a read-only inventory in the table design view, and the Info page
lists the driver facts (sqlite_version, page size, journal mode,
encoding,user_version, busy timeout,STRICT/WITHOUT ROWIDtables)
plus a boundedquick_checkverdict — a damaged file opens with a precise
warning notice instead of a late, unrelated query error. The open sets an
explicit 5000 msbusy_timeoutso short writer contention is waited out;
a WAL session reports its mode;WITHOUT ROWIDrow windows follow the
declared primary key and rowid writes answer a preciseUnsupported.
Added
- core/jet/ui: native Access object inventory (74, M87) — the navigation
pane lists the catalog's native forms and reports read-only (names and
counts from theMSysObjectsobject types, a precise "definitions are
not decoded" hint, no tab and no write path). The companion feasibility
study (M89) established theMSysAccessStoragecontainer and the
blob/TypeInfostring layer against the committed SaveAsText exports,
but the numeric property-id table has no public source; the verdict is a
documented stop, recorded indocs/FORMAT-JET.md.
DataCraft v0.1.2
Added
- ui: the feedback & honesty sweep (ROADMAP §16 stage 0) — Ctrl+Z/Ctrl+Y
reach the shipped undo/redo commands (an empty history stays a no-op), every
ribbon/QAT/backstage control carries a localized tooltip from one
spec-complete registry, the status bar keeps a bounded clickable message
history (newest-first dialog with Clear), F1 opens the localized shortcuts
page, and whole-file commands (open, create-from-template, save-a-copy)
queue behind a painted busy overlay instead of freezing an unannounced
window (68).
Added
- core/ui/sqlite: sidecar views (71) — a named SELECT stored in the
.datacraftsidecar, opened as a read-only result tab with an editor;
Jet/ACE/CSV execute it through the shadow SQL engine, while SQLite applies
it natively (CREATE VIEW/DROP VIEW) and rolls the sidecar change back
on a native failure. Trigger designs are decided in ROADMAP §19 but
deferred.
Changed
- ui: the M42 live-review pass (69) — the relationship mapper lists user
relationships only (Access'sMSys*system rows are filtered at load and
can no longer be deleted), the Relationships/SQL/Expression toggles paint
their open state, an open returns to Home while a create activates the new
document, a question-mark help glyph sits in the ribbon tab row, the status
filter chip lists and removes individual filters, datasheet headers show
their filter and sort state, and every tool window opens centered.
Fixed
- core/ui: the second M42 review round (70) — bare wildcard filters on text
columns (*a*) match through the Access matcher instead of comparing the
literal, the message history stores messages semantically and follows a
live language switch, and the tool windows carry an accent frame with
stronger controls and legible secondary text in both palettes.
Added
- core/jet/sqlite/ui: object renaming (72) — one additive
RenameObjectbus
command renames tables, queries, forms and reports from the navigation
pane's context menu or F2. Tables rename physically (Jet/ACE: the catalog
row plus everyMSysRelationshipsobject column; SQLite:ALTER TABLE … RENAME), while open tabs, datasheet view state, form filters and the
sidecar's structural references follow the new name. Collisions and
invalid names answer precisely; stored view SQL text stays verbatim;
SQLite refuses case-only renames with a precise reason; CSV reports its
capability boundary. The vocabulary is wire-additive (Command/Event
arenon_exhaustive), so the CLI and MCP clients dispatch the command
unchanged.
DataCraft v0.1.1
Added
- core/ui/cli: server-source readiness —
OpenDatabasecarries an additive
SourceSpec {Path, Uri}:file://URIs open exactly like their path
equivalent through every client (backstage Open entry, CLI argument, raw
wire and the MCP endpoint), the snapshot reports the session's source with
a single core-side display form (Info page row), the file-bound
.datacraftsidecar rule is pinned, and every other scheme answers the
precise no-server-driver boundary naming the scheme and ADR-7 — no server
driver ships yet; the ADR-7 extension note lands with the first driver's
planning (65). - ui/core: the form runtime edits bound records the Access way — text boxes stage per record (exactly one
UpdateRowwhen the record is left, Esc reverts the field then the record, theRequired/AllowZeroLengthzero-length rule), checkboxes toggle two-state, combos list every row of a table/query row source (duplicates included) and accept free text, command buttons dispatch one action (open form/report, run query, apply filter) and form-scoped WHERE filters narrow the record set without touching the datasheet (64). - ui/core: the designers edit the selected control's content — the one
property each kind carries (label text, button caption, bound source
field or embedded form) with precise validation;SetFormControlContent
/SetReportControlContentare ordinary bus commands and the
runtime/preview re-renders from the refreshed snapshot (63).
DataCraft v0.1.0
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/::capabilitiesare required
trait methods now (M22). - core:
Support,PortErrorandCommandare#[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; therecover_mdbexample 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 newFailureCodevocabulary 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-storagesplit intodatacraft-jet(clean-room
pure-Rust Jet/ACE backend) anddatacraft-sqlite(rusqlite backend);
datacraft-storageremains as the driver composite (detection + samples)
(step 31.2, M19). - core:
rusqliteis optional behind the default-onsql-enginefeature;
SqlResult/Sourcemoved todatacraft_core::sql_types— the state and
wire vocabulary stay C-free, anddatacraft-jetbuilds without rusqlite
(step 31.2). - mcp: the headless stdio JSON-RPC endpoint is the standalone
datacraft-mcpbinary 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.