Skip to content

v0.4.0-beta — settlement journal, totally-ordered egress, market data at the edge

Pre-release
Pre-release

Choose a tag to compare

@emrebulutlar emrebulutlar released this 22 Jul 11:00
71c353c

Second beta of the Open Exchange stack (match + oms + admin-gateway + trading-ui + assets — the
Assets Engine joins the coordinated version with this release). The theme: money you can replay,
egress you can order, market data anyone can watch.

Highlights

  • Settlement journal: a lossless, replayable per-node record of every trade and terminal
    event, carrying the OMS order ids (the money key), with watermark-gated retention and
    flush-error discard counters (#120, #121, #122, #123, #143, #135).
  • Totally-ordered egress (SBE v5 → v7): egressSeq puts a log-position order key on trade
    and status egress; engine reject reasons ride the status egress; TradesBatch carries the taker
    side and per-user status broadcast is gone (#74, #110, #119).
  • Order book you can trust: a single monotonic version chain across snapshots and deltas;
    chain-broken deltas are dropped and the book flagged stale instead of drifting; periodic
    resnapshot bounds gateway staleness; stale-snapshot guard at leader switchover (#71, #105,
    #108, #112, #114, #116).
  • Matching correctness: post-only honored on LIMIT_MAKER amends; taker terminates at the
    match cap instead of resting a crossed remainder; quantity<=0 rejected at admission; requote
    no longer exhausts the 64-slot/level cap (tombstone compaction) (#101, #103, #104, #106).
  • Market data at the edge: publish once, serve every viewer from Cloudflare — edge fan-out
    relay with liveness, gapped-replay and cold-start hardening; market.openexch.io live
    (#84, #85, #86, #99, #111).
  • Durable time series: market data lands in TimescaleDB; torn-OHLCV race on the live candle
    fixed (#72, #90, #107).
  • Consensus-path hygiene: hot-path logger.warn allocation guard; replication channels
    honor the configured term length; journal archive sync-level fix (#102, #118, #124, #127).
  • Observability: per-session egress observability on the ME leader; chain-break diagnostics
    at default log level; Grafana edge/demo alerts (#87, #114, #144).
  • Deps: Aeron 1.52.2, Agrona 2.5.0, SBE 1.39.0, netty 4.2.16.
  • Security: ships with netty 4.2.16.Final, closing CVE-2026-44891 (HIGH) (#131).

Full details in CHANGELOG.md. Beta / prerelease: no external security audit yet; not recommended for production deployments holding real funds.