Synchronized npm/include/hyle-source/hyle_source.h with canonical include/hyle-source/hyle_source.h (including hyle_source_optimistic_update and hyle_source_optimistic_rollback) and rebuilt with OpenBSD wildcard @depend specifications.
[1.4.2] - 2026-12-02
Added
Mobile Static Libraries (android-lib + ios-lib) (.github/workflows/ci.yml):
Enabled Android (arm64-v8a, x86_64) and iOS (arm64 device/simulator + libhyle-source.xcframework.zip) static library packaging and publishing (3bcf33a, 3c462d3).
Mobile UTF-8 Slugify Fallback:
Added mobile UTF-8 slugify fallback when iconv is unavailable (6fad0ec).
Replaced json-c with libstele's stl_json across public headers, JSON record/overlay serialization, pkg-config files, npm package metadata, and CI dependencies (6bc5b8a).
Layer-0 libstele/mk Migration & Portable Make Modernization (Makefile, Doxyfile):
Declared WASM_GLOBAL_BASE directly in Makefile, migrated to include ttypt/include.mk via Make search paths, dropped legacy ../mk fallback, adopted CFLAGS-LIB/CFLAGS-BIN, and eliminated duplicate $(shell)/!= forks (76da45f, 96343f9, b7ff2e1, 4729ee6, bd15864, 8eb9797, d63b5ae).
Upgraded @tty-pt/stele (>=1.7.0 / ^1.7.0) and @tty-pt/corm (>=2.4.0 / ^2.4.0) dependencies, and rebuilt hyle-source.wasm with the single-allocator --wrap shim.
Windows (winget / MinGW-w64) Support & Packaging (src/store_fs.c, src/source_utils.c, src/store_tok.c, src/json.c, Makefile, .github/workflows/ci.yml):
Added portable _WIN32 shims (mkdir, lstat, fsync/_commit, O_NOFOLLOW, strndup, uid fallback) and -liconv / -lstele link flags for MinGW-w64.
Added winget to publish_to so libhyle-source publishes across all 7 OS targets (deb, apk, rpm, pacman, brew, openbsd, winget) and ships win32-x64 Node-API prebuilds.
[1.4.0] - 2026-11-13
Changed
Require @tty-pt/corm>=2.3.1 (peer) / ^2.3.1 (dev), aligned with the published substrate.
Added
Search Weight Propagation (src/engine.c):
Mapped search_weight from hyle_source_field_t to hyle_field_t for dataset definitions.
NPM Package @tty-pt/hyle-source (npm/):
Published dual native Node-API (hyle_source_node.node) and WebAssembly (hyle-source.wasm) package.
Added TypeScript declarations in npm/dist/index.d.ts and comprehensive test suite in npm/tests/hyle_source.test.mjs.
Added cache layer with optimistic updates and rollback hooks in src/cache.c and include/hyle-source/hyle_source.h.
Fixed
Eliminate static node:path import for browser bundling.
[1.3.1]
Universal Substrate Migration: Migrated core platform dependencies from legacy libqsys to libstele (-lstele).
Binary Token Store Driver (store_tok) & data.tok:
Added store_tok persistence driver supporting direct binary .tok record containers and companion data.tok tables.
Shipped hyle-tok CLI tool for inspecting, migrating, and dumping binary token streams.
Integrated subword tokenization with liblemma's lossless tokenizer.
[1.1.0]
Lemma Full-Text Search Integration: Updated persistence engine to link and consume liblemma instead of libstoma.
Build & CI Hardening: Updated Makefile and CI workflows to use updated ecosystem dependencies.
[1.0.0]
First stable release โ the standalone persistence engine for Hyle datasets: dataset definition and registration, record validation, CRUD through pluggable storage drivers, full-text querying, ordered DSV collections, metadata JSON, and JSON state overlays for SSR/WASM hydration. Storage mechanics stay separate from the schemas/query machinery in libhyle.
Dataset definitions: hyle_source_def_t (id, key_field, items_path, fields, access policy PUBLIC/LOGIN, list view, storage driver); hyle_source_register_def wires a def into the Hyle registry (fields + row maps + FTS), hyle_source_setup bootstraps a full dataset in one call.
Pluggable storage drivers: hyle_source_store_ops_t โ five operations (scan, load, put, put_field, del). Ship with hyle_source_store_fs (per-item directories) and hyle_source_store_mem (volatile test stub); register_def injects the FS driver by default, or the in-memory one under HYLE_SOURCE_FLAG_VOLATILE.
Validation: hyle_source_validate_row enforces required fields, int min/max, min_length/max_length, and regex pattern rules, returning a JSON error list (HYLE_SOURCE_ERR_VALIDATION).
Query & full-text search: hyle_source_query_dataset โ substring search across id + text fields, per-field filters, sort, pagination, with a __total__ entry.
Metadata & state overlays: hyle_source_meta_read/_meta_write (var/ JSON), hyle_source_build_state_json/_build_state_specs/_build_item_json, and hyle_source_state_overlay/_overlay_from_desc/_overlay_array folding C structs into JSON state (same stride contract as the Bud bridge).
Item lifecycle & access helpers: hyle_source_item_exists, hyle_source_is_creatable (enforces the def's PUBLIC/LOGIN access policy), hyle_source_refresh_row (reload a row from its storage driver), hyle_source_for_each_referencing/_inv_key_at iteration over inverse refs, and the hyle_source_def_to_corm/_def_to_meta_fields/_def_to_source_fields def โ store mapping helpers.
Forms & files: hyle_source_parse_row_data_custom with hyle_field_getter_fn/hyle_multi_field_getter_fn callbacks; hyle_source_is_safe_id, _slurp_file, _write_file, _remove_path_recursive, _resolve_doc_root.
Picker DTO ownership: canonical home of the picker presentation types (hyle_option_t, hyle_picker_desc_t, hyle_picker_entry_t, hyle_picker_view_t, hyle_picker_buffer_t) in <hyle-source/picker.h>.
Dependencies: libhyle, libcorm, liblemma (FTS), json-c โ no framework, no network, no UI.