Skip to content

v0.7.0

Choose a tag to compare

@hamicek hamicek released this 21 Aug 23:43
· 87 commits to main since this release

Highlights

  • Embedded leaf spoke ([nats.leaf]) — an embedded bus can now join a hub as a NATS leaf node straight from the manifest. A new [nats.leaf] section (remote / site / domain / credentials) binds the node into its own NATS account with its own JetStream domain, so a site deploys as a single binary instead of "aether + a hand-written NATS server config". Only the spoke side is ergonomized; the hub stays operator-authored (mode = "external", bring-your-own). Isolation and supervision fall out of what is exported: only the data plane (aether.<app>.>) crosses the leaf, while the supervision subjects aether._lord.> are never exported and stay node-local by construction. Runnable demo in examples/nats-leaf/. Closes the gap noted in the multi-node spike that an embedded server could not be a leaf.

Notes

  • No breaking changes. ether.Start is now variadic (WithApp); existing callers are unaffected, and the wire contract is unchanged.
  • Fail-fast manifest validation for the new section (mode enum, embedded-only, required fields, reserved account name, credential shape).

Full changelog: v0.6.0...v0.7.0