# Changelog

All notable changes follow semantic versioning.

## 2.0.0 - 2026-07-17

- Renamed the public library to **Zudux-State** and the npm package/import path to **`zudux-state`**.
- Added `ZuduxStateFault`; retained `ZudFault` and `ZuduxFault` as deprecated compatibility aliases.
- Replaced full-state command cloning with an original revocable copy-on-write patch engine.
- Added inverse-patch history, optimistic speculation, idempotency, deadlines, dynamic commands/modules, and safe post-commit isolation.
- Added smart selectors, automatic dependency tracking, indexed entity registries, signals, transient channels, and notification lanes.
- Added an inspector protocol, integrity diagnostics, tamper-evident audit hashes, and deterministic test infrastructure.
- Added complete persistence hydration controls, checksums, validation, partial state, and merge support.
- Added resource caching with deduplication, retries, invalidation, optimistic updates, streaming, and SSR hydration.
- Added structured workflows, task scheduling, circuit breaking, policy rules, runtime schemas, and source generation.
- Added event-sourced domains, coordinated multi-domain work, and offline replica synchronization.
- Added React domain scopes and resource hooks.

## 1.0.0 - 2026-07-17

- Introduced the original Zudux-State domain and command engine.
- Added serialized commands and multi-command atomic transactions.
- Added policies, invariants, abort support, and rollback guarantees.
- Added selector subscriptions, derived views, and React bindings.
- Added audit history, checkpoints, restore, and rewind.
- Added versioned persistence with migrations and custom codecs.
- Added transport-neutral relays and a browser channel adapter.
- Added telemetry modules and audit redaction.
- Shipped with zero core runtime dependencies.
