Releases: wgtechlabs/config-engine
Releases · wgtechlabs/config-engine
v0.1.0
Configs should be easy.
Fast, Bun-first configuration SDK for AI agent frameworks, CLI apps, and applications — backed by SQLite with in-memory caching, Zod validation, and optional encryption.
Highlights
- SQLite-backed persistence — ACID transactions, WAL journal mode, multi-process safe
- In-memory cache — zero disk I/O on reads with configurable flush strategies (
immediate,batched,manual) - Zod validation — built-in schema validation plus a pluggable
Validator<T>interface - Dot-notation access —
config.get("ui.sidebar.width")just works - Async migrations — version-based with before/after hooks and transaction rollback on failure
- Optional encryption — AES-256-GCM via
@wgtechlabs/secrets-engineor bring your own - Change events —
onDidChangefor specific keys,onDidAnyChangefor the entire store - Bun-first, Node.js compatible —
bun:sqlitenatively,better-sqlite3fallback on Node.js
Full Changelog: https://github.com/wgtechlabs/config-engine/commits/v0.1.0