Beta 0.38.0
Roundtrip-safe data import and export
BlitzGraph data exports now produce query-shaped units that can be imported with minimal drift, including cross-subspace references and stable arc wiring.
- Imports support multiple subspaces in one payload. Root and nested create items can carry
$subspace, matching normal mutation defaults while keeping$idreferences scoped correctly. - Export output mirrors query output more closely. Link fields and role fields can both appear in exported units so the data shape stays familiar to query consumers.
- Import errors are more precise. Duplicate
$id, non-create$op, id conflicts, and missing kind context now return structured error codes for SDK and MCP callers.
- Roundtrip imports preserve exported relationships without requiring callers to hand-author
$varaliases. - Import ignores exported
$iidvalues instead of trying to preserve internal ULIDs.
- Data import is create-only.
/data/importaccepts missing$opor$op: "create"and rejects update-style import items. - Export no longer emits mutation-only fields. Exported units omit
$op,$var, and$iid; import treats$idas the roundtrip reference key for rebuilding arcs inside the imported payload.