Skip to content

v0.2.0-pre.12 — multi-vault federation + fiscal primitives

Pre-release
Pre-release

Choose a tag to compare

@vLannaAi vLannaAi released this 08 Jun 03:19
fe4f3ac

Lockstep release of all 66 @noy-db/* packages at 0.2.0-pre.12 (npm @next).

Multi-vault federation (epic #271): db.openVaultGroup() transparent shard routing, cross-vault live queries + distributed central-reduce aggregate (ShardedQuery.live()/.aggregate()), key-custody-neutral fan-out with no-grant skip reason and optional Reducer.merge. Federation ships as a lazy chunk — out of the core bundle until used.

Fiscal-grade primitives (m17):

  • money() — currency-safe exact decimal (BigInt, digit-string storage, ISO-4217 scales, 7 rounding modes); money errors now extend NoydbError.
  • Computed scalar fields (computed: {}) — schema-owned derived values, materialized & aggregatable.
  • immutableGuard — declarative WORM / append-only collections.
  • Blob retention, legal-hold & cold-storage record archival (withArchive).
  • Atomic gap-free sequences (vault.sequence().next()) for invoice/DDT numbering.

Full per-feature notes in packages/hub/CHANGELOG.md.