Skip to content

Releases: wgtechlabs/config-engine

v0.1.0

10 Feb 10:41

Choose a tag to compare

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 accessconfig.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-engine or bring your own
  • Change eventsonDidChange for specific keys, onDidAnyChange for the entire store
  • Bun-first, Node.js compatiblebun:sqlite natively, better-sqlite3 fallback on Node.js

Full Changelog: https://github.com/wgtechlabs/config-engine/commits/v0.1.0